FTP Library Package 1.2 for Tcl/Tk Manual Pages

COMMAND
FTP::FileSize  file
 
The FTP::FileSize command gets the file size of the specified file on the ftp server.
ATTENTION! It doesn't work properly in ascci mode and isn't supported by all ftp server implementations.

If the command fails an empty string is returned.

EXAMPLE
# get file size
set old_type [FTP::Type]
FTP::Type binary	
set size [FTP::FileSize index.htm]
FTP::Type $old_type
	

[Contents]  [Previous: FTP::NList]  [Next: FTP::ModTime]


© 1999 Steffen Traeger