Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: Error closing connection with power tcp
usuarioftpa

From: madrid, AB USA
Posts: 3
Member Since: 08/19/04
posted October 19, 2004 8:21 AM

I have a aplication in vb .net and I have using
the following code for close the connection:
"ftp1.close()" and ftp1 is a dart.ftp object.
The component transfers the files succesfully but when i go to close the connection the server doesn't request and the program stops in the code (ftp1.close).
when i close the connection with msdos or other client ftp there isn'nt some problem.
Whit other servers the close connection is succesfuly.

I hope yours help,
 thanks,
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 19, 2004 8:52 AM

This sounds like you probably have the XP SP2 firewall on. This problem will be addressed in the next release of the FTP product.

When you say it "stops in the code" do you mean that it never returns from close? If you set timeout to 2000 do you get an error after 2 seconds? If so, set the timeout to a low value (like 500) and then call abort if you get the error.
usuarioftpa

From: madrid, AB USA
Posts: 3
Member Since: 08/19/04
posted October 19, 2004 11:14 AM

I have a windows 2003 server and i connect to
a Unix machine with solaris.

Do you tell me what is the code who invoke a "bye" or "quit" whit tcp component.
I have test wiht the following code:

 ftp1.invoke(ftpcommand.null,"quit") but the server don't close the connection.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 19, 2004 11:37 AM

It should close the connection. It does when I do it. Can you tell me how to duplicate this? Is the server available on the internet for me to try? If not, can you find a public one?

spadams

From: Milton Keynes, United Kingdom
Posts: 7
Member Since: 10/21/04
posted October 21, 2004 8:26 AM

I have the exact same problem running the XP SP2 firwall on. Using c#, the code never exits the close() method. Is this a bug??? and has it been fixed???
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 21, 2004 8:58 AM

First, please try the sample Listview Client and tell me if you get a "connection closed" when you click "Logout" on then menu.

Second, please tell me the name of the Dart DLL you reference in your project and it's version number.
spadams

From: Milton Keynes, United Kingdom
Posts: 7
Member Since: 10/21/04
posted October 21, 2004 9:05 AM

When i click logout i get no message, the webpage just hangs like its not responding. I am using v1.0.2 of the secureftp.dll for c#.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 21, 2004 9:29 AM

What is the complete version number of the DLL? You are missing the fourth number.
spadams

From: Milton Keynes, United Kingdom
Posts: 7
Member Since: 10/21/04
posted October 21, 2004 9:43 AM

Sorry its V1.0.2.0 (Dart.PowerTCP.SecureFTP.Dll)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 21, 2004 10:02 AM

Thanks. This issue will be addressed in the next release. For now, if you turn of Windows Firewall you will not have the problem.

spadams

From: Milton Keynes, United Kingdom
Posts: 7
Member Since: 10/21/04
posted October 21, 2004 10:08 AM

Ok i can do that for now, but do you know when the next release will be??
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 21, 2004 10:10 AM

I'm sorry but I don't have that information. Please contact support@dart.com to see if they have more details.
ericd@webbasix.com

From: Durham, NC USA
Posts: 4
Member Since: 01/13/05
posted February 7, 2005 11:01 AM

I am experiencing the same issue described above, but I am running my client (Dart.PowerTCP.SecureFTP.dll ver 1.0.2.0) on a Windows 2003 server and do not have a Windows Firewall running.

It doesn't happen every time, but it happens often enough to be a major issue.

The ftp.Close() method correctly sends the QUIT command to the server and the correct response is received (according to the trace) but the Close method never comes back. Setting a timeout of 2000 ms does not help either. The timeout exception is never thrown.

Suggestion? Explanation?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted February 7, 2005 11:21 AM

I'll send you an email with a test DLL and some instructions. Let's finish the issue via email.
Esteban

From: Vancouver, BC Canada
Posts: 6
Member Since: 07/22/04
posted April 15, 2005 4:08 PM

We are experiencing exactly the same problem described by ericd@webbasix.com above. We are running our application on a Windows 2000 server (latest SP applied) with no Windows Firewall on it. We are using SecureFtp component version # 1.0.2.0.

I’d appreciate if you can tell me what the workaround is to solve this problem.

Thanks in advance
Esteban
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 18, 2005 10:34 AM

Hi Esteban,
There is no workaround as we have not been able to reproduce the problem.
If you have a server that results in the problem, and can provide a test account, please contact support@dart.com with info for connecting to it.
Thanks,
-ken
ericd@webbasix.com

From: Durham, NC USA
Posts: 4
Member Since: 01/13/05
posted April 18, 2005 12:18 PM

The test DLL that Tony had provided me a while ago did not fix the issue. We are still experiencing the same issue.

I could not provide a test server to Dart to reproduce the problem since both the of servers we are using are client servers and are behind strict firewall access rule security. One server is Windows 2003 and the other is Windows 2000, both running WS_FTP server, and both experiencing the issue - not everytime, but often enough.
Esteban

From: Vancouver, BC Canada
Posts: 6
Member Since: 07/22/04
posted June 13, 2005 10:09 PM

This is still a big issue for us. Our customer is using Windows 2003/ SP2 / MS FTP Service. Whenever our App sends a Close() command to this server, it hangs.

I tried different values for the Timeout property but any values above 1 or 0 msec just doesn't make any difference. Of course, I can't leave the timeout property at 0, right?

I'm using the ListView sample program with the SecureFTP 1.0.2.0 component. I place a breakpoint in the Close method and it never returns. I have to stop the program in Visual Studio (2003)

As usual in these cases, I cannot provide access to my customer's FTP server due to security concerns. However, I've noticed that this is a frequent problem for some people using this component.

I also noticed that Dart has a new version of this FTP component. Is this issue fixed in this new release? I tried downloading the Trial 2.3 version but the installation fails when it finds the other version installed. Is there any way to try this new DLL without uninstalling the existing one?

Please help us with this issue; it's becoming a serious issue to us.

Thanks in advance
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted June 13, 2005 10:30 PM

Just save your original msi, uninstall, then install the new one. If you want to go back to the old one you can reverse the process.

If that does not work for you than I would suggest installing on another machine and testing that way.

I don't know if the problem has been fixed because I have not been provided with a means to duplicate.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted June 13, 2005 10:38 PM

If you are reading this, you are having problems with your email server. All the notifications that are being sent to you are being returned because "The e-mail account does not exist at the organization this message was sent to"
Esteban

From: Vancouver, BC Canada
Posts: 6
Member Since: 07/22/04
posted June 13, 2005 11:15 PM

Thank you, I forgot to update mi profile (my company changed name/dns, etc). It should be working fine now. No wonder why I never received a notification on this post before and I never got an email announcing the new version.

I will try uninstalling/installing as suggested. I'm also trying to get my client to configure a test server so you can take a quick look at it.

However, I'm pretty sure I've found a bug related to the Timeout property. I normally use a timeout of 20 seconds, but if I change the Timeout right before issuing the Close command to, say "2" it works just fine. I'm wondering if for some reason after a while the meaning of the timeout property changes from milli seconds to just plain seconds. If I try any value above 7 I can reproduce the problem all the time: the Close method call never returns.

I will keep you posted with my progress. Thanks
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted June 15, 2005 10:54 PM

I just downloaded the latest Ftp for .NET kit and I was not able to see the problem. Please make sure you are using the latest version.

You should be using version 2.3.0.0 of Dart.PowerTCP.Ftp.dll

Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX