Closed YvesCR closed 5 years ago
I have a script which call Rcurl that I want to automate.
RCurl::getURL(path_folder_sftp , userpwd = "my_pwd" , verbose=TRUE , ftp.use.epsv=TRUE , dirlistonly = T)
It works well in interactive mode.
when using cmd or powershell: C:/PROGRA~1/R/R-3.6.0/bin/Rscript.exe "C:/test/my_test.R" >> "C:/test/log/my_test.log" 2>&1
It fails and return following error:
Not sure if it a RCurl issue though.
closing issue, here. Issue was due to different environment :(
I have a script which call Rcurl that I want to automate.
RCurl::getURL(path_folder_sftp , userpwd = "my_pwd" , verbose=TRUE , ftp.use.epsv=TRUE , dirlistonly = T)
It works well in interactive mode.
when using cmd or powershell: C:/PROGRA~1/R/R-3.6.0/bin/Rscript.exe "C:/test/my_test.R" >> "C:/test/log/my_test.log" 2>&1
It fails and return following error:
Not sure if it a RCurl issue though.