Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add support for SFTP #2407

Open
Tombstone2K opened this issue Nov 21, 2020 · 19 comments
Open

Feature: Add support for SFTP #2407

Tombstone2K opened this issue Nov 21, 2020 · 19 comments
Labels
area - file system area - network drives Features or bug reports relating to network drives

Comments

@Tombstone2K
Copy link

Tombstone2K commented Nov 21, 2020

Requirements

  • Enabled add new SFTP connections (should follow the same UX as FTP)
@benjione
Copy link

I think this is a duplicate of #1629 and was merged with #1342 . However, FTP is not the same as SFTP. I suggest merging this with #1342 .

@ttmx
Copy link

ttmx commented Nov 18, 2021

This would be extremely nice and would remove the need for Filezilla and the likes, making it a much more uniform and convenient experience.

@MrPeanut12 MrPeanut12 mentioned this issue Dec 10, 2021
@yaira2 yaira2 moved this to 🆕 New in Files task board Sep 8, 2022
@Josh65-2201 Josh65-2201 changed the title SFTP support Feature: SFTP support Sep 9, 2022
@Josh65-2201 Josh65-2201 moved this from 🆕 New to 📋 Planning stage in Files task board Sep 9, 2022
@yaira2 yaira2 changed the title Feature: SFTP support Feature: Add support for SFTP Sep 15, 2022
@yaira2
Copy link
Member

yaira2 commented Sep 15, 2022

What are the requirements for this feature (eg. how do you expect this feature to work)?

@hez2010
Copy link
Member

hez2010 commented Sep 15, 2022

We can integrate SSH.NET and do what we have done for FTP before.
But we need to wait for the next release of SSH.NET for asynchronous IO support.

@yaira2
Copy link
Member

yaira2 commented Sep 15, 2022

Isn't our current implementation of FTP a little slow or am I thinking of regular network drives?

@hez2010
Copy link
Member

hez2010 commented Sep 15, 2022

Isn't our current implementation of FTP a little slow

You're right. I'm expecting FluentFTP to use IAsyncEnumerable to list files from FTP in the future, instead of listing all entries at once.

@yaira2 yaira2 moved this from 📋 Planning stage to 🔖 Ready to build in Files task board Sep 29, 2022
@yaira2
Copy link
Member

yaira2 commented Apr 3, 2023

We can integrate SSH.NET and do what we have done for FTP before. But we need to wait for the next release of SSH.NET for asynchronous IO support.

@hez2010 has this been released yet?

@hez2010
Copy link
Member

hez2010 commented Apr 4, 2023

We can integrate SSH.NET and do what we have done for FTP before. But we need to wait for the next release of SSH.NET for asynchronous IO support.

@hez2010 has this been released yet?

Unfortunately not yet. But I think we can use a custom internal fork.

@BLACK4585
Copy link

Is there any progress on this?

@Josh65-2201
Copy link
Member

No one has looked into this yet.

@itsWindows11
Copy link
Contributor

itsWindows11 commented Nov 18, 2023

I'll try looking into it. Is there a filesystem abstraction and stuff that I should do to properly implement everything as possible? I recall seeing many Win32 specific stuff in the codebase that don't seem to be abstracted away well.

SSH.NET now has async support I think.

cc @yaira2

@wildantea
Copy link

yeah, it would nice if sftp is supported. i found this app, for reference
https://apps.microsoft.com/detail/owlfiles-file-manager/9MSQ3SZK42KP?hl=en-us&gl=US
it has supported sftp.

@TimoNotThy
Copy link

@itsWindows11 How is this going?

@itsWindows11
Copy link
Contributor

Time constraints on my end slowed down things, plus exams are coming up thus slowing down progress more in the next few weeks. I've got some of the basics ready already for SFTP though, will do a PR by the end of this month.

Sorry for any inconveniences caused here.

@TimoNotThy
Copy link

No worries, was just wondering if this was coming along or not

@Josh65-2201 Josh65-2201 moved this from 🔖 Ready to build to 🏗 In progress in Files task board May 26, 2024
@Arlodotexe
Copy link

Arlodotexe commented Jun 11, 2024

Files is using an older fork of the SecureFolderFs storage abstraction, which itself was a fork of the OwlCore.Storage project, an early adoption package for the CommunityToolkit.Storage proposal.

I've worked with SecureFolderFS to incorporate their feedback and remove the need to maintain a separate fork, I would suggest we do the same for Files so we aren't duplicating planned work: Arlodotexe/OwlCore.Storage#12, Arlodotexe/OwlCore.Storage#55

@Josh65-2201 Josh65-2201 added the area - network drives Features or bug reports relating to network drives label Jun 19, 2024
@pnoelfr
Copy link

pnoelfr commented Oct 4, 2024

It's GOOD ??

sshnet/SSH.NET#1415

@0x5bfa
Copy link
Member

0x5bfa commented Oct 6, 2024

From @tmds, @itsWindows11 How do you think?

@itsWindows11
Copy link
Contributor

@0x5bfa
#15477 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area - file system area - network drives Features or bug reports relating to network drives
Projects
Status: 🔖 Ready to build
Development

No branches or pull requests