I have some
R code, and at one part, I'm connecting to an sftp and trying to download some files. The files that need to be downloaded are determined by the R code and can either be only one or multiple. I'm trying to use
mget to download the files, but it doesn't seem to be working:
sftp> mget abc.PDF def.PDF ghi.PDF Fetching /abc.PDF to def.PDF
It is only downloading abc.PDF and storing it as def.PDF on the local directory instead of downloading all three files. What am I doing worng?