Solved

FTP to FTP copy script?? PHP

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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 a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

746 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

10 Experts available now in Live!

Get 1:1 Help Now