I'm using FtpGetFile() repeatedly to copy a folder structure that contains
222 files (total 27Mb), of which one file is 17Mb and the rest are smaller.
The 17Mb file is one of the first (#8) to copy, and it does OK, but after
14-80 files are copied (around 18-19 Mb) I get error code 12003 from the
first file that fails, then 12030 from subsequent files. Codes in the 12000
range are not included in my message list in either environment, so I don't
know what this error means. Questions:
1. What do error codes 12003 and 12030 mean? (I can't find them in MSDN or
CE Help). What is actually failing here?
2. Is there any way to get the WinInet error messages (I've seen other Ftp
routines report 12xxx error codes) included in my XP and CE environments?
I thought maybe this was a limitation of our FTP site, but our IT group says
they can copy Gbs of data with no problem.
I tried skipping over the 17Mb file, and the other 221 files (10Mb) copy
just fine.
Then, even more mysterious, I tried copying the 17Mb file last (after the
other 221), and that works fine as well!
Any ideas? Can I depend on the workaround of copying the biggest file last
always working?
Thanks,
Michael Schwab
12003 == ERROR_INTERNET_EXTENDED_ERROR
12030 == ERROR_INTERNET_CONNECTION_ABORTED
--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
---
Principal Partner
OpenNETCF Consulting
www.OpenNETCF.com
"Michael Schwab" <michael...@cobecv.com> wrote in message
news:eyqzm$3YEHA...@TK2MSFTNGP11.phx.gbl...
This still doesn't tell me what I did wrong, why it happens on random files,
or why it doesn't happen if I change the order of files that I'm copying.
What do I do next?
Michael Schwab
"Chris Tacke, eMVP" <cta...@spamfree-opennetcf.org> wrote in message
news:eJ1WUc5Y...@TK2MSFTNGP11.phx.gbl...
Paul T.
"Michael Schwab" <michael...@cobecv.com> wrote in message
news:ed7zXT6...@TK2MSFTNGP11.phx.gbl...
FtpGetFile doesn't work again until i reset the device (iPaq compaq)...
Any ideas ? thanks
"Michael Schwab" <michael...@cobecv.com> escribió en el mensaje
news:eyqzm$3YEHA...@TK2MSFTNGP11.phx.gbl...