Hi
I am using Net::FTP to ftp a file as follows :
$ftp-NET::FTP->new($server);
$ftp->login($name,$pwd);
$ftp->cwd( ".."
$ftp->ascii();
$ftp->put($dataFile,$localFileName);
printf"%s\n",$ftp->message;
$ftp->quit;
When I open the file that has been transferred it is truncated and is always missing the last 4-5 lines.
Is there something else I am missing ??
Any idea why my file is being truncated???
I appreciate any suggestions..
Thanks
I am using Net::FTP to ftp a file as follows :
$ftp-NET::FTP->new($server);
$ftp->login($name,$pwd);
$ftp->cwd( ".."
$ftp->ascii();
$ftp->put($dataFile,$localFileName);
printf"%s\n",$ftp->message;
$ftp->quit;
When I open the file that has been transferred it is truncated and is always missing the last 4-5 lines.
Is there something else I am missing ??
Any idea why my file is being truncated???
I appreciate any suggestions..
Thanks