Solved

How do I use TFTP to transfer files?

Posted on 2004-08-21
5
8,002 Views
Last Modified: 2008-03-10
Hi all..

I have a few cPanel accounts.. all with SSH access..

I wanted to backup, something, and make it upload to another account on the server..

Now I want to restore that backup... but it's currently on another account.. so I'm trying to use TFTP to make it put it back into the account.. possible or not? :\

I went into SSH (on the account I wanted the backup to be restored on) and...

Typed in tftp
Then it showed up a tftp>
I then typed in connect ihost.net.nz (ihost.net.nz being my website)
Now I want to transfer the file which is my root directory ( / ) not in public_html or anything back into the account...
How do I do this?  What are the commands? I've googled tftp lots and i dont seem to find a solution to what I am trying to achieve :(

Your help would be greatly appreciated :)

Cheers
0
Comment
Question by:AnsonM
5 Comments
 

Expert Comment

by:Dennis_Nielsen
Comment Utility
Hi AnsonM.
Are you using a windows-based client???
If you are, try this program: winscp
It is a program that looks, and works like win-commander.

You can download it from:
http://winscp.sourceforge.net/eng/

 --Dennis
0
 
LVL 2

Author Comment

by:AnsonM
Comment Utility
Hi :)

That is close to what I wanted..

1.  I run windows on MY computer..
2. Server runs Linux
3. I want to make it so that I can move files, like winscp from one remote server to another.. so I dont need to keep downloading then uploading again and again..

Thanks for your help :)

-Anson
0
 
LVL 5

Assisted Solution

by:rsriprac
rsriprac earned 125 total points
Comment Utility
TFTP will not really work, it is used as a basic, non-autentication trivial FTP (hance the 'T' in TFTP), and it is often used to transfer to like Cisco rotuers and such.

Consider this:

1. In your Win machine, SSH into your first server machine, login
2. On the first machine use the 'scp' command to copy from you second server, i.e. backup machine.

This will transfer file from server2 -> server1.  Read the man page if you do not know the syntax for SCP by doing command 'man scp' once you SSH'ed into server1.  Or here: http://linux.about.com/library/cmd/blcmdl1_scp.htm

-Ram
0
 
LVL 1

Accepted Solution

by:
kshahk earned 125 total points
Comment Utility
you can use PUTTY http://www.chiark.greenend.org.uk/~sgtatham/putty/ to do this after you download use following command

scp user@remotserver:/path_to_the_file /path_to_local_file

this will copy remote file to local file.
0
 
LVL 2

Author Comment

by:AnsonM
Comment Utility
Thank you for your help :)

The command was very easy to use :D
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

16 Experts available now in Live!

Get 1:1 Help Now