Upload: Handle ftp api errors on client side