Solved

How do I use TFTP to transfer files?

Posted on 2004-08-21
5
8,031 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 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

14 Experts available now in Live!

Get 1:1 Help Now