im kinda new to perl so im probably missing the obvious. the script below seems to work fine, reaches the server, logs in, creats a my.zip on the server but stops before it transfers the data. the file shoud be around 6meg but on the server its 167k
activeperl on a win2k machine >win2kserver
use Net::FTP;
$hostname = 'xxx.xxx.xxx.xxx';
$username = 'bush';
$password = 'thenewgod';
$filermote = 'My.zip';
$filelocl = 'c:\\transfer\\My.zip';
$ftp = Net::FTP->new($hostname);
$ftp->login($username, $password);
$ftp->put($filelocl, $filermote );
$ftp->quit;
does anyone know how to change the mode to binary?
