FTP Library Package 1.2 for Tcl/Tk Manual Pages

FTP::ModTime  file
The FTP::ModTime command gets the last modification time of the file on the ftp server as a system dependent integer value in seconds (see tcl's clock command) or an empty string in error cases.

# get modification time
puts [clock format [FTP::ModTime index.htm]]

set year [clock format [FTP::ModTime index.htm] -format %y]

[Contents]  [Previous: FTP::FileSize]  [Next: FTP::Delete]

© 1999 Steffen Traeger