Home  |  Linux  | Mysql  | PHP  | XML
From:(PerlDiscuss - Perl Newsgroups and mailing lists) Date:Mon May 17 12:15:48 2004
Subject:FTP->Binary
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

Navigate in group perl.libnet at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants