updog
updog copied to clipboard
hide base_directory, ease use CLI tools
Hey there!
I simplified the request that uploads a file, to make it easier to use with command line tools
- The base directory is no longer leaked/needed
- The 'path' variable is no longer needed
- The 'Referer' header is no longer needed
Now you can download and upload with
# upload
curl -k -u ':MyPassword' -F 'file=@/tmp/file.txt' https://192.168.0.10/upload
# download
wget --no-check-certificate --user '' --password 'MyPassword' https://192.168.0.10/test.txt
Bye!