in reply to Net::FTP Corrupting zip files

It's simply $ftp->binary according to the docs:
type (TYPE [, ARGS]) This method will send the TYPE command to the remote FTP server to change the type of data transfer. The return value is the previous value. ascii ([ARGS]) binary([ARGS]) ebcdic([ARGS]) byte([ARGS]) Synonyms for "type" with the first arguments set cor- rectly

CU
Robartes-

Replies are listed 'Best First'.
Re: Re: Net::FTP Corrupting zip files
by CodeJunkie (Monk) on Mar 24, 2003 at 11:01 UTC
    cheers mate that's got it sorted! ;-) I'm pretty new to Perl and although I did look at the docs I guess I didn't understand them! Thanks.