develooper Front page | perl.libnet | Postings from October 2001

Net::FTP truncating at 4096-yte boundaries

Thread Next
From:
Jackie
Date:
October 17, 2001 03:35
Subject:
Net::FTP truncating at 4096-yte boundaries
Message ID:
102139462157.20011017062931@Syllables.com
Net::FTP (libnet 1.06) running within Win32(Win98) Perl 5.005_03 is
truncating files at the last even multiple of 4096 bytes.
Code is straight forward:
$ftp = Net::FTP->new("xxx.org");
    $ftp->login("xxx","yyy");
    $ftp->cwd("/home/virtual/xxx/home/httpd/html/proof");
    $ftp->put("e:/xxx/access/development/file.htm");
    $ftp->quit;

Destination is Linux running proftpd. /var/log/xferlog shows the transfers
as multiples of 4096.

Would appreciate any tips.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About