flood
flood copied to clipboard
Problems with Win paths when adding new files
1492566910 E 723BC28F9B6F924CCA68CCDFF96B6190566CA6B4->file_list: Failed to prepare file list: Could not create directory 'c:downloadsrTorrentdownload/kali-linux-2016.2-amd64': No such file or directory
1492566910 E Could not resume download: Could not create directory 'c:downloadsrTorrentdownload/kali-linux-2016.2-amd64': No such file or directory
Path is a correct one, folders do exist and i have sufficient permissions.
Problem is that there's no escaping of the backslash thus it renders path non existent/invalid.
If we write it like this it'll be just fine.
Maybe use normalize_path API to correct the issue.
Thanks for the issue! I'll fix ASAP.
Quite a few time since this issue is open.
@jfurrow Is this fixed now ?
@vBm Can you test with last version from git ?
Probably the same since the separator is hardcoded here https://github.com/Flood-UI/flood/blob/aa095625ab8c2255e309b5466e026167a73d3b67/client/src/javascript/components/general/filesystem/FilesystemBrowser.js#L36
@jfurrow seems like the separator is still hard-coded in 2019 https://github.com/Flood-UI/flood/blob/89934ab615d83d72b3db3d46e231e6a5c52f827a/client/src/javascript/components/general/filesystem/FilesystemBrowser.js#L35