PDA

View Full Version : Transferring images..



xyzt
10th July 2008, 14:07
hello

what's the best way to transfer image files between client and the server?should i use FTP or TCP?

wysota
10th July 2008, 17:49
FTP uses TCP, so in that case whatever you choose, you'll be using TCP ;)

But seriously - it depends. If you can have an ftp server, then use ftp. If you don't have an ftp server but you do have an http server, use http. If you don't have any servers like that, use plain TCP connection to implement your own protocol.