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
Solved

FTP to FTP copy script?? PHP

Posted on 2008-10-14
2
598 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Obtaining data on ASP 8 28
PHP Soap Server returning XML but < & > as &lt; / &gt; 9 45
Do alert on select 6 13
Bootstrap 3 - Style a dropdown 1 10
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.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remaiā€¦
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

809 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