Results 1 to 4 of 4

Thread: sending a file(txt,docs,exe,rar,zip...) through QTcpSocket

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2012
    Posts
    197
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    25
    Thanked 41 Times in 33 Posts

    Default Re: sending a file(txt,docs,exe,rar,zip...) through QTcpSocket

    Thanks for your reply Admin anda_skoa.
    im not really familiar with QIODevice, may you please show me a sample code that is supposed to send a file of any type to a server ?
    That would be really helpful and ill take a look at the qt reference documentation of QIODevice class to well understand it
    Thanks again,

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3
    Thanked 127 Times in 126 Posts

    Default Re: sending a file(txt,docs,exe,rar,zip...) through QTcpSocket

    there are plenty of network examples on the the digia help site.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Similar Threads

  1. Replies: 7
    Last Post: 12th September 2011, 10:52
  2. QTcpSocket get disconnected when server is sending huge data
    By KernelCoder in forum Qt Programming
    Replies: 3
    Last Post: 1st April 2011, 08:45
  3. Replies: 6
    Last Post: 22nd December 2010, 03:20
  4. Sending mp3 files over QTcpSocket
    By ada10 in forum Newbie
    Replies: 5
    Last Post: 17th August 2010, 08:05
  5. Packet getting fragmented when sending over QTcpSocket
    By arturo182 in forum Qt Programming
    Replies: 14
    Last Post: 5th August 2009, 23:11

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
  •  
Qt is a trademark of The Qt Company.