parsley72
parsley72

Reputation: 9037

Is it possible to detect a resumable FTP link via QNetworkAccessManager?

I know how to detect and resume downloads from an HTTP server (see Is it possible to detect the resume-able links via QNetworkAccessManager and my example code at https://github.com/parsley72/QtDownloadManager) but how do I do the same from an FTP server?

Upvotes: 0

Views: 276

Answers (1)

adnan kamili
adnan kamili

Reputation: 9445

Actually it is not, QNetworkAccessManager has minimal support for FTP and we cant use commands other than 'get'. You can certainly detect resumable link if you use QFTP (deprecated in Qt 5.0 and above).

I hope they add support for commands for other than 'Get' in QNetworkAccessManager so that there is no need of using QFTP. When that happens we can use "REST" command to verify whether link is resumable or not.

Upvotes: 2

Related Questions