?
Solved

FTP to FTP copy script?? PHP

Posted on 2008-10-14
2
Medium Priority
?
605 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
Sander Stad earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
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.
The viewer will learn how to count occurrences of each item in an array.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

770 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