The FTP server cannot know if the transfer was interrupted or not. That is a shortcoming of the protocol. The server only stores as many bytes it gets, and in case of network problems it is up to the client to resume the upload (normally by asking the server for the remote file size, and then do a stor combined with skipping the number of bytes that was already saved).
This behaviour often cause issues in setups where there is a server side process that want to take action on uploaded files, since it can never know when the upload is complete. This is normally handled by letting the client rename files after upload has completed.