How to access web sites through FTP
In most cases we relay the main domain and www subdomain through CloudFlare service. For example if your domain is MyDomain.com that and www.MyDomain.com will be “protected” relayed though the CloudFlare service. Which means if you ping it you will get the CloudFlare’s IP address. Therefore, if you try connecting to those from your FTP client you will not be connecting to your site but instead to an IP address at CloudFlare. This will not work at all!
When we create a DNS zone we always add the FTP A record that maps it directly to your site’s IP address. For example the correct host name for the example domain would be ftp.mydomain.com This will ensure that the CloudFlare service is bypassed and the connection is made directly to the site’s IP address.
Another way to connect is either by the server name (find out from your hosting provider) or directly by IP address of the site. All these are true for when the site is not protected by CloudFlare.
If the domain name is not relayed through CloudFlare service then connection by domain name will work as well as using Option II.