This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello, First, I am not sure I am posting this query in the right Forum�Moderators please check it out? Yesterday someone asked me a very good question i.e. how to write code on you're web site that will invoke a File down load on the client Machine. It is same thing that we all very commonly used to down load free software packages on net. I don't know how this thing works that's why I am posting this query here so that I can have expert opinion from Java Guru's. Here I am writing what I know: Among all the protocols available to communicate between client machine and a server we are now using http protocol. It has the advantage that it is very effective for hypertext transfer as well as it can do file transfer. We need have to go separately for ftp protocols when we have to transfer small files or when we r transferring files in pieces. In ftp protocol all the file is send in one go from server to the client machine where as in http protocol same file is send in pieces. When downloading of one piece is completed then another piece (packet) is send from server. This is what I think is the basic difference between the two protocols. Other thing I want to clarify is: I am sending a request to a server, which has a listener, which listen only to http protocol. And send response back to client machine in http protocol. Can there be a situation that the listener at the server is listening only on http protocol and sending back request using ftp protocol? Because our browser is not protocol specific. It can communicate (send and receive) from the server using any protocol. Please tell me if I make any sense? I know my knowledge is limited and there for I am looking for you Java Guru's for help, Please guide me. Have a Nice Day, Regards, Raj.
Regards,<P>Raj.<BR>-------------------------<BR>Afforts should be Appriciated.<BR>-------------------------
Joined: Aug 26, 2000
After waiting for three days I am wonder that I have not made any sense In above talk....... But still can any one Please take pain in going through what I have written and pls give me you're expert comments... Thanks Regards Raj.