PDA

View Full Version : Which is the SFTP command for getting the size of a file



rahesh
09-19-2008, 06:17 AM
Hi all

Anybody knows the SFTP command similar to the command "SIZE" in FTP

Thanks....

Regards
Rahesh

shadmego
09-19-2008, 07:42 AM
From https://www.ccs.uky.edu/machines/sftp.html



How to use sftp?

sftp is similar to ftp: sftp username@ip_address at which point it will prompt you for your password. Then you receive an sftp prompt.For then on you use the same commands as in an ftp session, i.e. dir,get,put, etc.Note that the commands bin, ascii, prompt are not used in sftp.Also, the transfer of multiple files with "mget" and "mput" is not supported. If you want to transfer many files,use the "tar" command to produce a single archive for sftp.If you need a reminder which commands are available type "help" at the sftp> prompt.


~regards, and welcome to the community