codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  trying get the attributes of a file on the internet  marlboroguy58 at 09:03 on Thursday, January 18, 2007
 

for example, i m trying to find the last modified time for the file rio.txt thats on codetoad (just an example) in the following script... but it gives me the epoch time..
wats wrong? wat am i suppose to do to correct it.

#! perl -w
$FilePath = 'http://www.codetoad.com/forum/rio.txt';

my @attribs = (stat ($FilePath) );
$mtime1=$attribs[9];
print $mtime1;
print "Last change:\t" . localtime($mtime1) . "\n";

  Re: trying get the attributes of a file on the internet  mimir at 16:00 on Saturday, February 24, 2007
 

Check out 9.1.4.
http://www.hermanningjaldsson.com/1/pdg/pdg.html










CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Date script issues
•  perl script help needed
•  onChange issue
•  perl remote execution
•  Chat application
•  How to send multiple perameters in SOAP request.
•  Java code for Insert picture on the table in spreadsheet
•  Re: Problem with concatenation
•  how to genrates the crystal report by sending a id at runtime


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007