Solved

How do I use TFTP to transfer files?

Posted on 2004-08-21
5
8,166 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Expert Comment

by:Dennis_Nielsen
ID: 11901566
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
ID: 11901672
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
ID: 11924963
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
ID: 11943548
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
ID: 11946280
Thank you for your help :)

The command was very easy to use :D
0

Featured Post

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

626 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