Re: Problems with binary transfers in Net::FTP
[email protected] Tue, 25 Feb 2003 10:35:33 +0100
| Newsgroups | perl.libnet |
|---|---|
| Message-ID | <3E5B46F5.22113.8983B1@localhost> |
James D. White <[email protected]> wrote: > I use it all the time going from NT to Solaris. > Try "$ftp->binary();". Oooops, sorry... I mean, thank you! It works fine :) I know why I was stuck with the wrong call: when I started using Net::FTP, I tried to use $ftp -> binary just after creating the $ftp object. Since it didn't work, I tried alternative ways to do the same thing, then I realized I was supposed to use it after logging in, but I moved the wrong calls. As far as I understand, the problem was that sending a "TYPE I" to the command connection did not set binary transfer for the data connections as well. I still don't understand why in the logs a binary data connection showed up, but right now I cannot investigate further... I suppose it's not that important, after all. I will also admit that as soon as I saw you message I thought to myself "but I tried it!". Yes I did, but far too long ago... well, thanks again. Francesco.