use curl for ftp