Loading...
Help keep this site alive, take a look at one of our sponsors

Welcome to TheBestTrek, thank you for visiting the site, to see everying and to participate in discussions Register, its free, quick and easy to do plus, you get all the benefits.
Pages: [1]   Go Down
Print
Author Topic: [TUTORIAL] Server to Server file transfers- Made simple!  (Read 337 times)
0 Members and 1 Guest are viewing this topic.
heartoftarg
Ensign
*

Karma: 18
Offline Offline

Posts: 22


« on: August 07, 2007, 05:43:36 PM »

Transferring files from one server to another without downloading and re-uploading

There are two main methods of doing this, wget and cURL.

WGET

You Need:

-A server with TELNET access
-Windows XP
-A direct link to a file.

How To:

1. Go to Start>Run in XP and type in "Telnet", without quotes.
2. login to your server, usually with the command o http://www.server.com, where http://www.server.com is the name of your server.
3. type wget
http://file.com/file.avi, where the URL is the url of the file you wish to transfer.

wait.

and you're done! it should transfer the file into the root directory of your server.

CURL

You Need:

- a web server with SSH access and cURL installed
- a direct link to a file
- PuTTY or similar ssh program

How To:


1. login to your server via SSH
2. type curl -o output.avi
http://file.com/file.avi , where output.avi is the output name of the file and the URL is the URL of the file you wish to transfer.

and you're done. it should transfer the file into the root directory of your server.
Logged

anyone got a SciFiEpz invite? pm me please!
Prepare to die
Exeron
Teh Bug Catcher
Fleet Admiral
Commander
*****

Karma: 43
Offline Offline

Posts: 1365



WWW
« Reply #1 on: August 07, 2007, 07:01:15 PM »

WGET also works under linux
Logged
heartoftarg
Ensign
*

Karma: 18
Offline Offline

Posts: 22


« Reply #2 on: August 07, 2007, 07:53:46 PM »

perhaps this should be moved to the tutorials section- i didnt notice it at first so posted it here.
Logged

anyone got a SciFiEpz invite? pm me please!
Prepare to die
Pages: [1]   Go Up
Print
Jump to: