Results 1 to 4 of 4

Thread: How to access to files from localhost

  1. #1
    Join Date
    Jan 2016
    Posts
    11
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default How to access to files from localhost

    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,

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,525
    Thanked 279 Times in 274 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to access to files from localhost

    Samba, FTP, SSH. What you want and what allows server.

  3. #3
    Join Date
    Jan 2016
    Posts
    11
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: How to access to files from localhost

    Can QUrl work?
    If yes, then how?

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,419
    Thanks
    37
    Thanked 1,546 Times in 1,496 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to access to files from localhost

    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,
    _

Similar Threads

  1. Replies: 13
    Last Post: 29th May 2015, 05:30
  2. Multiprocess access to QSetting files
    By lana in forum Newbie
    Replies: 5
    Last Post: 21st June 2014, 08:42
  3. access the network to read files
    By jaca in forum Newbie
    Replies: 3
    Last Post: 2nd March 2010, 14:00
  4. how to use ms access files
    By meozeren in forum Newbie
    Replies: 1
    Last Post: 30th July 2009, 17:35
  5. Access UI Components from different source files
    By cevou in forum Qt Programming
    Replies: 3
    Last Post: 14th February 2009, 00:44

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.