ftp upload fix