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.

Reply via email to