PDA

View Full Version : file_get_contents in qml



ravandi
11th March 2017, 17:57
hello
I need to similar code in the Qml:


$zipf=file_get_contents('http://site.ir/file.zip');
file_put_contents('brooz/brooz.zip', $zipf);

thanks

anda_skoa
12th March 2017, 13:10
QFile::copy(), no need to read and write the content just to duplicate a file.

Cheers,
_