in reply to Truncated upload using Net:ftp

Are you using binmode() at all? That may be part of the problem.

Update: Did you try using Debug as derby suggested? If so, what were the errors? Also, there is a note that mentions if you use ASCII transfers - NOTE: The size reported is the size of the stored file on the remote server. If the file is subsequently transfered from the server in ASCII mode and the remote server and local machine have different ideas about ``End Of Line'' then the size of file on the local machine after transfer may be different. I'm not sure if that would affect it or not.

Replies are listed 'Best First'.
Re: Re: Truncated upload using Net:ftp
by sz (Friar) on Aug 29, 2001 at 00:17 UTC
    LD2,

    I'm afraid not. Your suggestion did lead me to make sure that the upload was done in ASCII mode with
    $ftp->ascii();
    but that did not help. The upload stops at the exact same spot.

    Back to the drawing board...