January 19th, 2001, 07:06 AM
I hope someone can help me out with this.
Right now I am configuring a webserver (RH 6.2 / Apache) and I've written some backup-scripts for this host.
The problem is this :
After the backup is finished I want to send the files to another host, probably using ftp.
I know there is a command to do this in one command, if anyone could help me out, that would be great!
January 21st, 2001, 01:09 AM
Try PHP4's FTP functions.
January 21st, 2001, 05:28 AM
Well, the rest of the script is a basic shell script, and I like to keep it that way.
I know there is a command to this, but I still haven't found it.
Thanks for the advise!
January 21st, 2001, 07:48 PM
Looked Up FTP?
I believe it is similar to "FTP". I think that would work. Can really recall what I used. I just made a program in PHP/C++ for my back up stuff.
January 22nd, 2001, 05:19 AM
Have a go at FTPing manully from the shell to get the exact synatx. Try:
FTP OPEN ......this will prompt for user and thenb password.
HELP will give you the commands that are available.