go-simple-upload-server icon indicating copy to clipboard operation
go-simple-upload-server copied to clipboard

Upload to Subdirectory not possible

Open keefien opened this issue 5 years ago • 1 comments

At the moment there is no upload to Subdirectories possible, uploaded files will be always stored in the root directory of /upload. If a curl with /dir/file is executed you will always get "curl: (22) The requested URL returned error: 404 "

See following examples: curl -X PUT -k -f -Ffile=@ <URL>/files//?token= or curl -X POST -k -f -Ffile=@ <URL>/upload/?token=

keefien avatar Jan 13 '20 10:01 keefien

@keefien there is PR #15 that will probably solve this (I also need it), but I see it just sits there and doesn't get merged :-(

cr1st1p avatar Jan 20 '20 09:01 cr1st1p

v2 now supports upload to & get from sub directories. Please consider using v2.

mayth avatar Mar 24 '24 12:03 mayth