On Thursday 22 Jul 2010 13:44:46 Sooraj S wrote:
> Hi,
> 
> I am using Net::SSH::Perl, Net::FTP to loginto remote machines...
> I want to 'scp' some files in my local system to the remote machine
> remote_1. After that, from the remote_1 i want to upload those files
> to an FTP server, remote_2. I can access remote_2 only through
> remote1. Please guide me on this..

You can invoke a command-line FTP client (or a Perl command line) on remote_1 
to upload the files to remote_2. Net::SSH::Perl will allow you to do that by 
running a command on remtoe_1.

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Optimising Code for Speed - http://shlom.in/optimise

God considered inflicting XSLT as the tenth plague of Egypt, but then
decided against it because he thought it would be too evil.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to