1
HFS ~ HTTP File Server / mtime
« on: August 25, 2015, 02:21:13 PM »
Hi!
thank you for your work with HFS! i've set it up with password protection.
i can GET the files just fine, but i need to test the modification time of the file but i get an error whenever i try to call filemtime() from our own servers.
i'm calling it like this:
any reason to fail? I've read through the menus, the FAQ and wiki, but i couldn't find any option related to this. Thank you for any help!
thank you for your work with HFS! i've set it up with password protection.
i can GET the files just fine, but i need to test the modification time of the file but i get an error whenever i try to call filemtime() from our own servers.
Code: [Select]
PHP Warning: filemtime(): stat failed for ... i'm calling it like this:
Code: [Select]
$srv_file = "http://$user:$password@[domain.com/file]";
//$srv_hash = md5_file($srv_file); // works
$srv_mtime = filemtime($srv_file); //doesn't work
any reason to fail? I've read through the menus, the FAQ and wiki, but i couldn't find any option related to this. Thank you for any help!