Home All Groups Group Topic Archive Search About

XP, FTP and the Firewall

Author
22 Dec 2005 5:12 PM
Croydon
My company have clients that transmit data to us by FTP.

For the vast majority there is no problem, but in some cases the data is not
transmitted. We have tracked this down to the fact that these clients use
ADSL and a router.

We have tested the system using XP Remote Desktop and the FTP starts then
eventually times-out. Our server shows the file but with zero bytes received.

There are two other points. A small file can be FTPed without a problem. A
larger file of 5MB will not transmit. When we disable the XP Firewall the 5MB
will be transferred immediately.

As this does not happen with all clients with routers, we can only assume
that there is some setting within XP or the XP Firewall that is causing the
problem.

I have tried setting ‘Use Passive……’ off and opened Port 20 in the Firewall,
but it still will not transfer.

Have there been any XP updates to resolve this issue?

The FTP is run from within a Visual Basic program. The OS is XP Pro SP2.

Any suggestions would be appreciated.

Author
22 Dec 2005 7:02 PM
Philip Ashley
i think you need to find out the ephemeral port range that your ftp
server is set up to use, and allow that range to be port forwarded in
your firewall

http://www.ncftp.com/ncftpd/doc/misc/ftp_and_firewalls.html

hth

philip ashley

Show quoteHide quote
"Croydon" <Croy***@discussions.microsoft.com> wrote in message
news:7E9D7404-370B-47B6-A0D4-BB9A0E700CB6@microsoft.com...
> My company have clients that transmit data to us by FTP.
>
> For the vast majority there is no problem, but in some cases the data
> is not
> transmitted. We have tracked this down to the fact that these clients
> use
> ADSL and a router.
>
> We have tested the system using XP Remote Desktop and the FTP starts
> then
> eventually times-out. Our server shows the file but with zero bytes
> received.
>
> There are two other points. A small file can be FTPed without a
> problem. A
> larger file of 5MB will not transmit. When we disable the XP Firewall
> the 5MB
> will be transferred immediately.
>
> As this does not happen with all clients with routers, we can only
> assume
> that there is some setting within XP or the XP Firewall that is
> causing the
> problem.
>
> I have tried setting ‘Use Passive……’ off and opened Port 20 in the
> Firewall,
> but it still will not transfer.
>
> Have there been any XP updates to resolve this issue?
>
> The FTP is run from within a Visual Basic program. The OS is XP Pro
> SP2.
>
> Any suggestions would be appreciated.
>
Author
22 Dec 2005 9:12 PM
Yves Leclerc
Show quote Hide quote
On 22/12/2005 "Croydon" <Croy***@discussions.microsoft.com> wrote:
>My company have clients that transmit data to us by FTP.
>
>For the vast majority there is no problem, but in some cases the data is not
>transmitted. We have tracked this down to the fact that these clients use
>ADSL and a router.
>
>We have tested the system using XP Remote Desktop and the FTP starts then
>eventually times-out. Our server shows the file but with zero bytes received.
>
>There are two other points. A small file can be FTPed without a problem. A
>larger file of 5MB will not transmit. When we disable the XP Firewall the 5MB
>will be transferred immediately.
>
>As this does not happen with all clients with routers, we can only assume
>that there is some setting within XP or the XP Firewall that is causing the
>problem.
>
>I have tried setting âUse Passiveâ¦â¦â off and opened Port 20 in the
Firewall,
>but it still will not transfer.
>
>Have there been any XP updates to resolve this issue?
>
>The FTP is run from within a Visual Basic program. The OS is XP Pro SP2.
>
>Any suggestions would be appreciated.
>

FTP also uses port 21 and the sending PCs should also using 'Passive FTP mode."

--
---

Y.
Author
23 Dec 2005 11:40 AM
Croydon
Sorry, I meant I had opened ports 20 and 21. I've tried it with "Use
Passive......" checked and unchecked but with no luck.

Show quoteHide quote
"Yves Leclerc" wrote:

> On 22/12/2005 "Croydon" <Croy***@discussions.microsoft.com> wrote:
> >My company have clients that transmit data to us by FTP.
> >
> >For the vast majority there is no problem, but in some cases the data is not
> >transmitted. We have tracked this down to the fact that these clients use
> >ADSL and a router.
> >
> >We have tested the system using XP Remote Desktop and the FTP starts then
> >eventually times-out. Our server shows the file but with zero bytes received.
> >
> >There are two other points. A small file can be FTPed without a problem. A
> >larger file of 5MB will not transmit. When we disable the XP Firewall the 5MB
> >will be transferred immediately.
> >
> >As this does not happen with all clients with routers, we can only assume
> >that there is some setting within XP or the XP Firewall that is causing the
> >problem.
> >
> >I have tried setting âUse Passiveâ¦â¦â off and opened Port 20 in the
> Firewall,
> >but it still will not transfer.
> >
> >Have there been any XP updates to resolve this issue?
> >
> >The FTP is run from within a Visual Basic program. The OS is XP Pro SP2.
> >
> >Any suggestions would be appreciated.
> >
>
> FTP also uses port 21 and the sending PCs should also using 'Passive FTP mode."
>
> --
> ---
>
> Y.
>
>