我正在尝试在CRAN上传第一个版本的软件包,但我无法通过FTP上传。
似乎我没有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.
我尝试使用两个文件浏览器(Dolphin和Konqueror),两个基于GUI的FTP客户端(FireFTP和GFTP)以及良好的ol'ftp
命令行界面,但没有成功。
我使用anonymous
作为用户名,使用我的电子邮件地址,或者根本不使用任何密码。
我还尝试使用curl
并根据this post明确禁用EPSV:
curl --disable-epsv -T clhs_0.4-2.tar.gz ftp://cran.R-project.org/incoming/
但我仍然收到访问拒绝错误:
curl: (25) Failed FTP upload: 550
知道我做错了吗?
答案 0 :(得分:3)
我终于设法上传了我的软件包:正如预期的那样,这对我来说是一个问题。
似乎我在工作时背后的代理将是责备,并以某种方式阻止了上传。奇怪的是,因为我过去一直在向外部FTP站点上传内容,而且我很确定端口21没有被阻止。
但无论如何,我设法将我的存档从直接的互联网连接上传到ftp://cran.R-project.org/incoming/
而没有问题。
谢谢,
皮埃尔