Hi
Please try to ftp a single file. One more as per the
Net::SFTP we need to give the complete path along with the
file name that has to be created.
Uploads a file $local from the local host to the remote host, and saves it as $remote.
Try this way
$file="/flow/flow/tmp.txt";
$remote_path="/home/roime/tmp.txt";
$sftp->put("$file", "$remote_path") or die "...problem!...";
Thanks
Sasi kumar