View Full Version : QFtp reading file from FTP
Zergi
25th March 2008, 12:40
Hi
I have question, It is possiable to read file from FTP server without downloading him?
Best regards
ChristianEhrlicher
25th March 2008, 13:06
Since QFtp::get() takes an QIODevice you can use a QBuffer instead a QFile.
Zergi
27th March 2008, 15:41
Hmm I was trying to do it, but i simply dont know how... Can You give me a little example?;]
best Regards
ChristianEhrlicher
27th March 2008, 15:55
I don't know what I should write. Instantiate a QBuffer, open it with ReadWrite permission, give it to QFtp and wait till QFtp is finished.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.