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: Command not understood
dummyboy

From: Terrebonne, QC Canada
Posts: 12
Member Since: 06/27/05
posted October 17, 2005 12:14 PM

In a previous topic ("incomplete listing"), I explains that I'm currently testing the DartFTP component with a small app which simply call a .List every 5 seconds.

It was suggested to use a public FTP server to execute my tests, so I did. I used ftp.microsoft.com and tried to get the list of the "/Softlib/MSLFILES" directory.

But I got an other error after about 30 tries:

OUT: CWD /Softlib/MSLFILES
IN: 250 CWD command successful.
OUT: PORT 192,168,91,217,7,212
IN: 200 PORT command successful.
OUT: LIST
IN: 150 Opening ASCII mode data connection for /bin/ls.
IN: 226 Transfer complete.

(This try was successfull, but the next one...)

OUT: CWD /Softlib/MSLFILES
IN: 250 CWD command successful.
OUT: PORT 192,168,91,217,7,214
IN: 500 'ORT 192,168,91,217,19,171': command not understood

As you can see, it seems that the component sent correctly the PORT command (or "wanted" to), but the server did not received it correctly. I restarted the test, and that occured many times.

I'm currenlty running the same tests with an other app which use API calls instead of DartFTP.

What do you think about that?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 17, 2005 12:41 PM

I am not able to duplicate this. I set the interval to 1000 and still had no issues.

What is the version number of the Dart.PowerTCP.dll file in your project?
dummyboy

From: Terrebonne, QC Canada
Posts: 12
Member Since: 06/27/05
posted October 17, 2005 1:00 PM

DartFTP.dll = 1.8.2
DartSock.dll = 2.8.2

I can send to you our test app if you want to. I think it's support@dart.com?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 17, 2005 1:43 PM

Yes, please send the test app to support@dart.com
dummyboy

From: Terrebonne, QC Canada
Posts: 12
Member Since: 06/27/05
posted October 17, 2005 2:46 PM

I installed the latest version (1.8.4) and retried. I still have the incomplete command error:

OUT: CWD /Softlib/MSLFILES
IN: 250 CWD command successful.
OUT: PORT 192,168,91,217,12,105
IN: 500 'RT 192,168,91,217,19,170': command not understood
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 18, 2005 2:36 PM

Please respond to the email that David Harry sent you yesterday so that I can begin investigating this. Thanks.
dummyboy

From: Terrebonne, QC Canada
Posts: 12
Member Since: 06/27/05
posted October 21, 2005 2:06 PM

I did not receive a mail from David. Maybe his message was put in my spam folder and was deleted?? Please ask David to resend his message, I'll check to make sure to not delete it this time... Thanks!
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 21, 2005 2:13 PM

I responded to you already, I guess you didn't get my email either. My response was:

 
I ran this app for quite some time with no problems. Is there something else I need to do?

Thanks,

Tony
dummyboy

From: Terrebonne, QC Canada
Posts: 12
Member Since: 06/27/05
posted October 24, 2005 10:39 AM

No, just run it and click GO. It will connect to the FTP server and will query a directory listing every 5 seconds.

Mmmm... You know, I ran this app on many totally different networks and each time we got the error... including:

1) Our internal network (It took a long time, but the error occured) connecting to our local FTP server

2) Our internet connection from our internal network, connecting to Microsoft FTP server

3) The internet connection of our client concerned by this problem (note that our client is connected directly to the backbone by a fiber link)

4) The internet connection of the clients of our client

As you see, we tested on lots of different network, each using different switches and routers. This is why it sounds logical that the problem is in the DartFTP component(or maybe in the management of internal buffers in the DartSock component?). Also, we ran the same tests with an app using API calls, and no error occured.

Curiously enough, we never got the problem with a binary transfer. The clients of our client transfer gigabytes of data every day, and the files are OK. The only errors are about incomplete listing (see my previous topic) and truncated commands.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 25, 2005 4:21 PM

I'm not having any luck duplicating this, which leads me to believe it has something to do with your network.

I went as far as setting the interval to a 1/2 second and no error occurred.

If you can find some way to duplicate this more reliably, please let me know/
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX