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: The connection is broken after uploading a 15-20 files to the server.
isaacdiaz

From: San Marcos, CA USA
Posts: 2
Member Since: 12/14/05
posted January 11, 2006 10:19 PM

Hello,

I am using the RawConnect method to initiate a secure FTP session with my server. everything works ok and I can upload files without problem.

After uploading 17 files or so, the connection is closed and I have to login back again.

I am logging the TCP messages with ethereal and it looks like every time the data connection gets closed a error message is sent by the server.

Looking at the tcp messages this is the TCP packet I receive each time I disconnect:

Transmission Control Protocol, Src Port: 30064 (30064), Dst Port: 3858 (3858), Seq: 1779, Ack: 2896222376, Len: 0
Source port: 30064 (30064)
Destination port: 3858 (3858)
Sequence number: 1779 (relative sequence number)
Header length: 20 bytes
Flags: 0x0004 (RST)
0... .... = Congestion Window Reduced (CWR): Not set
.0.. .... = ECNEcho:
Not set
..0. .... = Urgent: Not set
...0 .... = Acknowledgment: Not set
.... 0... = Push: Not set
.... .1.. = Reset: Set
.... ..0. = Syn: Not set
.... ...0 = Fin: Not set
Window size: 0
Checksum: 0xf603 [correct]

I think the firewall after sending me many of this packets closes my connection.

What parameters can I use to control the way the data connection gets closed?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 12, 2006 9:35 AM

I've never heard of anything like that happening before. Do you have the same problem if you use your program somewhere else? What happens if you use our sample app?
isaacdiaz

From: San Marcos, CA USA
Posts: 2
Member Since: 12/14/05
posted February 6, 2006 12:38 PM

sorry I couldn't get back before. To document this issue solution, the problem was not at the TCP/IP level.
The problem was that some of the passive ports the server was sending as response to the PASV command were not open on the firewall. So when I got a closed passive port my passive connection didn't go through.

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