It deletes the files, when no error occurs during a download. No additional tests are made.
As stated in the title:
How does the get-delete command know files got transferred completely when using FTP? I need to know this because there are lots of small files being generated server side and I need to get all of them always.
Would get -delete be secure enough for this purpose?