PDA

View Full Version : How to access to files from localhost



Nirvana
26th March 2016, 23:24
Hello, I want to make a remote control.
All I need to do is to read a file from localhost, for example;
192.168.1.245/filetoread


How is that possible?
Thanks,

Lesiok
27th March 2016, 10:16
Samba, FTP, SSH. What you want and what allows server.

Nirvana
27th March 2016, 12:37
Can QUrl work?
If yes, then how?

anda_skoa
27th March 2016, 13:50
QUrl is a class that represents an URL or URL, a string based identifier that has several components.

In your example there is a host and a path, but since you haven't specified a protocol it is impossible to tell which type of server you are using.

Cheers,
_