How to get modificationdate of a file on Internet?

Stephen Barncard stephenREVOLUTION2 at barncard.com
Mon Jan 7 17:00:50 EST 2008


If you have FTP access to the server that hosts the file, you can get 
listing information using Rev commands.

http:// will give you some information if the server allows. Apache 
can list a folder like this

http://website.com/unsecuredfolder/

will show a nice formatted listing like this

  Parent Directory        30-Nov-2007 15:07      - 
  01_navicatOutNoNulls..> 30-Nov-2007 15:07    43k 
  02_getSQLDumpStock.png  30-Nov-2007 15:07    45k 
  03_sqbHack.png          30-Nov-2007 15:07    42k 
  04_libdb getSQLDump.png 30-Nov-2007 15:26    59k 
  05_sReportNULL.png      30-Nov-2007 15:26    38k 
  06_sReportNULL2.png     30-Nov-2007 15:26    65k 

from which one can extract info. But you are at the mercy of the web 
designer and the server for that information. If he doesn't want a 
folder exposed, you are out of luck for examining the contents at the 
file level. If the folder has an index.html file inside or is httpd 
protected, you will get a blank page or an error page as a result in 
a browser or in Rev. And if it's not an Apache server, the listing 
might look different.

Also many pages are PHP and what you get is not what's in the original file.



>Hello list,
>
>I want to get the modification date of a file on Internet, say for 
>instance "www.richard-hillen.de/gkz_status.txt"
>
>How can I do that?
>
>Thank you,
>Richard.

-- 


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -





More information about the use-livecode mailing list