Results 1 to 3 of 3

Thread: transfer file via wi fi

  1. #1

    Default transfer file via wi fi

    Hi

    I m very very very beginner.

    I have to transfer file via wi-fi.

    My two pc have linux os.

    For example,
    wi fi network is "RETE", password is "PAROLA",
    sender has IP 172.168.40.50 and receiver has 172.168.40.51
    The name of file is "test.txt"

    I m using this code:

    https://www.qtcentre.org/threads/482...088#post217088
    (i change name of file into define)


    but it doesn work

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: transfer file via wi fi

    Quote Originally Posted by montanaro View Post
    I'm using this code:

    https://www.qtcentre.org/threads/482...088#post217088
    (i change name of file into define)

    but it doesn work
    What about it doesn't work?
    BTW: That is not a good example of the simplest way to achieve this. There is no need for QThread to achieve a file transfer.
    "We can't solve problems by using the same kind of thinking we used when we created them." -- Einstein
    If you are posting code then please use [code] [/code] tags around it - makes addressing the problem easier.

  3. #3

    Default Re: transfer file via wi fi

    Quote Originally Posted by ChrisW67 View Post
    What about it doesn't work?
    BTW: That is not a good example of the simplest way to achieve this. There is no need for QThread to achieve a file transfer.
    I dont understard where/how i can choose file, path, port in client and server
    I m using "FILENAME" for name and path. But it doesnt work. My client doesnt receive
    Last edited by montanaro; 17th February 2019 at 18:29.

Similar Threads

  1. Bluetooth file transfer
    By shweta in forum Qt Programming
    Replies: 1
    Last Post: 25th March 2011, 14:17
  2. Bluetooth file transfer.
    By nachikayt borrah in forum Qt Programming
    Replies: 1
    Last Post: 23rd March 2011, 20:35
  3. File Transfer in Qt
    By Rajeshsan in forum Qt Programming
    Replies: 6
    Last Post: 11th February 2011, 05:13
  4. Replies: 2
    Last Post: 2nd April 2008, 18:28

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.