The function upload_ftp() runs the command curl -T file
server to upload a file to an FTP server if the system command
curl is available, otherwise it uses the R package curl. The
function upload_win_builder() uses upload_ftp() to upload
packages to the win-builder server.
Status code returned from system2() or
curl::curl_fetch_memory().
These functions were written mainly to save package developers the trouble of going to the win-builder web page and uploading packages there manually.