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

DownloadFile with restart option? #42

Closed
aamirMasood opened this issue Feb 1, 2017 · 2 comments
Closed

DownloadFile with restart option? #42

aamirMasood opened this issue Feb 1, 2017 · 2 comments
Labels

Comments

@aamirMasood
Copy link

Hi there,

The OpenRead method is now obsolete and DownloadFile is recommended instead. But what about OpenRead(string path, FtpDataType type, long restart)? There is no way to use DownloadFile with restart option. The workaround is to use the static OpenRead method but that is only a workaround. Any other options / plans?

@robinrodricks
Copy link
Owner

Thank you for this info. DownloadFile is a new API and to get info about such advanced use cases I have left OpenRead still in there. It will be supported until all use cases are tackled. For now you can still use OpenRead. I will improve DownloadFile with resuming support and get back when its ready.

@robinrodricks
Copy link
Owner

As of now its better to use OpenRead() for this advanced use case.

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

No branches or pull requests

2 participants