in reply to Re^2: ftping a file from a remote server to another remote server
in thread ftping a file from a remote server to another remote server
Your approach is faulty:
$newftp->put($ftp->get("/export/home/xx/debugtrans.pl"))
You can't do a "put" of a "get". Two steps are required. You need to connect to B, download (get) the file onto machine A (your machine). Then connect to C and upload (put) the file.
Start with one step at a time. First get the download of the file from machine B to machine A working. Then try connecting and uploading to C.
Read the documentation carefully about "where" the file will go..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: ftping a file from a remote server to another remote server
by shivamem (Initiate) on Jul 20, 2011 at 08:41 UTC | |
by ww (Archbishop) on Jul 20, 2011 at 10:19 UTC | |
by Marshall (Canon) on Jul 20, 2011 at 18:22 UTC |