functionality for uploading files over FTP - added