in reply to Unable to complete download with Net::FTP

Check return code for each step.

  • Comment on Re: Unable to complete download with Net::FTP

Replies are listed 'Best First'.
Re: Re: Unable to complete download with Net::FTP
by Itatsumaki (Friar) on Nov 28, 2003 at 22:04 UTC

    I thought binmode was a property of a file-handle, and for ftp I figured the line:

    $ftp->type('binary');

    was doing that? Where/what should I binmode? Also, if I look at the downloaded file (e.g. type LL_tmpl.gz) it is definitely binary, not ascii.

Re: Unable to complete download with Net::FTP
by b10m (Vicar) on Nov 28, 2003 at 22:19 UTC
    Boy, do I hate when people change their posts without specifying what the update is ... wasn't your original post "use binmode"? Nothing more nothing less? Why did you change it?

    Update: If you didn't change it, Itatsumaki's comment would actually make sense ...

    --
    B10m