mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-22 16:25:19 +08:00
It is invalid to issue a SIZE command once a data transfer is in progress. For reads we issue the SIZE command before the RETR command and get a snapshot of the file size. For writes the file size is initialized to zero and incremented for each write chunk.
Sources from application-level (as opposed to kernel-level) libraries.