Remove duplicate connections.
These ones are already created in the upload and download functions
Refactored upload function analogous to download
Removed unused slot
Emitting signal if upload is finished
Removed debug message