![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| script to get file size | s_linux | Shell Programming and Scripting | 25 | 08-26-2008 04:59 AM |
| compare file size from a output file from a script | moustik | Shell Programming and Scripting | 7 | 11-07-2007 10:17 AM |
| Perl FTP - check file size | rahulrathod | Shell Programming and Scripting | 1 | 02-20-2007 10:21 AM |
| file size script | ejbrever | UNIX for Dummies Questions & Answers | 5 | 09-17-2006 11:17 AM |
| Get file size in c shell script? | Dado | Shell Programming and Scripting | 6 | 09-26-2005 05:48 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
FTP Perl Script File Size Mismatch.
Hello,
I've written a Perl script that copies a set of files from one server to another. Prior to transferring a file the script gets the file size from the source system and compares this to the file size received in the target system. Except that the file sizes are slightly different. Although I don't issue a binary command, I am fairly sure the transfer is made binary because I am testing with a compressed copy of the 'ls' executable, which runs fine on the target system. A manual transfer using FTP at the command line shows no difference in the file sizes and all my tests are the same. This only happened when run against my live systems and files. Apart from the difference between binary and ASCII transfer, has anyone any ideas why the file sizes would be slightly different? Thanks. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|