Sunflower icon indicating copy to clipboard operation
Sunflower copied to clipboard

Not opens file from ftp in external editor

Open Genues opened this issue 8 years ago • 5 comments

Hi! Thank you for your application. In new version 3, not open any file from ftp, becouse sunflower transmit bad file path. Example: sunflower transmit path "/home/user/ftp:/user@myserver/file.txt", but right path something like "/run/user/1000/gvfs/ftp:host=myserver,user=file.txt". I test in Archlinux 64 bit.

Genues avatar Jan 18 '16 19:01 Genues

Refinement, it concerns the opening of a file by "Enter". Opent file by F4 not work now.

Genues avatar Jan 18 '16 19:01 Genues

Thanks for reporting this issue. We'll see what can be done with this. Hardest problem with this is detecting whether editor supports URI or not. For example GEdit will open ftp:// but some others won't. Partial solution is to download file to /tmp and then edit, reupload if timestamp changes but detecting whether this operation is needed is the hard part.

MeanEYE avatar Jan 18 '16 20:01 MeanEYE

I work in geany. In the previous version it worked fine.

Genues avatar Jan 18 '16 21:01 Genues

Maybe it bad work - i replace command open editor in associations.py, take it from previos version. Now open file by F4 work. Sorry that got into your code.

Genues avatar Jan 19 '16 07:01 Genues

Okay thanks.

MeanEYE avatar Jan 19 '16 08:01 MeanEYE