RedHat & FTP

Rubicone

Senior member
Jan 11, 2001
520
0
0
Does RH 7.2 come with a graphical FTP program? If so, where exactly is it when using KDE? If not, what is command syntax of uploading a file to a Linux server using FTP? In the case of the latter would you provide an example in addition to the syntax of the command? TIA.

 

nihil

Golden Member
Feb 13, 2002
1,479
0
0
you can always use the command line ftp. man ftp will tell you everything that you need to know. ;)
 

Rubicone

Senior member
Jan 11, 2001
520
0
0
Can someone provide an example for my benefit since reading the man pages is not very user friendly? I would also like to know how to do this when in text mode using the command line only, if possible.

Would the following command when in text mode be correct?

ftp <open> <name of server> <put> <filename>

What of specifying the paths of the file in terms of where it is being got and put?

Update: OK I figure it out. Thanks for everyone's help.


 
Mar 14, 2002
54
0
0


<< Can someone provide an example for my benefit since reading the man pages is not very user friendly? I would also like to know how to do this when in text mode using the command line only, if possible. >>



Simple examples:

Downloading a package from kernel.org:

-- begin --

ftp ftp.kernel.org
# enter "anonymous" as username
# enter "here@here.com" as password
ls #list the directories
cd /pub/linux/kernel/v2.4
get linux-2.4.18.tar.gz
# wait for it to download
exit

-- end --

Uploading a package:

-- begin --

ftp ftp.site.com
#enter username
#enter password
put <filename>
exit

-- end --


If you want to tunnel it through ssh (to prevent plaintext passwords/etc), consider SCP:

Copying file from server 1 to server 2 with scp:

-- begin --

server1 # scp localfile.txt username@server2:~/localfile.txt

-- end ---

Lots of ways to do stuff via the commandline ... but, there are graphical clients, if you really want it.