in reply to Re: How to share records between ftp servers?
in thread How to share records between ftp servers?

Questions: My cgi program is on one ftp server and I want to copy a file to a ftp remote server programmatically. I have the IP address of the remote server, will I need the path to the folder I want to copy the file to?
  • Comment on Re^2: How to share records between ftp servers?

Replies are listed 'Best First'.
Re^3: How to share records between ftp servers?
by samizdat (Vicar) on Oct 10, 2005 at 20:30 UTC
    Yes, you will want to change the cd line in mystartfile and change the machine line to reflect your IP address. You will also want to change the mget line to put myfile. If you want more flexibility than this, please read man ftp.