Only one file may be opened at a time for each client session.
Attempting to perform an action such as uploading or downloading
another file while a file is currently open will result in an error.
Typically this indicates that the application failed to call the
FtpCloseFile function.
When a file is created on the server, the file ownership
and access rights are determined by the server. Some servers may
provide a method to change these attributes through site-specific
commands. Refer to the server's operating system documentation for
more information about what commands may be available.
It is recommended that most applications use the
FtpGetFile or FtpPutFile functions to perform file
transfers. These functions are easier to use, and have internal
optimizations that improves the overall data transfer rate when
compared to implementing the file transfer code in your own
application.
This function uses a 32-bit unsigned integer (DWORD) to represent
the file offset, which limits the maximum size to 4 GiB minus one byte
(4,294,967,295 bytes). When working with files that may exceed this
limit, applications should use the FtpOpenFileEx function,
which uses a 64-bit ULARGE_INTEGER structure to represent these
values. The extended version supports large files while maintaining
compatibility with the original function.