Danny620 Posted January 28, 2011 Share Posted January 28, 2011 Hi i have a few sites all with the same html and file struture what i want to be able to do is make a script that connects to one of my servers downloads a zip file with new updates to old html documents then unzip it and the users server and replace all exsiting data with new zip content. bit like user->clicks->update->downloads via aother server->unzips->replace old files with new ones i am think of using curl to download the files but i would not have a clue where to start with this one btw the zip files is around 2.3mb Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted January 29, 2011 Share Posted January 29, 2011 i would use ftp instead of curl. Quote Link to comment Share on other sites More sharing options...
Danny620 Posted January 29, 2011 Author Share Posted January 29, 2011 you got any tuts on that? Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted January 29, 2011 Share Posted January 29, 2011 http://www.google.com/search?client=safari&rls=en&q=php+ftp+tutorial&ie=UTF-8&oe=UTF-8 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.