LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-06-2005, 08:03 AM   #1
pspandu
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
How to do file transfer in linux


How to do file transfer in linux?
what are the commands to start ftp?

Thanks
ps
 
Old 05-06-2005, 08:13 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
"start" ftp? client or server? what do you actually want to achieve?

unsuprisingly, the command to start the ftp client is "ftp"
 
Old 05-06-2005, 08:15 AM   #3
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Your question is vague...

but gftp is a nice gui ftp program.
 
Old 05-06-2005, 09:06 AM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
I always liked ncftp. . .
 
Old 05-07-2005, 08:51 AM   #5
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
you do not even need FTP you can just use scp

http://www.siliconvalleyccie.com/lin...ssh-server.htm

check out the linky. i use that every time i need to scp from the house to the office.

in short it is very simple, fast, and secure, thus the s in front of the cp command.

secure copy.
 
Old 05-08-2005, 11:44 PM   #6
pspandu
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the reply. Actually my doubt is ,i want to get file or more than one file from remote machine to local machine.what commands should i use?

as i know 1.telnet remote ip address--to connect to remote machine
frp>get or mget or put --commands to use under ftp

this is one method.

2.what is ssh?
how to get multiple files using ssh,scp commands?
what is the syntax to use these commands?

thanks
ps
 
Old 05-09-2005, 01:10 AM   #7
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
read that link it gives the exact syntax for moving files either to your local system or from the local system.

as for more then one file i suppose the standard wild card of * should work:

direct quote off of that page:

Quote:
Copying Files To The Local Linux Box

If you understand how scp represents remote filenames, you can start copying files fairly easily. For example, to copy file /tmp/software.rpm on the remote machine to the local directory /usr/rpm use the commands



[root@bigboy tmp]# scp root@smallfry:/tmp/software.rpm /usr/rpm

root@smallfry's password:

software.rpm 100% 1011 27.6KB/s 00:00

[root@bigboy tmp]#



To copy the file /tmp/software.rpm on the remote machine to the local directory /usr/rpm using TCP port 435, use the commands



[root@bigboy tmp]# scp -P 435 root@smallfry:/tmp/software.rpm /usr/rpm

root@smallfry's password:

software.rpm 100% 1011 27.6KB/s 00:00

[root@bigboy tmp]#



Copying Files To The Remote Linux Box

Copying files to the local Linux server now becomes intuitive. For examples, to copy file /etc/hosts on the local machine to directory /tmp on the remote server



[root@bigboy tmp]# scp /etc/hosts root@192.168.1.103:/tmp

root@192.168.1.103's password:

hosts 100% 1011 27.6KB/s 00:00

[root@bigboy tmp]#
so should not be all that hard to grab more then 1 file at a time.

Code:
scp root@smallfry:/tmp/*.rpm /usr/rpm
that should grab every file that has the extention .rpm and copy it to your local box from the /tmp/ directory.
 
Old 09-12-2006, 02:09 AM   #8
ngbalaji
LQ Newbie
 
Registered: May 2006
Posts: 2
Blog Entries: 1

Rep: Reputation: 0
Question Facing Problem with SCP

While Copying using scp source files of the linked files also getting copying to that destination.

How to resolve the problem
 
  


Reply

Tags
scp



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to transfer a file between 2 linux boxes DeadPenguin Linux - Newbie 16 06-23-2005 08:55 AM
File Transfer from XP to Linux e11 Linux - Newbie 8 11-06-2004 11:17 AM
file transfer from linux to xp michi56 Linux - Newbie 5 03-07-2004 12:26 PM
MS-word file transfer in linux shibdas Programming 10 09-13-2003 06:32 AM
MS-Word file transfer in Linux shibdas Linux - Networking 1 09-11-2003 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration