我尝试将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/")