Solved

FTP Connect Error PORT Command Failed Failed to retrieve directory

Posted on 2016-10-25
4
11 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Let’s list some of the technologies that enable smooth teleworking. 
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now