xpipe icon indicating copy to clipboard operation
xpipe copied to clipboard

[Feature Request] Storage Connections like SFTP or s3 etc.

Open zandercodes opened this issue 11 months ago • 6 comments

A good feature would be if you can only bind sftp etc. I have tried to connect my StorageBox from Hetzner to access my backups. I connected this via SSH. Unfortunately the connection does not work when I click on the folder.

The StorageBox has no shell access only sftp access.

This is the error:

io.xpipe.core.process.ProcessOutputException: Shell did not start up in time as we did not receive any response.

Command not found. Use 'help' to get a list of available commands.

Command not found. Use 'help' to get a list of available commands.
at io.xpipe.core.process.ProcessOutputException.withParagraph(ProcessOutputException.java:23)
at io.xpipe.ext.proc.util.e.bO(SourceFile:1457)
at io.xpipe.ext.proc.n.p(SourceFile:1676)
at io.xpipe.ext.proc.ssh.o.p(SourceFile:82)
at io.xpipe.ext.proc.n.D(SourceFile:575)
at io.xpipe.ext.proc.n.start(SourceFile:269)
at io.xpipe.core.store.ConnectionFileSystem.open(ConnectionFileSystem.java:39)
at io.xpipe.app.browser.file.BrowserFileSystemTabModel.lambda$init$4(BrowserFileSystemTabModel.java:98)
at io.xpipe.app.util.BooleanScope.executeExclusive(BooleanScope.java:22)
at io.xpipe.app.browser.file.BrowserFileSystemTabModel.init(BrowserFileSystemTabModel.java:93)
at io.xpipe.app.browser.BrowserFullSessionModel.openFileSystemSync(BrowserFullSessionModel.java:222)
at io.xpipe.app.browser.BrowserFullSessionModel.lambda$openFileSystemAsync$12(BrowserFullSessionModel.java:208)
at io.xpipe.app.util.ThreadHelper.lambda$runFailableAsync$1(ThreadHelper.java:45)
at io.xpipe.app.util.ThreadHelper.lambda$wrap$0(ThreadHelper.java:22)
at java.lang.VirtualThread.run(VirtualThread.java:329)

zandercodes avatar Feb 09 '25 12:02 zandercodes

Yeah that is a limitation of the current shell-based approach. I can look into implementing that as well, but that would require a lot of work as everything is designed around shells right now.

crschnick avatar Feb 09 '25 12:02 crschnick

Yeah that is a limitation of the current shell-based approach. I can look into implementing that as well, but that would require a lot of work as everything is designed around shells right now.

Maybe you can plan this in the future when there is time.

zandercodes avatar Feb 09 '25 13:02 zandercodes

In 15.2 I added recognition for the hetzner storage box, so you should be able to open this in a terminal at least

crschnick avatar Feb 27 '25 10:02 crschnick

Same request here. I have few clients on shared hosting providers with only FTP or SFTP access enabled.

Seb33300 avatar Apr 30 '25 16:04 Seb33300

@crschnick any news?

zandercodes avatar May 19 '25 10:05 zandercodes

It's on the TODO list, along with a lot of other stuff. The main reason why this isn't implemented yet is that this would take a lot of work compared to many other features

crschnick avatar May 19 '25 23:05 crschnick

This is now released

crschnick avatar Nov 16 '25 11:11 crschnick

At least for SFTP. S3 will be handled in a different update that focuses on AWS

crschnick avatar Nov 16 '25 11:11 crschnick

@crschnick are we able to select what protocol to use the filebrowser with on a vm? sftp (specifically with Filezilla) works significantly faster than regular ssh connection(whichever one xpipe uses) when trying to move a large number of files or large amounts of data. if we can select sftp for large file transfers it would completely remove the need for filezilla for this.

Thanks for all the great work!

dev-Blaze avatar Nov 18 '25 21:11 dev-Blaze

That can be added, although that would open a separate file browser tab

crschnick avatar Nov 18 '25 21:11 crschnick

@dev-Blaze You can try https://github.com/xpipe-io/xpipe-ptb, I added a menu item in the file browser to open a dir in sftp

crschnick avatar Nov 19 '25 01:11 crschnick

im assuming this is the menu item, it seems to be greyed out for every vm I try it on. theyre all debian/ubuntu Endpoints.

Image

yshah-aromatech avatar Nov 20 '25 22:11 yshah-aromatech

@yshah-aromatech No, that is not the button, that is the general directory options button which is only enabled if you are in a directory. This is the button: https://docs.xpipe.io/guide/ssh#sftp-sessions

However, this one is indeed broken for VMs. It will be showing up for VMs as well in the next update

crschnick avatar Nov 20 '25 22:11 crschnick

@yshah-aromatech This button should now show up for VMs as well

crschnick avatar Nov 21 '25 22:11 crschnick

@crschnick amazing, thanks so much! this allows me to do these operations directly inside of xpipe and not have use filezilla going forward at all.

great work.

yshah-aromatech avatar Nov 21 '25 22:11 yshah-aromatech

I have tested the ptb on both Macos 26.1 and ubuntu 25.10 and sftp works as intended. didn't have any issues with transferring data of 60k small sized files and 2k relatively large files.

I'm not sure how sftp works under the hood but I know filezilla can do multi-file transfers at once and this can speed up transfers of large number files and I believe xpipe is doing these 1 file at a time atm. might be completely wrong here, also possibly quite out of scope. again not a big deal as this is already much much faster than basic ssh data transfers.

Thanks again!

yshah-aromatech avatar Nov 21 '25 22:11 yshah-aromatech

Yeah right now it is not possible to do multiple transfers at the same time in one tab as everything is one session. You can however just open multiple tabs and do stuff in parallel there.

Not sure whether it will be possible to do that in one tab in the future, that would require some rework

crschnick avatar Nov 22 '25 00:11 crschnick