#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 1999
    Location
    California
    Posts
    43
    Rep Power
    15

    Exclamation


    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. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Location
    Seattle Washington
    Posts
    7
    Rep Power
    0
    Try PHP4's FTP functions.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 1999
    Location
    California
    Posts
    43
    Rep Power
    15
    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
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Location
    Seattle Washington
    Posts
    7
    Rep Power
    0

    Lightbulb 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.


  8. #5
  9. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    Colchester, England
    Posts
    131
    Rep Power
    14
    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.

IMN logo majestic logo threadwatch logo seochat tools logo