Graham Barr has supplied me with a patch to Net::FTP.

This nows uses a default block size of 10240 internally for PUTs; it already
supported BlockSize for GETs.

Both Net::FTP and ftp: via LWP now work properly, as the problem is avoided.

It may still be worth trying to fix syswrite() so that it sends as nuch as
it can, but it could be tricky to ensure that only appropriate writes are
truncated. As Graham points out, if the same code is used for sending UDP
packets, then these should not be truncated; the attempt should fail.

-- 
Sebastian Bazley <[EMAIL PROTECTED]>
The opinions expressed herein are my own, and are not necessarily endorsed
by my employer ...


___________________________________________________________________________
This email is confidential and intended solely for the use of the 
individual to whom it is addressed. Any views or opinions presented are 
solely those of the author and do not necessarily represent those of 
Sema Group. 
If you are not the intended recipient, be advised that you have received this
email in error and that any use, dissemination, forwarding, printing, or 
copying of this email is strictly prohibited.

If you have received this email in error please notify the Sema Group
Helpdesk by telephone on +44 (0) 121 627 5600.
___________________________________________________________________________

Reply via email to