Real Question:
I have a potential bug/implementation request for Net::FTP, as it is a
base module should this be sent directly to Graham Barr or is there a
better place to send it?

Background Questions:
Out of curiousity does anyone know of discussions had about Net::FTP as
it relates to the STOU command specifically?  The issue is that when
calling the 'put_unique' method if the remote server does not implement
the protocol properly (aka it does not return a remote file name) then
'put_unique' returns 'undef' (false) eventhough the file may have been
transferred successfully.

Naturally my request would be that it either set an artifical true but
with a warning, or return undef after not being able to find a remote
file name but before actually transferring the file.

Or am I just off my rocker and not reading the source properly?  The
culprit is in Net/FTP.pm line 720.  In the case of STOR and APPE the
remote filename is set, in the case of STOU it should be set in the
session transcript from the remote host, and in the case that it can't
be scraped from there it is set to an undefined value, then once the
preceedings are closed $remote is returned which is still undef,
eventhough the file has been transferred.

I also realize that the FTP implementation on the remote side is not RFC
compliant (damn legacy mainframes), but I would think Net::FTP should
work around that, even if just to complain that it is not compliant and
fail miserably rather than returning a false negative.

Gurus, thoughts?

http://danconia.org

--
Boycott the Sugar Bowl! You couldn't pay me to watch that game.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to