| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: OLE Error on store command |
| wwopp From: Mobile, AL USA Posts: 57 Member Since: 06/14/00 |
posted November 29, 2006 12:11 PM The following command: thisform.ftp1.object.store(thisform.target_file,thisform.source_file,thisform.skip_bytes) with values of a valid target name, a valid source name, and thisform.skip_bytes value of 3703209984, produces the following error: OLE error code 0x8002000a: Out of present range Any ideas on what causes this? |
| Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted November 30, 2006 1:15 PM Hello, You are specifying (thisform.skip_bytes) a value of 3703209984. This means that 3703209984 numbers of characters will be skipped. It seems that the source file does not contain so much characters and this could be the reason that Out of Range error message is thrown. I would suggest you to check the size of the source file and then specify the skip_bytes. Regards, Amit |
| wwopp From: Mobile, AL USA Posts: 57 Member Since: 06/14/00 |
posted December 12, 2006 5:32 PM The sizes are correct. It seems your control will throw this error on any skip_bytes value > 2^31. I have the logs to prove it. Any plans on correcting this defect in your control? |
| Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted December 13, 2006 10:34 AM Hello, You are absolutely right. The marker parameter cannot be such high. This parameter is limited by its long data type. Long data type can take values up to 2^31. This is the reason of the said error message. I would suggest you to please decrease this parameter so that it comes within the range of long data type. Regards, Amit |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|