A newbie Java question. :)

MrGrim

Golden Member
Oct 20, 1999
1,653
0
0
I'm trying to make this rather basic FTP program in Java for a module in the University. The Server and the Client are communicating using Hash Tables, for both commands and files. My problem is that I don't quite know how to "put" a file in a Hash Table. I know it's possible because I was told so by one of my tutors but he just won't tell me how to implement it. :( He said something about "putting" it in the hash table in two ways, using either string or binary code. I'm not quite sure how I can transoform a file into either of those formats using Java, since I've only just started learning about it.

Any help would be appreciated and thanx in advance.
 

Jumpem

Lifer
Sep 21, 2000
10,757
3
81
I've never dealt with hash tables in my short java life. Try to sneak this into the General Hardware forum. Way more programmers and other smart people flow through there.