all groups > iis ftp > may 2007 >
You're in the

iis ftp

group:

FTP operation timed out


FTP operation timed out Claire Huss
5/31/2007 10:05:50 AM
iis ftp:
Hi,

We're trying to connect to an active FTP server from our Windows 2003 server
but just as the file download appears to complete (just a few seconds left
to complete using windows explorer) we receive the error 'operation timed
out'. We're running the Windows Firewall and have allowed port 20 and port
21 but the download only appears to work when the firewall is switched off.
Can someone tell me what ports I need to open?

Thanks,Claire.
Re: FTP operation timed out .._..
5/31/2007 3:02:29 PM
Try switching your FTP client to "Passive mode" first.

"Active mode" uses other ports and relies on additional connections being
made for things like confirmation. So your download is probably working,
but the confirmation part is not due to active mode ports being not open.
(There is little reason to open them, just use the default ports.)

[quoted text, click to view]

Re: FTP operation timed out Bernard Cheah [MVP]
6/1/2007 12:00:00 AM
Try ftp.exe to see if it works.
i'm not sure if windows explorer is active mode.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

Re: FTP operation timed out Bernard Cheah [MVP]
6/1/2007 12:00:00 AM
active mode uses 21 and 20 only. passive mode uses more ports.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

Re: FTP operation timed out .._..
6/1/2007 3:34:52 PM
They both use the some higher (random ports) however from the client point
of view toggling from one to the other shifts the burden of who has to have
what ports open (client or server) and may set the client in a situation
where the download functions as they expect.

In a world where dial up clients have a good chance of having a
misconfigured firewall they are unaware is even there in the mix; it is a
worthwhile thing to try, especially since it takes 3 seconds to do. I have
solve problems like this literally hundreds of times for my users by
switching from one mode to the other.

It seems to me like your post was less about helping the OP but more about
making yourself look smart. Do that on your blog, not where people are
actually trying to get work done.

FTP.exe doesn't work in passive mode at all so if that's the problem, it
won't work either.

Using a different FTP program is the next thing to try (IE and Windows
Explorer have a long list of bugs that could be contributing factors).
(FTP.exe counts as "different".)


[quoted text, click to view]

Re: FTP operation timed out Bernard Cheah [MVP]
6/4/2007 12:00:00 AM
Oh please... I'm referring to IIS FTP server perspective.
Active mode - control port 21, data port 20.

and respect yourself before you plan to get it from others.


--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

Re: FTP operation timed out Daniel
8/4/2007 12:00:00 AM
Hi Bernard, when do i need to use active or passive mode ?

Daniel

[quoted text, click to view]

Re: FTP operation timed out Bernard Cheah [MVP]
8/6/2007 12:00:00 AM
this is client control. IIS supports both. I replied in your thread.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

AddThis Social Bookmark Button