| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Strange exception |
| smeetspr From: Amsterdam, USA Posts: 10 Member Since: 09/19/03 |
posted September 25, 2006 11:20 AM Hi all, When developing an application that uses the FTP.NET component, i'm currently getting some strange exception. I'm using the same code for quite some time now and i never had this error message. I know it can be resolved by deleting the file before i get the file ,but i want to know what has changed... This is the errormessage "System.Exception: Could not complete FTP task ---> System.IO.IOException: Unable seek backward to overwrite data that previously existed in a file opened in Append mode. at Dart.PowerTCP.Ftp.c.Invoke(Delegate A_0, Object[] A_1) at Dart.PowerTCP.Ftp.Ftp.Get(String remoteFileName, String localFileName) |
| Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted September 25, 2006 5:01 PM Hi, It seems that this error message is being thrown only when the local file is in append mode. Researching more, I also found that it may also occur when the local file is currently opened and at the same time being appended. I tried to replicate this exception message however was unable to do so. I would request you to please provide us a small sample application along with the replicating steps. You may send the sample application to support@dart.com for further review. Any further information to isolate the issue would be highly appreciated. Best Regards, Amit |
| smeetspr From: Amsterdam, USA Posts: 10 Member Since: 09/19/03 |
posted September 26, 2006 4:46 AM Amit, Thanks for your reply... The strange thing is that this problem even ocurres after i had rebooted my machine, and i've just started the Visual Studio 2005 IDE. So i'm absolutly positive i've not touched the file i want to overwrite! I've tried to google the error message (Unable seek backward to overwrite data that previously existed in a file opened in Append mode. ), but i got no hits. So i'm assuming that the error message is generated by the dart component. It also happens on other machine's. I will send the code i've used to get the file to the email adres. Thanks in advance! With kind regards, Rob Smeets |
| Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted September 27, 2006 12:38 PM Hi Rob, Regarding the query, I would appreciate if could provide us the Trace log so that we can narrow down the issue further. You may create a Trace log using the Trace method. The syntax for this method is as follows: Object.Trace [ Result ] [ , Send ] [ , Receive ] [ , SendPrompt ] [ , ReceivePrompt ] You may send this Trace log to support@dart.com. Any further information to isolate the issue would be highly appreciated. Best Regards, Amit |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|