Upload folder using filepond - upload

I am trying add a functionality of uploading a folder using filepond but there is no such documentation for such,so how to upload a folder using filepond?

Related

Impossible to upload documents on folder of document libraries with custom path

We are connecting to a Sharepoint site having multiple document libraries. Some of the document libraries are created with a custom path. To do this we use the "url" property as described in the documentation (https://msdn.microsoft.com/EN-US/library/office/microsoft.sharepoint.client.listcreationinformation_members.aspx).
As a result, the document libraries have following path in our Sharepoint site:
/sites/customers/CUSTOM_PATH/DocLib1/
/sites/customers/CUSTOM_PATH/DocLib2/
/sites/customers/CUSTOM_PATH/DocLib3/
...
Those document libraries also have multiple folders.
When uploading a document, for instance, to the folder ABC of DocLib1, the documents are not uploaded to the ABC folder. Instead, we have new folders "DocLib1/ABC" being created in the document library.
To upload the document via the graph API we use following endpoint:
https://graph.microsoft.com/v1.0/drives/DRIVE_ID/items/ABC_FOLDER_ID:/FILE_NAME:/createUploadSession
Reproduction scenario:
Create a document library DocLib1 using a custom URL path ( see URL property in https://msdn.microsoft.com/EN-US/library/office/microsoft.sharepoint.client.listcreationinformation_members.aspx).
Create a folder ABC in that document library
Upload a document to that folder using https://graph.microsoft.com/v1.0/drives/DRIVE_ID/items/ABC_FOLDER_ID:/FILE_NAME:/createUploadSession
Upload the document to the returned uploadUrl
Expected result: The document is uploaded in the ABC folder of document library DocLib1
Actual result: The document is uploaded in new folders "DocLib1/ABC" created in document library DocLib1
Did you face that issue before ? Are you aware of any workaround to go over it ?
Best regards,
Cyril.

Upload multiple files in one shot

I'm currently using the file watchers features to generate a minified version of the file each time I modify a css file and I would like to be able to upload BOTH files at the same time.
Is there any way to link those files so I don't need to upload both of them manually ? I don't want them to be uploaded automatically though, only when I explicitly want it (upload to).
To be more specific, I need PhpStorm to upload
main.min.css
when I manually upload
main.css

Download image from database to project folder (Paperclip)

I want to download an image stored in database with paperclip and put it in my project folder. In app/assets/images for example.
Do you now a way in order to do that ?

Generate ZIP archive on the fly with files from Amazon S3 using Rails

I have Rails 4 application that implements photogallary fucntionality: users have some kind of albums with photos, files are stored at Amazon S3 bucket. Some users want to be able to download album photos as zip archive.
Is it possible to generate zip archive on the fly without downloading all files from S3 to temporary directory and zipping them there?
Thanks for help!

upload folder to WebDav server using ACConnect WebDav Project

I have been searching for WebDav library and found this, ACConnect WebDav Project on github
I am able to upload and download image/files. I have not been able to figure out how to upload a folder. If anybody has any ideas please share :)
Ok so found out that we cannot upload the complete folder directly using this library.
There is function [propReq createCollection:filePath]; which enables us to create folder on webdav server. Then we will need to upload files one by one to this newly created folder. In terms achieving uploading of complete folder :)

Resources