Copying files from local server to remote server?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
OMA
Forum Newbie
Posts: 7
Joined: Wed Jun 11, 2008 10:25 am

Copying files from local server to remote server?

Post by OMA »

Hello all.

I'm trying to copy a group of images programatically from a local XAMPP PHP server running in Ubuntu Linux to a remote web host (a GNU/Linux server hosting provider). How could I go about this? I've read about cURL, but that's only for reading. How do I write the files to the remote server?

Thanks for your help!
Yossarian
Forum Contributor
Posts: 101
Joined: Fri Jun 30, 2006 4:43 am

Re: Copying files from local server to remote server?

Post by Yossarian »

I use wget quite a bit to pull stuff onto my server (triggered with Cron etc) so can only imagine that wput does the opposite, sticks it somewhere.

wput at sourceforge
Post Reply