Description
The old API got an Input stream of the file to check and closed it again but this is no longer working.
We also need to delete an existing file prior to writing it.
Finally, the results of transferring a file (true/false) needs to be looked at and in case of not having a file transferred we need to look at the reply string from the server and print/log it. We also need to log the effectively transferred number of files under Basic to give appropriate feedback of what's going on.