|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
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! Thanks! Iwan |
|
#2
|
|||
|
|||
|
Try PHP4's FTP functions.
|
|
#3
|
|||
|
|||
|
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! Iwan |
|
#4
|
|||
|
|||
|
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.
|
|
#5
|
|||
|
|||
|
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. Andy J. |
![]() |
| Viewing: Dev Shed Forums > Web Hosting > Web Hosting > Backup - a very important thing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|