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 11101
vulcanbomber
miles@aykroyd.co.uk

From: SCUNTHORPE, United Kingdom
Posts: 14
Member Since: 08/03/04
posted November 17, 2004 1:57 PM

My application, which was working fine, has started giving error 11101, and yet the zip file is downloaded satisfactorily, (ie it will unzip!). Can you offer any suggestions as to what may be causing "Unexpected protocol error.".

Regards

Miles
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 17, 2004 2:12 PM

It sounds like you are using the FTP Tool and not FTP for .NET.

If you get a protocol error the last reply received from the server will contain the error message. You can get the last reply from the Progress event.

vulcanbomber
miles@aykroyd.co.uk

From: SCUNTHORPE, United Kingdom
Posts: 14
Member Since: 08/03/04
posted November 18, 2004 2:51 PM

Yes, I am using the FTP Tool, sorry about the incorrect posting.
I am already using the Progress event, but am at a loss as how to intercept the last return, presumably held in the "Reply" parameter. I have tried to write the value out to a text file every time the code is actioned, but that gave me an empty file. The odd thing is that this error 11101 is an intermittent one.

I would be grateful for any further advice.

Regards

Miles
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 18, 2004 3:13 PM

Actually I may have steered you in the wrong direction. In the last release we changed it so the Description for a protocol error is the last reply so this should be automatic for you.

For example, when I use the ListView sample to login with a bad password I get a 11101 error with the description "503 Bad password"

Please make sure that you have the latest product from our website and try again. If you still have trouble let me know the exact steps I need to take to duplicate it.

vulcanbomber
miles@aykroyd.co.uk

From: SCUNTHORPE, United Kingdom
Posts: 14
Member Since: 08/03/04
posted November 19, 2004 4:46 AM

I have looked at the ListView sample - and interestingly enough, in the Sub ErrorMessage code, you actually mention error 11101, and effectively negate the error!

When I was originally browsing through your samples several months ago, I noticed the code, and inserted the same code in my application. Much later, whilst looking through my code, I couldn't remember why there was the 11101 in it - so I removed it!!!!! Hence the recent problem.

So it would appear that you have had the same problem.

I would appreciate your comments.

Regards

Miles
Tony Priest



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

Try using the Trace method to create a log of the session. The sample does it so that should show you how. After you get the error look at the last few lines of the log and see what the last response from the server was.

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