I get STOR (store) commands and APPE (append) commands.
The STOR might upload a complete file.
But it might be just part of a file, the rest comes later with multiple APPE commands.
How do I know when a file is really 100% uploaded?
I get STOR (store) commands and APPE (append) commands.
The STOR might upload a complete file.
But it might be just part of a file, the rest comes later with multiple APPE commands.
How do I know when a file is really 100% uploaded?
How do I know when a file is really 100% uploaded?
There is only end-of-transfer in FTP and not end-of-file. Commonly STOR is to used to transfer complete files and APPE is only used if the previous STOR broke somehow - but you never can be sure. If you need to be sure you have to built your own signalization for a finished file.