#!/usr/local/bin/perl use strict; use warnings; use Net::SFTP; my $host = '127.0.0.1'; my %args = ( user => 'vetri', password => 'vetri', debug => '1'); my $sftp = Net::SFTP->new( $host, %args ); $sftp->put('/place/to/start/at', '/place/to/put/file-to-put); exit;
I hope this helps:-)
In reply to Re: Net::SFTP in perl
by Khen1950fx
in thread Net::SFTP in perl
by vetrivel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |