Fixed Upload/Download for linux