Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

FileZilla FTP issue

Hey Guys,

I'm making my way through the Wordpress track. I have a lot of experience working with Wordpress but have never completed a manual install or worked on Wordpress via FTP before. I am having horrible issues trying to install via FTP on FileZilla...or anywhere for that matter. I get connected but then get the error of "Could not retrieve directory listing". I've searched all over the internet for a solution. I've disabled my firewall. I've tried both active and passive ftp types of installation...nothing works. Looking for some more ideas. I'd love to be able to work on my Wordpress files via FTP. I use Site5 hosting btw and it is connecting...

Copy and pasted multiple attempts below: Disregard the multiple attempt fails. It does happen after trying over and over again so I gave it time and re-attempted. Still no luck.

Status: Resolving address of quirkydress.com Status: Connecting to 50.23.239.98:21... Status: Connection established, waiting for welcome message... Status: Initializing TLS... Status: Verifying certificate... Status: TLS connection established. Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" is your current location Command: TYPE I Response: 200 TYPE is now 8-bit binary Command: PASV Response: 227 Entering Passive Mode (50,23,239,98,255,5) Command: MLSD Error: Directory listing aborted by user Status: Disconnected from server Status: Resolving address of quirkydress.com Status: Connecting to 50.23.239.98:21... Status: Connection established, waiting for welcome message... Status: Initializing TLS... Status: Verifying certificate... Status: TLS connection established. Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" is your current location Command: TYPE I Response: 200 TYPE is now 8-bit binary Command: PORT 192,168,1,44,146,130 Response: 500 I won't open a connection to 192.168.1.44 (only to 71.202.235.128) Error: Failed to retrieve directory listing Status: Disconnected from server Status: Resolving address of quirkydress.com Status: Connecting to 50.23.239.98:21... Status: Connection established, waiting for welcome message... Status: Initializing TLS... Status: Verifying certificate... Status: TLS connection established. Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" is your current location Command: TYPE I Response: 200 TYPE is now 8-bit binary Command: PORT 192,168,1,44,146,132 Response: 500 I won't open a connection to 192.168.1.44 (only to 71.202.235.128) Error: Failed to retrieve directory listing Status: Disconnected from server Status: Resolving address of quirkydress.com Status: Connecting to 50.23.239.98:21... Status: Connection established, waiting for welcome message... Status: Initializing TLS... Status: Verifying certificate... Status: TLS connection established. Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" is your current location Command: TYPE I Response: 200 TYPE is now 8-bit binary Command: PORT 192,168,1,44,146,134 Response: 500 I won't open a connection to 192.168.1.44 (only to 71.202.235.128) Command: PASV Response: 227 Entering Passive Mode (50,23,239,98,98,120) Command: MLSD Error: Connection timed out Error: Failed to retrieve directory listing Status: Resolving address of quirkydress.com Status: Connecting to 50.23.239.98:21... Status: Connection established, waiting for welcome message... Status: Initializing TLS... Status: Verifying certificate... Status: TLS connection established. Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" is your current location Command: TYPE I Response: 200 TYPE is now 8-bit binary Command: PASV Response: 227 Entering Passive Mode (50,23,239,98,172,208) Command: MLSD Error: Directory listing aborted by user Status: Disconnected from server Status: Resolving address of quirkydress.com Status: Connecting to 50.23.239.98:21... Status: Connection established, waiting for welcome message... Response: 421 Too many connections (8) from this IP Error: Could not connect to server Status: Waiting to retry... Error: Connection attempt interrupted by user Status: Delaying connection for 3 seconds due to previously failed connection attempt... Error: Connection attempt interrupted by user Status: Delaying connection for 1 second due to previously failed connection attempt... Status: Resolving address of quirkydress.com Status: Connecting to 50.23.239.98:21... Status: Connection established, waiting for welcome message... Error: Connection attempt interrupted by user Status: Resolving address of quirkydress.com Status: Connecting to 50.23.239.98:21... Status: Connection established, waiting for welcome message... Response: 421 Too many connections (8) from this IP Error: Could not connect to server Status: Waiting to retry... Error: Connection attempt interrupted by user Status: Delaying connection for 5 seconds due to previously failed connection attempt... Error: Connection attempt interrupted by user Status: Delaying connection for 4 seconds due to previously failed connection attempt... Error: Connection attempt interrupted by user Status: Delaying connection for 3 seconds due to previously failed connection attempt... Status: Resolving address of quirkydress.com Status: Connecting to 50.23.239.98:21... Status: Connection established, waiting for welcome message... Response: 421 Too many connections (8) from this IP Error: Could not connect to server Status: Waiting to retry... Status: Resolving address of quirkydress.com Status: Connecting to 50.23.239.98:21... Status: Connection established, waiting for welcome message... Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- Response: 220-You are user number 8 of 50 allowed. Response: 220-Local time is now 02:16. Server port: 21. Response: 220-This is a private system - No anonymous login Response: 220-IPv6 connections are also welcome on this server. Response: 220 You will be disconnected after 15 minutes of inactivity. Command: AUTH TLS Response: 234 AUTH TLS OK. Status: Initializing TLS... Status: Verifying certificate... Status: TLS connection established. Command: USER Tawny@quirkydress.com Response: 331 User Tawny@quirkydress.com OK. Password required Command: PASS ********** Response: 230 OK. Current restricted directory is / Command: OPTS UTF8 ON Response: 200 OK, UTF-8 enabled Command: PBSZ 0 Response: 200 PBSZ=0 Command: PROT P Response: 200 Data protection level set to "private" Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" is your current location Command: TYPE I Response: 200 TYPE is now 8-bit binary Command: PASV Response: 227 Entering Passive Mode (50,23,239,98,138,214) Command: MLSD Error: Connection timed out Error: Failed to retrieve directory listing

Are you using encryption? Have you tried it using plain ftp? In your site manager in FileZilla, under the General tab, check your settings. I use FileZilla with Wordpress and haven't had this type of issue. My settings are - Encryption: Use Plain FTP, Login Type: Normal.

Also, have you already created the root directory on your host, and verified the permissions? It could be that user doesn't have write authority to the folder.

Hope this helps.

1 Answer

use rsync makes your life easier