http://www.perlmonks.org?node_id=863295


in reply to Net::FTPSSL on Win32 not working as advertised

Just trying to send an encrypted file via FTP SSL

Is that the same as "SFTP" ? If so, Net::SSH2 will do the job - available via ppm:
ppm install http://theoryx5.uwinnipeg.ca/ppms/Net-SSH2.ppd
I couldn't get anywhere with Net::FTPSSL trying to connect to an OpenSSH server on a local linux box using the script you provided (having modified the values appropriately) - though the same task is trivial with Net::SSH2.
Perhaps I simply didn't try hard enough.

Use of uninitialized value in subroutine entry at blib\lib\Net\SSLeay.pm

That message doesn't make a lot of sense to me. After a module has been correctly installed there should be no need to go looking at anything in "blib" ... let alone that the module being looked at in blib is not even Net::FTPSSL. This smells strongly of a "botched install".

In addition, that "Run time error" you posted looks to me to be merely a warning (not an error at all) ... yet the script you posted doesn't even "use warnings;", so I'm not sure how that warning comes about. Are you sure that "myfile" didn't get uploaded ?

Cheers,
Rob