?
Solved

FTP error

Posted on 2007-07-24
11
Medium Priority
?
332 Views
Last Modified: 2013-12-02
I have setup an FTP server using IIS and opened the port 21 on my linksys firewall.  the windows firewall is not running.  I cannot connect to the ftp server using the external ip.  whenever i try to connect i get FTP folder error: The FTP session was terminated.  I have tried using the internal ip of the server and managed to connect to it without any issues.  but when i change the IP in IIS to the external IP i cannot connect
0
Comment
Question by:pkenforcer
  • 6
  • 5
11 Comments
 
LVL 31

Expert Comment

by:captain
ID: 19560243
You need to open a control port on your fw too. Best set your Server to PASV mode and use the port range as per your FTPserver documentation. Or you could use PORT and open 20 as well on the firewall.

Hth
0
 

Author Comment

by:pkenforcer
ID: 19562154
Can you please provide some instructions

Thanks in advance
0
 
LVL 31

Expert Comment

by:captain
ID: 19563550
Hi pkenforcer

What make of FTPserver are you using, you will need to follow the instructions for seting up PASV in the documentation, if you let me know what make it is I can help you find these.

Best wishes
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:pkenforcer
ID: 19565009
I am using IIS 6.0
0
 
LVL 31

Expert Comment

by:captain
ID: 19565322
Hi

have a look at KB How To Configure PassivePortRange In IIS:
http://support.microsoft.com/kb/555022/en-us

All the best
0
 

Author Comment

by:pkenforcer
ID: 19567820
Hi,
I have followed the instruction from the KB. Now when i try connection i get an error indicating connection with the server could not be established.  I have opened the necessary ports on the router and have restarted the IIS service.

Help!!
0
 

Author Comment

by:pkenforcer
ID: 19568274
another thing i should mention is that when i try to telnet using the ports i opened (passive ports range) it fails.
0
 

Author Comment

by:pkenforcer
ID: 19568358
when i enabled dmz on my router for the server i started getting the message ftp session was terminated. otherwise i get the connection could not be established error
0
 
LVL 31

Expert Comment

by:captain
ID: 19572579
Hi
I am traveling at the moment so apologies for the delayed replies.

How is the router setup to find the server, you will need to 'tell' the router how to handle the request on port 21, you may have to setup a static route, also if you connect to a PASv server your client needs to be set to PASV too, if you use IE set the PASV option from the IE tools advanced menu.

You may find this link helpful:
http://www.broadbandreports.com/forum/remark,12329921

This explains how to setup the routing for your port range, it may look different depending what router you have though

hth
0
 

Author Comment

by:pkenforcer
ID: 19575461
Hi,

I am now able to get a log on screen so we are almost there, I went ahead and installed guild ftp as recommended in the post you specified.  but i cannot login using the users i created in guild ftp.  
0
 
LVL 31

Accepted Solution

by:
captain earned 1500 total points
ID: 19576856
Hi

Oops only meant to show you the Linksys screen, but as you have Guild up and running, have a look at the directory mapping, there should be a Home, list and recursive setting for the directory per user, this may be the issue.

all the best
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

864 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