fixed ftp uploading
bugfixes