Solved

FTP to FTP copy script?? PHP

Posted on 2008-10-14
2
597 Views
Last Modified: 2012-05-05
Hello, I'm trying to figure out how I should go about making a FTP to FTP copy script in PHP. Basicly what I need it to do is copy some files from one server to another server. I am not sure how to go about this however.  Does anyone have any suggestions/examples/help that they could provide me?

I tried doing a google search, but ftp to ftp scripts don't seem to come up, or I'm just a horrible googler.
0
Comment
Question by:Valleriani
2 Comments
 
LVL 9

Accepted Solution

by:
Sander Stad earned 500 total points
ID: 22709321
FTP works on such a way that one of the servers is going to function as the client. Here is a website that could help you create the connection: http://davidwalsh.name/send-files-ftp-php
 
0
 
LVL 6

Expert Comment

by:James Looney
ID: 22730506
I would recommend rsync or psync. Do you have either of those installed on your machines? I use them for backing up files from one server to another all the time
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now