I'm using Ubuntu Software Center 2.0.7, and I would like to copy a file from this machine over FTP. Can you please help me how to do it?
I know in Windows I just open a Windows Explorer window and type ftp.www.mysite.com. Then it will ask for the user name and password.
I would like to do the same in my Ubuntu Linux, but I don't know how.
Best Answer
The easiest way to do this would be to open a terminal and use wget:
You need to replace "path/to/file/ with the path of the file you want to download. That is, the address where the file is found on the disk. So, to get a file called file.txt that is in sub directory foo of directory bar, you would write:
If your ftp server requires a username and password:
Replacing "username" and "password" with your actual username and password. Do not include the
$
in any of these commands.From the wget man page:
You can also use ftp from the command line:
Enter your user name and password, then use
put
to upload the file:For example:
Do not include the
ftp>
in your command. That just indicates theftp
prompt.Finally, you either use a normal browser (eg firefox) or install a graphical ftp client. My personal favorite is gftp:
Oh, and you are not using Ubuntu Software Center 2.0.7. That is just Ubuntu's software management app.
Note on terminology
When a terminal command is given, the symbol
$
is used to indicate that it is a terminal command. See here for a discussion. It is not part of the actuall command. So, to tell you to run the command ls, I would write$ ls
. You, however, should only typels
, without the$
.