rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - pedrocarvalho

Pages: 1
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.

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!

Pages: 1