Files can only be removed from the queue when in an idle or paused
state. If you attempt to remove a file while the queue manager is in
the process of uploading or download files, the function will fail.
The file identifier can be obtained by several different functions,
including FtpEnumQueuedFiles and FtpGetQueueStatus, which
provides information about the current file being processed in the
queue. Do not make any assumptions about the value of the identifier.
Although the value is guaranteed to be unique for the specified queue,
it is not guaranteed that file identifiers will be assigned in
sequential order.