[R-pkg-devel] Error in curl: Failed FTP upload: 550

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Fri Feb 21 14:30:03 CET 2020


On Fri, 21 Feb 2020 14:04:24 +0100
Gianmarco Alberti <gianmarcoalberti using gmail.com> wrote:

> I have also used:
> check_win_devel() and check_win_release() out of devtools, but I keep
> getting the following message:
> Error in curl::curl_fetch_memory(url, handle = h) :
>  Failed FTP upload: 550

Does it work if you build the package manually (i.e. issue the command
R CMD build . in package directory), then upload the resulting file
using cURL or any other FTP client?

curl -T yourfile.tar.gz ftp://win-builder.r-project.org/R-devel/

You can also try the alternative upload page at
https://win-builder.r-project.org/upload.aspx

If manual FTP uploading works while devtools::check_win_devel()
doesn't, some debugging may be required. For example, try

trace(devtools:::upload_ftp, quote({str(file); str(url)}))

before running check_win_devel() or check_win_release() to see which
arguments does devtools:::check_win call upload_ftp with.

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list