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 SOAP on CentOS?

Install SOAP on CentOS 1) Fire below command - yum install php-soap Output will be as follow...

Basic exim commands

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

How to install AVG Antivirus scanner on Ubuntu?

AVG free is antivirus which protects from spyware as well malware. It is free to use for private...

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...

How to setup a WordPress website on plain Centos server?

The following steps have been successfully tested on a plain centos server. Now lets start...

Powered by WHMCompleteSolution