good chemistry is complicated,
and a little bit messy -LW
debugging Net::Sftp::Foreign using ssh2by sdetweil (Sexton)
|on Dec 12, 2012 at 12:58 UTC||Need Help??|
sdetweil has asked for the
wisdom of the Perl Monks concerning the following question:
I have an application that runs on multiple platforms (windows, linux, solaris, aix, hpux). and uses SFTP to send files to our host server.
I needed a 64bit windows version, but the underlying libs for SFTP are not ported to 64bit windows (math::Pari, etc)..
so I rewrote the function to use SFTP:Foreign and use SSH2. all works ok so far.. today I received a trouble report, the ftp send fails, leaving a 0 length file on the server.
I am trying to figure out how to debug this..
both use this code to actually send
the 32 SFTP version does
setting SSH2 debug gets me the gory details, but nothing really useful
anyone have any suggestions?