[SailfishDevel] FTP download with qtquick possible ?
Alejandro Exojo
suy at badopi.org
Sat Jun 21 14:05:38 UTC 2014
El Friday 20 June 2014, Matthias Barmeier escribió:
> is it possible to download a file via qml(JS) from a server and store
> the file on the sdcard ?
It is possible in the same degree that almost everything is possible. That
doesn't mean you can do absolutely everything in the QML/JS side of things,
because you rarely should do it. You should limit yourself to the UI in QML,
and couple the UI with a more powerful logic in C++ (or in Python, if you give
PyOtherSide a try).
With Qt/C++, it was possible to use the QFtp, but is no longer available in
Qt5. You can find some solutions, though: https://duckduckgo.com/?q=qftp+qt5
--
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net
More information about the Devel
mailing list