[Zope] File truncation after FTP
Ed Leafe
ed at leafe.com
Tue Mar 2 19:38:01 EST 2004
On Mar 2, 2004, at 5:42 PM, John Poltorak wrote:
> When I upload a file via FTP it gets shortened. Can anyone suggest why?
>
> The correct number of bytes is sent as far as FTP is concerned, but
> when I
> run 'ls' after the transfer the filesize is reduced.
>
> Is this to be expected or have I messed something up?
Sounds like you are sending a binary file in ASCII mode. That will
truncate it at the first EOF character it comes across.
___/
/
__/
/
____/
Ed Leafe
Linux Love:
unzip;strip;touch;finger;mount;fsck;more;yes;umount;sleep
More information about the Zope
mailing list