akamai / cli-netstorage

Apache License 2.0
15 stars 14 forks source link

file upload only support relative paths #15

Open fklasen opened 5 years ago

fklasen commented 5 years ago

The upload command only support relative paths which makes the user limited from where the command may execute (pretty much always from the root)

fklasen commented 5 years ago

additional info: it actually uses the absolut path fine, but it appends it to the upload path, effectively breaking it as the API/Netstorage won't accept double slash, throwing a 403.

From Wireshark: PUT /123456/test//Users/fklasen/Desktop/ns/test1.txt HTTP/1.1\r\n

jland-redhat commented 3 years ago

Seconded, It makes using this in any sort of automated way very difficult