in reply to Re: Re: Re: Re: Net::ftp - copy of file in cgi-bin
in thread Net::ftp - copy of file in cgi-bin
As far as the FTP object is concerned, there is no path to the file. When you execute the cwd, you set the relative path for the object. I found some interesting stuff in the docs and placed in my previous post.
On another note: If you have moved the script to the backup server, you should only need one ftp instance and then one get statement per file. If the script is on the production machine, you still only need one ftp instance and one put statement per file.