  ftp Library Package 2.1 for Tcl/Tk Manual Pages

  COMMAND
    ftp::ModTime handle 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 $conn index.htm]]

        set year [clock format [ftp::ModTime $conn index.htm] -format %y]

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

© 1999 Steffen Traeger