thomasp85 / shinyFiles

A shiny extension for server side file access
196 stars 47 forks source link

Copying files from my computer to the shiny server-side #139

Closed KinSimon96 closed 4 years ago

KinSimon96 commented 4 years ago

Hello,

I'm sorry in advance if this question looks quite common or relatively simple, but I'm definitely not used to it.

To make it short, I would like to copy some files from my lap into the server root, so every user can have access and use them for genomic downstream analysis. Here is how it looks like when the app is deployed: Annotation 2020-05-14 161614

Assuming that 3 files are in this folder: ~/SC_RNA_Seq/200205_cr-mm-AVE4-3bis-Decontaminated, is it possible to copy them into one of the above folders ? (picture) Or even better, create a specific folder containing genomic files?

Thank you very much. Simon

vnijs commented 4 years ago

Nice idea but not possible with shinyFiles. It runs on the same machine as where shiny (server) runs (e.g., the server). You could use a regular fileInput to upload data from your laptop and write some code to save it where you want on the server. Then you could use shinyFiles to access files on the server.