0

I'm working with data being dumped into an SFTP server on a daily basis. It inserts each file on a daily basis as such:

TEST_TSMVR_NG_Contacts20211025.zip

And within some of the .zip files (though not all of them. Some days nothing will be in the .zip files) will be a .txt file that looks like such:

TEST_TSMVR_NG_Contacts20211025.txt

What I'm trying to do is figure out the most efficient way of getting these files from the SFTP and into a dataframe. What would be the most efficient way to accomplish such a request?

  • Does this answer your question? "[Using R to download zipped data file, extract, and import data](https://stackoverflow.com/a/3053883/90527)", "[Using R to download gzipped data file, extract, and import data](https://stackoverflow.com/q/7044808/90527)", "[Automate zip file reading in R](https://stackoverflow.com/q/8986818/90527)", "[Extract certain files from .zip](https://stackoverflow.com/q/32870863/90527)" – outis Oct 27 '21 at 10:06

0 Answers0