Support downloading remote files to a server via the API

Co-authored-by: Dane Everitt <dane@daneeveritt.com>
This commit is contained in:
Caleb
2020-12-15 22:59:18 -05:00
committed by GitHub
parent 84c05efaa5
commit 8f26c31df6
3 changed files with 69 additions and 7 deletions

View File

@@ -83,6 +83,7 @@ func Configure() *gin.Engine {
files.PUT("/rename", putServerRenameFiles)
files.POST("/copy", postServerCopyFile)
files.POST("/write", postServerWriteFile)
files.POST("/writeUrl", postServerDownloadRemoteFile)
files.POST("/create-directory", postServerCreateDirectory)
files.POST("/delete", postServerDeleteFiles)
files.POST("/compress", postServerCompressFiles)