Cramster.com - Homework Solutions, Lecture Notes, Exams, and Free Online Homework Help
Sign Up Now! Login Customer Support Cramster Blog
McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Problem Solved.
    Home    
    Homework Help    
   Answer Board   
    Resources (Beta)    
   
Member's Topic Headline:

File Transfer Tool (GUI or Console),Two users can share any type of file over the network.

Know the answer? Have a better solution? Share it.
Get Help Now.
View homework problems
explained for free!
Member Testimonials

Question:

Advertisement:

Answer | Ask New Question | Customize Profile | Leaderboards | 
FAQ

Member's Avatar

Pupil
Karma Points: 50
Respect (90%):
Date Posted: 7/21/2008 11:33:38 PM  Status: Live
File Transfer Tool (GUI or Console),Two users can share any type of file over the network.
Course Textbook Chapter Problem
N/A N/A N/A N/A
Question Details:
File Transfer Tool (GUI or Console)
 
Features: Two users can share any type of file over the network.
 
Suggested Flow: You can make a server on one computer and client on the other. When the server started it should send a request to a client to accept file from the server. When client accepts the request, file should be read in chunks and transferred to the server using sockets. On the server side, create a file with same name and extension and start writing the data sent by the client; into it until all data is written. Also inform both users at the end whether file was transferred successfully or not. Things can be much easier if you built a protocol (control information) and make your client and server follow it.

Concepts Involved:

v     Networking (Client/Server programming using sockets)

v     Multithreading

v     File handling

v     Exception handling

v     Swing and AWT packages

v     String Manipulation

Answers:

No one has answered this question yet.
Be the first to answer.  Earn up to 9 karma points. 
Redeem your points for Karma Points Rewards.


By reading or posting messages on these forums, you are agreeing to the Answer Board's Terms of Service and Conduct (TSC).


About Cramster | Terms of Use | Privacy Policy | Contact Us | Press Room | Site Map | Support | Anti-Cheating Policy

Cramster.com is not affiliated with any publisher. Book covers, title and author names appear for reference only.
Copyright © 2008 Cramster, Inc.