1

我在 Windows 框的命令提示符下使用了这段代码(Linux 机器正在工作):

ftp -u ftp://cran.R-project.org/incoming/ qdap_0.1.0.tar.gz

我使用了以下信息:

https://github.com/hadley/devtools/wiki/Release
http://cran.r-project.org/doc/manuals/R-exts.html#Submitting-a-package-to-CRAN

我希望看到它出现在这里:ftp: //cran.r-project.org/incoming/但我没有看到它。

我只是不耐烦还是我的包裹没有上传?这是命令行输出:

C:\Users\trinker\GitHub>ftp -u ftp://cran.R-project.org/incoming/ qdap_0.1.0.tar
.gz

Transfers files to and from a computer running an FTP server service
(sometimes called a daemon). Ftp can be used interactively.

FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-A] [-x:sendbuffer] [-r:recvbuf
fer] [-b:asyncbuffers] [-w:windowsize] [host]

  -v              Suppresses display of remote server responses.
  -n              Suppresses auto-login upon initial connection.
  -i              Turns off interactive prompting during multiple file
                  transfers.
  -d              Enables debugging.
  -g              Disables filename globbing (see GLOB command).
  -s:filename     Specifies a text file containing FTP commands; the
                  commands will automatically run after FTP starts.
  -a              Use any local interface when binding data connection.
  -A              login as anonymous.
  -x:send sockbuf Overrides the default SO_SNDBUF size of 8192.
  -r:recv sockbuf Overrides the default SO_RCVBUF size of 8192.
  -b:async count  Overrides the default async count of 3
  -w:windowsize   Overrides the default transfer buffer size of 65535.
  host            Specifies the host name or IP address of the remote
                  host to connect to.

Notes:
  - mget and mput commands take y/n/q for yes/no/quit.
  - Use Control-C to abort commands.
4

1 回答 1

3

(这以前是一条评论,现在正在转移到这里的答案。)

  1. 确保您没有查看浏览器之前缓存的页面。

  2. 要执行实际上传,您可能需要尝试免费的跨平台FileZilla FTP 软件。您可以上传并同时查看机器上的源目录(在左窗格中)和 CRAN 上的目标目录(在右窗格中)的内容,并在顶部窗格中查看正在发生的事情的日志和进度指示器底部窗格。它还有一个站点管理器来存储您上传到的站点,因此您无需在每次上传时都输入它们的 URL。

于 2013-01-31T12:39:32.337 回答