Allows access to files on remote systems that use Internet protocols.
Closes the file, ignoring all warnings and errors.
Closes a CInternetFile and frees its resources.
Flushes the contents of the write buffer and makes sure the data in memory is written to the target machine.
Returns the size of the file.
Reads the number of specified bytes.
Reads a stream of characters.
Repositions the pointer in an open file.
Sets the size of the buffer where data will be read.
Sets the size of the buffer where data will be written.
Writes the number of specified bytes.
Writes a null-terminated string to a file.
A casting operator for an Internet handle.
Provides a base class for the CHttpFile and CGopherFile file classes. You never create a CInternetFile object directly. Instead, create an object of one of its derived classes by calling CGopherConnection::OpenFile or CHttpConnection::OpenRequest. You also can create a CInternetFile object by calling CFtpConnection::OpenFile.
The CInternetFile member functions Open, LockRange, UnlockRange, and Duplicate are not implemented for CInternetFile. If you call these functions on a CInternetFile object, you will get a CNotSupportedException.
To learn more about how CInternetFile works with the other MFC Internet classes, see the article Internet Programming with WinInet.