Page 1 of 1

Operations on Remote VFS

Posted: Thu Jun 08, 2017 7:13 pm
by hugo187
I have a few requests please. I might have mentioned some of them over email few months back, but it's good to have them mentioned in the forum as well. They were low priority at the time, but perhaps it's now time to review them again now?

1. File Attributes on SFTP and other VFSs that could support it.

2. Symlinks on SFTP and other VFSs that could support it.

3. Make Tools to work on all VFSs that could support it. Ideally, have the option to pass selected files to the tool as parameters either in the form of a link (e.g., sftp://user@host/path) or in the form of a path of the local copy of the file, which is watched for changes (same way as External Editor works). For example making diffs before uploading files to SFTP is very common and this feature would make it much easier.

4. This is not VFS related, just a small cosmetic change. I would appreciate if theme editor allowed different colour for Size/Date columns in the list mode to allow the same look like Finder where Size/Date columns are lighter colour than Name column.

Many Thanks

Re: Operations on Remote VFS

Posted: Thu Jun 15, 2017 2:10 am
by mike
Hi hugo187,
hugo187 wrote:
Thu Jun 08, 2017 7:13 pm
I have a few requests please. I might have mentioned some of them over email few months back, but it's good to have them mentioned in the forum as well. They were low priority at the time, but perhaps it's now time to review them again now?
I'd gladly get on with it, but I'm doing a major reconstruction of a subsystem which provides a functionality of file operations.
It might take a few months - changes aren't so fast within an 85KSLoC app :(

On the other hand, as file operations will be basically re-written, it's possible to extend a functionality of particular ones (i.e. file attributes changing and symlinks manipulation) to support VFSes on par with a native POSIX.

Re: Operations on Remote VFS

Posted: Mon Jun 19, 2017 11:27 am
by hugo187
Thanks for the good news, Mike. I don't mind waiting.

Re: Operations on Remote VFS

Posted: Sat Jul 08, 2017 3:05 am
by mike
Some progress here:
hugo187 wrote:
Thu Jun 08, 2017 7:13 pm
2. Symlinks on SFTP and other VFSs that could support it.
I've added a support for symlinks creation and/or alteration for SFTP.

It was quite entertaining thing to write since OpenSSH and ProFTPD have invalid parameters order in their implementation of the SSH_FXP_SYMLINK request :)

Re: Operations on Remote VFS

Posted: Sun Jul 09, 2017 2:12 pm
by hugo187
Great stuff. Looking forward to test this.

Re: Operations on Remote VFS

Posted: Tue Aug 08, 2017 2:14 am
by mike
1,2 is done in 1.2.2

Re: Operations on Remote VFS

Posted: Tue Aug 08, 2017 9:34 am
by hugo187
I have been using 1.2.2 about half a day now and everything works as expected. No issues so far. Very happy with the other new features as well. Many Thanks!