通过Rcurl上传文件

时间:2019-05-13 07:12:41

标签: r centos7 rcurl

我尝试将png上载到我的服务器,但是它告诉我不能更改到目录。 Centos中public_html的约定是什么。因此,它提到“服务器拒绝您更改到给定目录”

ftpUpload(what = "http://skiweather.eu:8787/files/R/devel/PLOTS/snowalert_today_0.png",
          to = "ftp://149.210.237.45/home/skiweather/domains/skiweather.eu/public_html/snowalert_today.png",
          verbose = TRUE,
          userpwd = "skw:Si24343!", prequote="CWD  /home/skiweather/domains/skiweather.eu/public_html/")

0 个答案:

没有答案