How to get files and folders from a remote server using FTP?

Let's make a quick start by looking at the various commands to get files and folders from a remote server. Huh 

Method 1:
wget -m -nH --user='username' --password='user_password' ftp: //IP address/

Method 2:
1. ftp
2. open ftp: //ftp.domain_name.com 
3. enter username and password
4. ls -la 
5. get filename or mget *     ( Note: This works only with files and not folders)

Method 3:
wget --user=username --password='user_password' ftp: //url/path/file.name

Method 4: 
wget -r --user=username --password='user_password' ftp: //ftp.domain_name.com/*

Was this answer helpful?

 Print this Article

Also Read

How to install FFMPEG CentOS?

ffmpeg is the most popular opensource video streaming software and its being used on many...

Basic exim commands

1. REMOVE MAILS BY ID - /usr/sbin/exim -v -Mrm (MAIL ID HERE) 2. LIST QUEUED MAILS -...

How to install phpMyAdmin with Apache on a CentOS 7 server?

phpMyAdmin used to provide graphical user interface for your databases. Accessing or performing...

How to perform the Linux Sever Hardening?

1. Check the hostname is setup or not - hostname 2. Check the IP address is assigned to hostname...

How to install latest version of git on CentOS release 6.8 (Final)?

Install latest version of git on CentOS release 6.8 - Step 1. Install Dependencies - yum install...

Powered by WHMCompleteSolution