Hello
I want to use Ubuntu command line ftp access through terminal. but I need help with the command. such as deleting folder together with its sub directories and renaming files or folders .
Thanks
Hello
I want to use Ubuntu command line ftp access through terminal. but I need help with the command. such as deleting folder together with its sub directories and renaming files or folders .
Thanks
Here is the commands that allow you to browse, download and send data using this protocol.
help -> Allows you to know all the commands supported by the server.
status -> Provides information on the client.
type -> Displays the current transfer mode (ascii or binary).
ls -> List the files in the current directory.
pwd -> Displays the name of the current directory.
cd -> Change the current directory.
cd .. -> back to top directory.
mkdir -> Create a directory.
Ubuntu command which will help you
rmdir -> Deletes a directory.
put -> Allows you to send a file in the current directory.
mputer -> Allows you to send multiple files in the current directory.
get -> Allows you to download a file.
mget -> Allows you to download multiple files.
quit -> Disconnect.
Try it like this:
ftp> !ls -d !(*.*)
Another way:
ftp> !bash
bash> ls -d !(*.*)
file1 file2 file3 dir1 dir2
bash> exit
ftp>
Configure FTP server
The FTP server configuration is done by editing / etc / vsftpd.conf
To edit this file, enter: gksu gedit / etc / vsftpd.conf
Prohibit anonymous FTP
Change the line:
nonymous_enable = YES
in:
NO = anonymous_enable
allows local users to connect : local_enable = YES
This will allow users reported in Ubuntu use the same login / password to access the FTP server.
Bookmarks