Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when uploading package to CRAN incoming: 550 access denied

Tags:

r

ftp

cran

I'm trying to upload a package on CRAN for its first release, but I can't get past the FTP upload.

It seems I do not have write access to ftp://cran.r-project.org/incoming:

550 Access is denied.
Could not download /home/roudierp/Documents/CODE/lhs/fresh_meat/clhs_0.4-2.tar.gz from local filesystem
There were 1 files or directories that could not be transferred. Check the log for which items were not properly transferred.

I tried with two file browsers (Dolphin and Konqueror), two GUI-based FTP clients (FireFTP and GFTP) and with good ol' ftp command line interface, with no success.

I used anonymous as the user name, and my email address or nothing at all as passwords.

I also tried to use curl and explicitly disable EPSV as per this post:

curl --disable-epsv -T clhs_0.4-2.tar.gz ftp://cran.R-project.org/incoming/

But I still get an access denial error:

curl: (25) Failed FTP upload: 550

Any idea what I'm doing wrong?

like image 978
Pierre Avatar asked Jan 11 '12 06:01

Pierre


1 Answers

I finally managed to upload my package: as expected, it was a problem on my side.

It seems that the proxy behind which I am while at work would be to blame, and somehow blocked the upload. Weird stuff, as I've been uploading stuff to external FTP sites in the past, and as I'm pretty sure port 21 is not blocked.

But anyway, I managed to upload my archive to ftp://cran.R-project.org/incoming/ from a direct internet connection whithout problem.

Thanks,

Pierre

like image 103
Pierre Avatar answered Oct 16 '22 00:10

Pierre