hi guys,

i m building a server and a client for transfer files between them.

1) what is the best way to do it? using ftp or
tcp/it?

2) how do i set my server to be ftp server?

i am a begginer in all this network programming so if you can give me an example code i will appriciate.

thanks,
ohad.