How to send files from server to client
- 
Hi All! 
 I write client-server app, and I need send some files (xml, bitmaps, etc) from server to client (and maybe from client-to-server). I find @QFtp@ class, but this class - just client side :(. Maybe some one know free and simple FTP server writed by Qt or know other variant to send files from server to client and back.
 Tnx for comments.
- 
"Here is Qftp examples. ":http://developer.qt.nokia.com/doc/qt-4.8/network-qftp.html 
- 
tnx, i read this examples, but as I know this example show how connect to server! And I need server and client (both apps) 
- 
That's right. 
 The QFtp class provides an implementation of the client side of FTP protocol.You must implement ftp server by yourself using *Server or Sockets classes, for example "QTcpServer":http://developer.qt.nokia.com/doc/qt-4.8/qtcpserver.html#details... I haven't see any Qt examples for Ftp server, sorry... 
- 
FTP protocol description you can find "here(rfc959)":http://tools.ietf.org/html/rfc959 
- 
tnx for your help! but i don't have a much time to do that by myself, that's why i write at this forum, with hope find already wrote simple apps of the server. 
- 
Ok, with simple google search i've found "this":http://www.voidrealms.com/source.aspx site with intresting examples, source and "videos":https://www.youtube.com/user/VoidRealms... 
- 
FTP - is not axiom :) I think about HTTP, but I'm afraid so create http server be more difficult then ftp. 
 [quote author="Lukas Geyer" date="1327485999"]Are you strictly bound to FTP? I would drop it without hesitation for an own implementation using QTcpServer / QTcpSocket or a HTTP-based solution (there are plenty of Qt-based HTTP-servers available).[/quote]
- 
Why not just take an "existing":https://github.com/nikhilm/qhttpserver one? 
- 
tnx, look at this server! 
 And I find "FTP":http://qt-apps.org/content/show.php/qShare?content=116612 server :)
- 
The QtWebApp contains a very simple HTTP server which might be what you are searching for: 
 http://stefanfrings.de/qtwebapp/index-en.html
