Hi Martin
Yes, the uploaded file is deleted automatically when the copy has been confirmed to have been successful (this is the last step in the sequence).
Normally FTP is not used for uploads - HTTP Post is the preferred solution. In this case the web server automatically resets the target after the successful upload (
after a short delay to allow the last web page to be served).
Since FTP is an autonomous module there is no interaction with the application. The application doesn't know that a firmware upload has taken place. This is the main disadvantage of uploading via FTP, but it is possible to add code in the file system part to recognize that an upload of a specific (pre-defined) file has just taken place and then inform the application, or else command a reset itself.
You may also like to look at cURL - this is a command line HTTP tool which enables scripts to perform file posts and so would be compatible with automated firmware uploads to the HTTP server and its inherent advantages of application interaction:
http://www.utasker.com/forum/index.php?topic=496.0The cURL post support is integrated in the latest Coldfire HTTP.c and has proven successful. The
HTTP.c is not processor specific and can also be used for the Luminary project if required.
regards
Mark