Rsync task, GUI broken spaces in path handling

Sasquatch

Explorer
Joined
Nov 11, 2017
Messages
87
I thought i'll write here before submitting bug report.

I'm trying to create pull rsync task over ssh
remote path have space in it(not my choice or decision to make)
gui generates this:
"user"@host:\""/path/stupid path/"\"
instead of
"user"@host:"/path/stupid path/"

Spaces in local path are handled correctly

Any idea how to fix it, other than writing script and running cron job?
 
Last edited:

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Submit a bug
 

Sasquatch

Explorer
Joined
Nov 11, 2017
Messages
87
Got it working but:
if I leave path in gui as :
/path/stupid\ path/
it saves ok but won't run
after adding "":
"/path/stupid\ path/"
gui won't save with ticked box 'validate remote path',
but task will run with this monster in it:
\"""/path/stupid\ path/""\"

I'll submit bug tomorrow to tired for this ;(
 

Sasquatch

Explorer
Joined
Nov 11, 2017
Messages
87
Cant submit bug, both redmine website and freenas gui are crashing on me, maybe too fresh account?Registered, activated and logged in literaly 10 minutes before trying.

NVM just read welcome note from redmine.ixsystems.com. Freenasgui isn't updated yet, obviously. :)
 
Top