Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP File Size Check

Status
Not open for further replies.

aahan

Programmer
Mar 28, 2002
15
US
Hi,

I am interested in comparing the file sizes on the source server and the destination server, however the bytes size does not match exactly.

I have the bytes size from ls -l from the source server. Now after performing the FTP I am asking for the size command in FTP , however the file size differs. Physically the file size is different on the destination server , than what is displayed by the FTP size command.

Is there some parameter for synching it up ?

Thanks
 
I believe I would use the QUOTE SITE syntax within ftp to run the same command on the remote machine. I am assuming that the servers are similar.

From memory:
ftp>quote site ls -l

Might be SITE QUOTE, I forget. If you are using binary mode you really should not have to worry about this. IBM Certified -- AIX 4.3 Obfuscation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top