develooper Front page | perl.libnet | Postings from May 2004

FTP->Binary

Thread Next
From:
isaac_koenig
Date:
May 18, 2004 03:02
Subject:
FTP->Binary
Message ID:
20040517181548.11570.qmail@onion.perl.org
I am trying to get my program to switch to Binary mode. I know the command
is ftp->binary();, however, it does not work. By chance, i got the program
to work only when i have the following lines of code inserted:
$bin=$ftp->binary or die "Can not change the Type to Binary\n";
$bin=$ftp->binary;

If I take out any of those lines it transfers in Ascii mode. Why?

Thanks
Isaac


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About