FTP Ubuntu Transfer Data

PHOTO EMBED

Mon Oct 03 2022 12:01:16 GMT+0000 (UTC)

Saved by @HristoT #c#

# connect to the remote server
# -p -> Uses passive mode for data transfers, allowing you to use FTP despite a firewall that might prevent it.
# -i -> Turns off interactive prompting during multiple file transfers.
ftp -p -i <remote adress>
  
# set local folder where the remote files are going to be downloaded
lcd <folder path>
  
# download the file
get <file path>
  
# download directory
mget <folder path>
  
# download files with extension
mget *.rtf # list other extensions... *.cnf *.lst 


# https://phoenixnap.com/kb/linux-ftp
# cd -> change current folder
# ls /or/ dir -> List the contents of a directory on the remote system.
# pwd -> current directory
content_copyCOPY