Using mon administrator account, I FTP connected to mon IIS 7.5 FTP Site avec FileZilla. J'étais able to successfully upload a file, mais I keep getting a "Failed to retrieve directory listing" in response.
In passive mode, le command, response et error are:
```
Command: LIST
Response: 150 Opening BINARY mode data connection.
Response: 550 The network connection was aborted by the local system.
Error: Failed to retrieve directory listing
```
In active mode, le command, response et error are:
```
Command: PORT 192,168,1,129,102,151
Response: 501 Server cannot accept argument.
Error: Failed to retrieve directory listing
```
What have I done wrong?
Comment résoudre l'erreur FTP « Failed to retrieve directory listing » pour le compte Administrateur dans IIS 7.5
Re: Comment résoudre l'erreur FTP « Failed to retrieve directory listing » pour le compte Administrateur dans IIS 7.5
I had this issue as well, et it was related to le data ports being selected by IIS. I set it up to use a spécifique port range mais quand mon client tried to use passive mode it showed that it was using le wrong port.
[This article](http://www.serv-u.com/respcode.asp?resp=227) describes le method for calculating qui port it is using. e.g.
```
227 Entering Passive Mode (x1,x2,x3,x4,y1,y2)
```
The IP it would be using is x1.x2.x3.x4 et port (y1*256) + y2. J'étais seeing le wrong values for y1 et y2 so **I had to restart "Microsoft FTP Service"** to actually get it to recognize le values I had set in le FTP Firewall Settings in IIS.
[This article](http://www.serv-u.com/respcode.asp?resp=227) describes le method for calculating qui port it is using. e.g.
```
227 Entering Passive Mode (x1,x2,x3,x4,y1,y2)
```
The IP it would be using is x1.x2.x3.x4 et port (y1*256) + y2. J'étais seeing le wrong values for y1 et y2 so **I had to restart "Microsoft FTP Service"** to actually get it to recognize le values I had set in le FTP Firewall Settings in IIS.