Alaska Software Inc. - ftp connect no longer working
Username: Password:
AuthorTopic: ftp connect no longer working
Nate Kelloggftp connect no longer working
on Thu, 23 Jun 2005 08:55:34 -0700
We're using the asinet ftp functions for downloading files from an ftp site. 
Has been working fine for months but stopper working a few days ago.  We're 
getting connect errors but another ftp client works fine.

Does anyone know if any of the MS XP 'fixes' may be causing this??

Thanks,
Nathan

Nath  an @@nwlocation.com
Anand GuptaRe: ftp connect no longer working
on Fri, 24 Jun 2005 19:57:11 +0530
You are right. If you have upgraded to XP-SP2 then goto
Control Panel/Firewall
Out there go to Exception, Add program, select you program.

HTH

Anand

"Nate Kellogg" <nathan.nwlocation@com> wrote in message
news:Wy7L3vAeFHA.1256@S15147418...
> We're using the asinet ftp functions for downloading files from an ftp
site.
> Has been working fine for months but stopper working a few days ago.
We're
> getting connect errors but another ftp client works fine.
>
> Does anyone know if any of the MS XP 'fixes' may be causing this??
>
> Thanks,
> Nathan
>
> Nath  an @@nwlocation.com
>
>
Value zeroRe: ftp connect no longer working
on Mon, 27 Jun 2005 18:47:54 +0200
I have similar problem - Firewall offers Adding program to exception list on 
first attempt to connect. But it didn't help.  There is not much programer 
can do using ASINET FTP commands. I  wrote small program in Clarion to send 
files to FTP to overcome this problem.  I'm also interested if someone has 
any other ideas.

J.Lubej


"Anand Gupta" <agREMOVE_at_coralindiaREMOVE_dot_com> je napisal v sporoilo 
news:3VBizjMeFHA.2944@S15147418 ...
> You are right. If you have upgraded to XP-SP2 then goto
> Control Panel/Firewall
> Out there go to Exception, Add program, select you program.
>
> HTH
>
> Anand
>
> "Nate Kellogg" <nathan.nwlocation@com> wrote in message
> news:Wy7L3vAeFHA.1256@S15147418...
>> We're using the asinet ftp functions for downloading files from an ftp
> site.
>> Has been working fine for months but stopper working a few days ago.
> We're
>> getting connect errors but another ftp client works fine.
>>
>> Does anyone know if any of the MS XP 'fixes' may be causing this??
>>
>> Thanks,
>> Nathan
>>
>> Nath  an @@nwlocation.com
>>
>>
>
>
Johan Droskie Re: ftp connect no longer working
on Tue, 28 Jun 2005 08:45:35 +0100
Hi ..

Some time ago we could not connect to our ftp server either.  It turned 
out the provider disabled passive connections.  Best way to test this is 
with a ftp program that can changes between active and passive mode( eg 
FTP Pro ).

I don't think you can choose between active and passive with ASINET 
currently, so maybe try the FTP class by Phil Ide.

Value zero wrote:
> I have similar problem - Firewall offers Adding program to exception list on 
> first attempt to connect. But it didn't help.  There is not much programer 
> can do using ASINET FTP commands. I  wrote small program in Clarion to send 
> files to FTP to overcome this problem.  I'm also interested if someone has 
> any other ideas.
> 
> J.Lubej
> 
> 
> "Anand Gupta" <agREMOVE_at_coralindiaREMOVE_dot_com> je napisal v sporoèilo 
> news:3VBizjMeFHA.2944@S15147418 ...
> 
>>You are right. If you have upgraded to XP-SP2 then goto
>>Control Panel/Firewall
>>Out there go to Exception, Add program, select you program.
>>
>>HTH
>>
>>Anand
>>
>>"Nate Kellogg" <nathan.nwlocation@com> wrote in message
>>news:Wy7L3vAeFHA.1256@S15147418...
>>
>>>We're using the asinet ftp functions for downloading files from an ftp
>>
>>site.
>>
>>>Has been working fine for months but stopper working a few days ago.
>>
>>We're
>>
>>>getting connect errors but another ftp client works fine.
>>>
>>>Does anyone know if any of the MS XP 'fixes' may be causing this??
>>>
>>>Thanks,
>>>Nathan
>>>
>>>Nath  an @@nwlocation.com
>>>
>>>
>>
>>
> 
>
Bruce AndersonRe: ftp connect no longer working
on Wed, 06 Jul 2005 18:34:34 -0500
How did your provider disable passive connections?  What OS, etc., please? 
This might be the item that has been bedeviling me and I will appreciate any 
specifics you have to offer.
Brian L. WolfsohnRe: ftp connect no longer working
on Wed, 03 Aug 2005 19:00:57 +0200
"Anand Gupta" <agREMOVE_at_coralindiaREMOVE_dot_com> wrote in 
news:3VBizjMeFHA.2944@S15147418:

> You are right. If you have upgraded to XP-SP2 then goto
> Control Panel/Firewall
> Out there go to Exception, Add program, select you program.

Anand,

We're using ASINET functions, and have experienced the same issues.
We've gone into window$ firewall, and added the program as an exception.  
It still won't work.

Using WS_FTP (which is also listed as an exception in window$ firewall) 
we had to turn on passive transfers to get ftp working.

Disabling windows firewall allowed the asinet functions to work as 
expected.  re-enabling it messed them up again..  

We had the identical experience with phil idle's xbftp test program.  
disabling firewall let it work, enabling firewall (even with program as 
an exception) screwed it up..

Of course, in w2k, there's no windows firewall, so no problems at all..

Anyone have any ideas ??
Joe Carrick Re: ftp connect no longer working
on Wed, 03 Aug 2005 10:39:14 -0700
Brian L. Wolfsohn wrote:
> "Anand Gupta" <agREMOVE_at_coralindiaREMOVE_dot_com> wrote in 
> news:3VBizjMeFHA.2944@S15147418:
> 
> 
>>You are right. If you have upgraded to XP-SP2 then goto
>>Control Panel/Firewall
>>Out there go to Exception, Add program, select you program.
> 
> 
> Anand,
> 
> We're using ASINET functions, and have experienced the same issues.
> We've gone into window$ firewall, and added the program as an exception.  
> It still won't work.
> 
> Using WS_FTP (which is also listed as an exception in window$ firewall) 
> we had to turn on passive transfers to get ftp working.
> 
> Disabling windows firewall allowed the asinet functions to work as 
> expected.  re-enabling it messed them up again..  
> 
> We had the identical experience with phil idle's xbftp test program.  
> disabling firewall let it work, enabling firewall (even with program as 
> an exception) screwed it up..
> 
> Of course, in w2k, there's no windows firewall, so no problems at all..
> 
> Anyone have any ideas ??
> 

Do you know what port these programs might be using?  If so, allow those 
a ports as exceptions as well.

-Joe
Brian L. WolfsohnRe: ftp connect no longer working
on Thu, 04 Aug 2005 16:21:38 +0200
Joe Carrick <joe.carrick@dslextreme.com> wrote in
news:Akj50DFmFHA.6160@S15147418: 


> Do you know what port these programs might be using?  If so, allow
> those a ports as exceptions as well.

Joe,

As far as i know, it's the standard ftp port (21), whether it's passive or 
active transfer..  WS_FTP had the same problem until i changed it to 
passive transfer mode.  ASINET does not seem to have that option.

I enabled port 21 in exceptions also, no difference..
Phil Ide
Re: ftp connect no longer working
on Thu, 04 Aug 2005 16:12:55 +0100
Brian,

> As far as i know, it's the standard ftp port (21), whether it's passive or 
> active transfer..  WS_FTP had the same problem until i changed it to 
> passive transfer mode.  ASINET does not seem to have that option.
> 
> I enabled port 21 in exceptions also, no difference..

FTP uses 2 ports.  The first is port 21, the second is indicated by the
server, and is usually 20 or 22 but can actually be anything the server
wishes.

Regards,

Phil Ide

*******************************************
*   Xbase++ FAQ, Libraries and Sources:   *
*   goto: http://www.idep.org.uk/xbase    *
* --------------------------------------- *
* www.xodc.org.uk - openSource Dev-Center *
*******************************************

Happiness is a state of mind. Not happy?  Change your mind.
Brian L. WolfsohnRe: ftp connect no longer working
on Fri, 05 Aug 2005 00:04:29 +0200
> FTP uses 2 ports.  The first is port 21, the second is indicated by
> the server, and is usually 20 or 22 but can actually be anything the
> server wishes.

Phil,

thanks for the info..

I tried the xbftp(sp?) from your site and got exactly the same results...  
did not work with windows firewall active, worked with it disabled.. (yes, 
i added it to the exceptions..)

Brian
Phil Ide
Re: ftp connect no longer working
on Fri, 05 Aug 2005 09:50:14 +0100
Brian,

> I tried the xbftp(sp?) from your site and got exactly the same results...  
> did not work with windows firewall active, worked with it disabled.. (yes, 
> i added it to the exceptions..)

My lib uses the WinInet functions, not plain sockets w/telnet interpreter,
so it's kinda outta my hands.  However, Boris now provides an FTP client
class in Xb2.NET which I suspect is a sockets implementation.

Regards,

Phil Ide

*******************************************
*   Xbase++ FAQ, Libraries and Sources:   *
*   goto: http://www.idep.org.uk/xbase    *
* --------------------------------------- *
* www.xodc.org.uk - openSource Dev-Center *
*******************************************

Do you know how to keep a BBSer in suspense?
Vagelis Skarmaliorakis Re: ftp connect no longer working
on Wed, 03 Aug 2005 22:32:46 +0300
Hi Brian,


> Disabling windows firewall allowed the asinet functions to work as 
> expected.  re-enabling it messed them up again..  

> We had the identical experience with phil idle's xbftp test program.  
> disabling firewall let it work, enabling firewall (even with program as 
> an exception) screwed it up..

I am using another firewall (ZoneAlarm Security Suite) and whenever an 
xBase++ program (i have written for telnet and using Phil's ftp all with 
asinet lib) is accessing the ports (telnet port or ftp port) ZoneAlarm 
is asking m if i permit. I have made a permanent setting for specific 
programs to be able to use some ports.

There must be a way to configure the windows firewall to permit some 
programs to use some ports.

Regards
Vagelis Skarmaliorakis
James Loughner Re: ftp connect no longer working
on Wed, 03 Aug 2005 18:04:09 -0400
Don't use windows firewall.

Actually the problem is that the firewall looks at more then the name 
maybe the change date of the file??? Any how, rebuilding the program 
makes Windoz think that this is a different or changed program ie maybe 
taken over by a virus thus it disallows. I've seen this in Zonealarm 
also I allow a program then I update the program and zone alarm asks 
again if it is allowed. This helps protect you from something hijacking 
a known program for nefarious reasons, so I guess its a feature.

I have given up on software firewalls and use a router with built in 
firewall. This is actually much better protection and you can buy one 
for as little as $30.00.

Jim

Brian L. Wolfsohn wrote:
> "Anand Gupta" <agREMOVE_at_coralindiaREMOVE_dot_com> wrote in 
> news:3VBizjMeFHA.2944@S15147418:
> 
> 
>>You are right. If you have upgraded to XP-SP2 then goto
>>Control Panel/Firewall
>>Out there go to Exception, Add program, select you program.
> 
> 
> Anand,
> 
> We're using ASINET functions, and have experienced the same issues.
> We've gone into window$ firewall, and added the program as an exception.  
> It still won't work.
> 
> Using WS_FTP (which is also listed as an exception in window$ firewall) 
> we had to turn on passive transfers to get ftp working.
> 
> Disabling windows firewall allowed the asinet functions to work as 
> expected.  re-enabling it messed them up again..  
> 
> We had the identical experience with phil idle's xbftp test program.  
> disabling firewall let it work, enabling firewall (even with program as 
> an exception) screwed it up..
> 
> Of course, in w2k, there's no windows firewall, so no problems at all..
> 
> Anyone have any ideas ??
>
Anand GuptaRe: ftp connect no longer working
on Thu, 04 Aug 2005 11:43:23 +0530
Amen. I second that as well. But how does one convince all your clients 
And, once you suggest them .... on every virus/spy attach or whatever else
could it be...the first call they are going to make is to you :P

Anand

"James Loughner" <jwrl@charter.net> wrote in message
news:yoooAdHmFHA.3104@S15147418...
> Don't use windows firewall.
>
> Actually the problem is that the firewall looks at more then the name
> maybe the change date of the file??? Any how, rebuilding the program
> makes Windoz think that this is a different or changed program ie maybe
> taken over by a virus thus it disallows. I've seen this in Zonealarm
> also I allow a program then I update the program and zone alarm asks
> again if it is allowed. This helps protect you from something hijacking
> a known program for nefarious reasons, so I guess its a feature.
>
> I have given up on software firewalls and use a router with built in
> firewall. This is actually much better protection and you can buy one
> for as little as $30.00.
<snip>