Results 1 to 3 of 3

Thread: How to get a file from TFTP server?

  1. #1
    Join Date
    Dec 2008
    Location
    Istanbul, TURKEY
    Posts
    537
    Thanks
    14
    Thanked 13 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Windows Android

    Default How to get a file from TFTP server?

    Hi,

    I can connect to TFTP server in the socket level (using QUDPSocket). But I couldn't figure out how to retreive a file from this TFTP server(like QFtp::get()).

    Any ideas?
    Last edited by zgulser; 18th January 2013 at 13:21.

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: How to get a file from TFTP server?

    If you are looking for somthing like QTftp::get(), you won't have it.

    When using socket level implementaion with QUdpSocket, you need to implement the file receive protocol by your self.
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  3. #3
    Join Date
    Dec 2008
    Location
    Istanbul, TURKEY
    Posts
    537
    Thanks
    14
    Thanked 13 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Windows Android

    Default Re: How to get a file from TFTP server?

    I see.

    I suppose this thread;

    http://www.qtcentre.org/threads/3645...Q3SocketDevice

    does the trick.

    Thanks.

Similar Threads

  1. Replies: 7
    Last Post: 5th October 2012, 11:50
  2. QFtp upload file to server
    By djo87 in forum Qt Programming
    Replies: 2
    Last Post: 30th May 2012, 01:55
  3. File exists on server
    By Chops211 in forum Qt Programming
    Replies: 5
    Last Post: 6th August 2011, 20:22
  4. How to download any file through ftp server
    By thomasjoy in forum Qt Programming
    Replies: 1
    Last Post: 24th July 2007, 01:23
  5. Enctrypted file uploads to a server
    By hardgeus in forum Qt Programming
    Replies: 3
    Last Post: 11th December 2006, 23:10

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.