Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: 10022 - Miscellaneous error in List Method
UBH

From: Mülheim, Germany
Posts: 4
Member Since: 08/30/06
posted August 30, 2006 10:21 AM

Hi!

I've got the following Problem:

I'm currently using the Trial Version of FTP Tool (1.8.6) to build an automated sheduled ftp in VB6. Actually because of some problems with ms inet.dll i switched the access class to ftp tool.
It seemed to work great at first sight, and our compmany almost bought FTP Tool, but then a problem came up:

On 2 of currently 3 Servers handled by the application, start to give an error 10022 - Miscellaneous error in the List Method after
about 25 minutes.

But under very weird circumstances:

Login: OK
Listing root using list method : OK
Changing Dir: OK
Listing that Dir : FAILS Error 10022 => FTP1.Listing.Text always empty.

Already tried almost everything in the book, even detroying and creating a new Class on each disconnect......

Oh, and the Trace of ftp tool shows no errors at all.......always

---> LIST
<--- 150 Opening ASCII mode data connection for file list.
<--- 226 Transfer complete.

And the pattern stays the same until the system gets rebooted, tried 3 different machines, 2 running XP Pro SP2 and one still XP Pro SP1a

If i cant find the solution too this problem, sadly ftp tool wont be any good at all for my companies project :(

Hope you can help here, i'm lost.
UBH

From: Mülheim, Germany
Posts: 4
Member Since: 08/30/06
posted August 31, 2006 9:38 AM

O.K., after another days work, i think i have found the problem, though i initially looked in the completely wrong direction.

The Server that keeps on running is connected via a SOCKS5 Proxy in passive mode, the other two are direct connections in active mode.

Ethereal revealed that the first listing doesnt get through either, it just doenst give the error 10022 message. This comes after the 2nd DataConnection AND now comes the important part.

The client (FTP Tool) tries to SEND on the DATA CONNECTION, though ProxyType is already ftpProxyNone, an initial SOCKS5 Handshake 0x05 0x01 0x02, which messes up as it seems....

AND This only happens if the proxyfied passive DATA Connection is used. E.g. if i only log in , send a help, and log out the other servers keep on running, but as soon as i used the data connection e.g. with a list command, the direct connection keep on sending the socks5 handshake....

Can any of the Developers confirm this and fix it....

Amit

From: Rome, NY USA
Posts: 315
Member Since: 03/15/06
posted August 31, 2006 1:38 PM

Hello,

Regarding the query, I would appreciate if you could let us know whether you are using a trial version of the product, and if not, which licensed version of the product do you have running?

Also I am not able to replicate the said error message at my end. Is there a way you can provide us a Test account on any of the FTP Server so that we can replicate the said scenario.

Any further information to isolate the issue would be highly appreciated.

Best Regards,
Amit
UBH

From: Mülheim, Germany
Posts: 4
Member Since: 08/30/06
posted September 1, 2006 3:36 AM

Hi Amit!

as mentioned in my first post i am using the trial version. Since the ftp servers belong to trading partners of the company i work for, i dont think i will be able to get a test account there, but i will see what i can do.

I can provide an eatherreal log of the traffic, if this is any help, but as mentioned in my second post, after the usage of a passive socks5 connection, the data stream sends on an active direct connection to the server a socks 5 handshake.

At my end this behaviour is reproductable, though sometimes giving that error message, sometimes not.... i think this error only comes up if the data connection is used several times......

If i can provide any additional information that might be helpful to you, let me know.

Or maybe you can provide me with a version of the DartFtp.dll that logs what it recieves and sends on the data channel..... So i can run it here, providing the info you need.

Thanks for your help in advance

Greetings

UBH

From: Mülheim, Germany
Posts: 4
Member Since: 08/30/06
posted September 6, 2006 7:33 AM

Hi!

This has been declared Issue #4089 and was successfully solved by Tony Priest on the 5th Semptember 2006. Thanks for the quick support Tony!

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