PDA

View Full Version : Please Help!


LidzoKwempa
12-10-2007, 06:26 PM
I am trying to develop a socket-based Simple File Transfer Protocol (SFTP) Client/Server application but I'm not sure where to start in the first place.
Multithreading should be used and the following commands included: (open, list, change directory, get filename, put filename and close connection)

[LIST]

I will also be glad if anyone helped me undenstand how to implement a Java RMI version of the above

Dunna
12-12-2007, 07:59 PM
That's far too broad. Are you expecting someone to write all of that code for you? I can help you understand the basics if we're talking C++ here. You will need to create a Socket, bind, listen, and accept on that socket. Your client will connect to it and the functions send and recv will be used to transfer the data. If you have a specific question I will be able to help you.

LidzoKwempa
12-13-2007, 12:35 AM
Many thanks for the reply. I'm currently working on it but I have to admit I'm no great programmer. At the moment it's java that I'm learning. I'm not sure if you do understand java but in any case, I promise the next time I cry for help here, it will be more specific.

Dunna
12-13-2007, 02:20 AM
Well I do know java, and I didn't mean to be rude. Anyway, the steps for java are very similar.