fichier: support downloading password protected files and folders

This commit is contained in:
Florian Penzkofer
2021-05-16 16:28:18 -05:00
committed by buengese
parent 062919e08c
commit 92b3518c78
3 changed files with 30 additions and 7 deletions

View File

@@ -19,6 +19,7 @@ type ListFilesRequest struct {
type DownloadRequest struct {
URL string `json:"url"`
Single int `json:"single"`
Pass string `json:"pass,omitempty"`
}
// RemoveFolderRequest is the request structure of the corresponding request