Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

file transfer

  Asked By: Gauri    Date: Apr 06    Category: Java    Views: 1731
  

plz help me... i want to attach a file and transfer it from one pc to another pc over a LAN using java code n i m not getting it.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Shruti Sharma     Answered On: Apr 06

Go for simple and cost effective solution.

Create a Global Space in Network (Global Network Folder)

Whenever user try to send a file create a new file in Global Network location and pass the path link. In order to avoid overriding file name you should consider using naming format like

File_DDMMYYYYHHMMSS.zip

You won't find good solution than this, since if you want to make this project live and want to allow even Internet users to share their files, they can able to by applying proper security steps.

 
Didn't find what you were looking for? Find more on file transfer Or get search suggestion and latest updates.




Tagged: