简体   繁体   English

将包上传到CRAN传入时出错:550访问被拒绝

[英]Error when uploading package to CRAN incoming: 550 access denied

I'm trying to upload a package on CRAN for its first release, but I can't get past the FTP upload. 我正在尝试在CRAN上传第一个版本的软件包,但我无法通过FTP上传。

It seems I do not have write access to ftp://cran.r-project.org/incoming : 好像我没有对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. 我想有两个文件浏览器(海豚和Konqueror),两个基于GUI的FTP客户端(FireFTP的和的gftp),具有良好的醇” ftp命令行界面,没有成功。

I used anonymous as the user name, and my email address or nothing at all as passwords. 我使用anonymous作为用户名,我的电子邮件地址或根本没有任何密码。

I also tried to use curl and explicitly disable EPSV as per this post : 我也尝试使用curl并根据这篇文章明确禁用EPSV:

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? 知道我做错了什么吗?

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. 奇怪的是,因为我过去一直在向外部FTP站点上传内容,而且我很确定端口21没有被阻止。

But anyway, I managed to upload my archive to ftp://cran.R-project.org/incoming/ from a direct internet connection whithout problem. 但无论如何,我设法上传我的档案到ftp://cran.R-project.org/incoming/从直接的互联网连接没有问题。

Thanks, 谢谢,

Pierre 皮埃尔

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 请注意,将新版本的 package 发送到 cran “检查 CRAN 传入可行性...... Note_to_CRAN_maintainers”不会让我将其发送到 CRAN - note when sending new version of package to cran "checking CRAN incoming feasibility ... Note_to_CRAN_maintainers" wont let me send it to CRAN 仅当我将 package 提交给 CRAN 时才会出错 - Error only when I submit my package to CRAN CRAN封装取决于Bioconductor封装安装错误 - CRAN Package Depends on Bioconductor Package Installing error R package 拒绝访问安装错误 - R package access denied installation error 使用 taskscheduleR 包安排任务时访问被拒绝 - Access Denied when scheduling a task with taskscheduleR package 检查错误--as-cran“没有名为...的包” - Error in check --as-cran “there is no package called …” 在R中使用segue软件包出现“访问被拒绝”错误 - “Access Denied” error using segue package in R 在 MacOS/CRAN 上构建 R 包时包含 boost tokenizer.hpp 文件时出错 - Error in including boost tokenizer.hpp file when building R package on MacOS/CRAN 使用--as-cran在R软件包检查中出现“格式错误”错误。 使用Rstudio构建的软件包 - 'Malformed' Error on R package check with --as-cran. Package built with Rstudio 在 CRAN 包中包含非 CRAN 包 - Include non-CRAN package in CRAN package
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM