Graham Barr wrote:


On 18 May 2004, at 11:12, Terrence Brannon wrote:

PerlDiscuss - Perl Newsgroups and mailing lists wrote:

I am trying to get my program to switch to Binary mode. I know the command
is ftp->binary();, however, it does not work.


where in the Net::FTP docs does it say that? I don't think you will find it.


I think you will.

oh, what I was referring to was his lack of a dollar sign in front of "ftp" ---




You can set the default server transfer type when you create $ftp also... perldoc Net::FTP for more details:

$net = Net::FTP->new($host, { Type => 'I' } ); #for example, untested


Wow, thats new to me :-)

oops, Net::FTP::Common allows that. I am very rusty at Perl programming. my bad.


--
mathematics: the science of quantity, shape, and arrangement
computersci: the science of information description and transformation
liberalarts: essential study for adequate education and civic participation.




Reply via email to