FTP Library Package 1.2 for Tcl/Tk Manual Pages

COMMAND
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.

EXAMPLE
# 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