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

How to implement SFTP resuming transfer using mina-sshd? #447

Open
G-Fantastic opened this issue Jan 2, 2024 · 1 comment
Open

How to implement SFTP resuming transfer using mina-sshd? #447

G-Fantastic opened this issue Jan 2, 2024 · 1 comment

Comments

@G-Fantastic
Copy link

In certain situations, network interruptions might lead to transfer interruptions. I'd like to avoid restarting file upload or download and instead resume from where it was interrupted. How can this be achieved using mina-sshd?

@lgoldstein
Copy link
Contributor

lgoldstein commented Feb 19, 2024

Simple

  • Remember the last offset that you have successfully uploaded/downloaded
  • Re-establish the client connection
  • Re-open the relevant file handle
  • Seek to the specified last offset
  • Continue uploading/downloading...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants