Uploading a whole folder

Another solution is to do the following:

  • Create a ZIP file of the files or folders you want
  • Upload it to the assets folder in your project, click it and click “Copy Url”
  • Navigate to “Settings > Advance Options > Open Console” in your project
  • In the console, first we want to pull the zip file from the url
$ wget -O file.zip https:///url-to-your-zip
  • Then we want to extract it to the current directory
$ unzip file.zip -d .
  • Then we want to remove the zip file
$ rm file.zip
  • Finally we want to refresh our app so the new files are shown in the editor
$ refresh

That’s it, hope this helps!

33 Likes