InternetSetFilePointer sometimes doesn't work (returns -1) when opening a file by FTP.
Is it server dependent or doesn't work with FTP at all?
Is there other way to set pointer except InternetReadFile?
Posted on 2002-11-27 06:35:22 by stolarz
Stolarz,
When you want to check something about a specific API, I would advise
you to just check f.ex the MSDN. This will get you the answers most of the
time.
This function sets a file position for InternetReadFile. This is a synchronous call; however, subsequent calls to InternetReadFile might block or return pending if the data is not available from the cache and the server does not support random access.
http://msdn.microsoft.com/library/default.asp?url=/library/en-s/wcesdkr/htm/_wcesdk_InternetSetFilePointer.asp
Posted on 2002-11-27 07:07:23 by natas