No such thing as a small change | |
PerlMonks |
Re: Error ftping file with Net::FTPby thanos1983 (Parson) |
on Aug 16, 2017 at 14:55 UTC ( [id://1197506]=note: print w/replies, xml ) | Need Help?? |
Hello Anonymous Monk, Try something like this:
We do not have the full code but I assume my $file = $cgi->param( 'upload' ) || ''; that you are passing an empty string here right? I have alter the code in two points. Observe the () in the subroutine also. I would recommend to use module Net::SFTP::Foreign. Similar question with samples of working code(s) Generate temporary file and FTP upload. Hope this helps, BR.
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Seekers of Perl Wisdom
|
|