Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Upload files from Swing Desktop Client to server  RSS feed

 
amar vemanaboyina
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We are trying to development a swing based application where in we need to upload files to server. Basically these files are additions to a manuals library. Copies of this manual library are kept in two different LANs apart from the LAN local to server. As soon as the client uploads a manual, the request should go to the server, the server then gets the file from the client and then need to update the manuals library at the server LAN as well as in other LANs.

I am trying for an expert advice with the approach I need to adopt for this kind of requirement. Basically I got stuck with following doubts:
1) How to upload files from Client to Server? Can I use FTP?
2) Whats the server I have to use? Like Servlet at the server end to do this Job? Or use frameworks like Webservices etc.
I am new to server side developement as well?

So request for expert advice on this front!

Thanks a lot!

Regards,
vemanamar
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is presently running on the server you want to send files to?

This sounds like a "content management system" - Wikipedia Article on CMS.

Why re-invent the wheel when there are plenty of open-source and commercial solutions?

Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!