jotta / jotta-cli-issues

45 stars 1 forks source link

Archived file gets backslash as a prefix of its filename #45

Closed albertony closed 5 years ago

albertony commented 6 years ago

Version of jottad/jotta-cli: 0.4.4986

I am uploading a file using the following command:

jotta-cli.exe archive D:\Backup\subfolder\filename.7z --remote Backup

The file is uploaded to the Backup folder in my Archive as expected, but looking in the Web UI the file has name "\filename.7z" - with an extra backslash prefix. When I enter the file rename function (in Web UI) it presents the current name as \\filename.7z (extra backslash for escaping?). Deleting both backslashes, renaming the file, works from Web UI.

cpkio commented 5 years ago

I confirm this behaviour with jotta-cli.exe archive filename.7z with one addition — sometimes those extra leading slashes cannot be deleted, the webUI throws an error «Filename already exists» no matter what name you're renaming to.

Kimbsen commented 5 years ago

This should be fixed in version 0.5 which we released yesterday.