flood icon indicating copy to clipboard operation
flood copied to clipboard

Problems with Win paths when adding new files

Open vBm opened this issue 7 years ago • 4 comments

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.

2017-04-19_03-56-16

If we write it like this it'll be just fine.

2017-04-19_03-59-25

Maybe use normalize_path API to correct the issue.

vBm avatar Apr 19 '17 02:04 vBm

Thanks for the issue! I'll fix ASAP.

jfurrow avatar Apr 19 '17 04:04 jfurrow

Quite a few time since this issue is open.

@jfurrow Is this fixed now ?

@vBm Can you test with last version from git ?

noraj avatar Dec 25 '17 11:12 noraj

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

bbashy avatar Aug 14 '18 15:08 bbashy

@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

noraj avatar Jul 10 '19 23:07 noraj