Copying files from Local Dir to Server using webapp?

20 Views Asked by At

I am building a webapp that requires users to upload the file directories from their local machine. The webapp is deployed from a remote server via Docker. The way it works is like this: From my local machine, I ssh into the server; from server I build the docker and run it.

Now, whenever somebody log in, they should be able to upload the whole directory from their local machine, while keeping the relative path of the files of the uploaded dir. What are some of the possible ways to do this?

I have tried UPPY but I can only upload individual files, and not the whole directory.

Also, I cannot mount the volumes because the docker is deployed from the server, and not my local machine.

0

There are 0 best solutions below