Solved

FTP Connect Error PORT Command Failed Failed to retrieve directory

Posted on 2016-10-25
4
88 Views
Last Modified: 2016-11-02
We are using a MS FTP Server with IIS 6.1.  Our client has been running a FTP job weekly just fine for sometime with no connection issues.  Last Thurs they all of a sudden cannot connect.  No changes to the FTP server or Firewall were made to my knowledge.  We have a NAT rule in place to allow ftp and route from the pub address to local server IP and have not had an issue until this past thursday.  Im unsure what has changed but we get a error when trying to connect from outside as any users "PORT Command Failed Failed to retrieve directory"
0
Comment
Question by:Twhite0909
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 41858831
make sure that ftp ports are allowed / accessed : 20 + 21.

Please see below link fore more info on ftp ports:

http://slacksite.com/other/ftp.html
0
 

Author Comment

by:Twhite0909
ID: 41862910
Ports are allowed.  This is not a Firewall issue.  We were running a normal FTP site from IIS 6 with users connecting just fine before.  The only change was when I installed an SSL cert for a new WEBFTP server using IPSwitch's WS_FTP software.  Now WS_FTP and FTP have both been running fine on this one server but when I added the SSL cert I also installed adhoc module and a WEB Transfer module.  Im thinking it messed with IIS settings and screwed up the normal FTP site?  Users get

"503 User cannot login, home directory in accessible"
0
 

Accepted Solution

by:
Twhite0909 earned 0 total points
ID: 41862972
I should say the PORT cmd is gone.  There was a change on the IIS FTP settings where someone had entered in an external address.  we removed that leaving the field blank and one account was able to access FTP but the other 2 were not.  In troubleshooting why users were getting the "directory is in accessible" error I changed the FTP Site FTP User Isolation settings from " isolate Users. restrict Users to the following directory:  User name directory (Disabled global virtual directories)  TO  "DO Not Isolate Users. Start Users in Username directory".  I restarted IIS which it seem to hang at stopping but then stopped after 1 min and started back up.  Users including the one who was working got a "User cannot  log in" error and nothing about directory.  Thinking it was what I changed I changed the isolation settings back and restarted IIS again and now all 3 users get the "Home Directory In accessible" error.
0
 

Author Closing Comment

by:Twhite0909
ID: 41869867
;ksdhgfo;jdfhn;lcnvb'l;cxvfb
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month11 days, 4 hours left to enroll

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question