• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Transferring file from client to server

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello
1.I am trying to develop a program that would transfer a directory containing any no of sub-directories having any number and any type of files (exe,dll,txt etc) from the client to server of any size. Please Help
2.How can I install/update an exe file from the server to the client (preferablly 10 clients at a time) automatically with just one click.
Email - kirty_nahar@rediffmail.com
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by kirty nahar:
Hello
1.I am trying to develop a program that would transfer a directory containing any no of sub-directories having any number and any type of files (exe,dll,txt etc) from the client to server of any size. Please Help


Since you asked this question a month ago you must be well on your way to achieving this goal. That is, unless you are waiting for us to do your work for you. If you've done any searching on this site or looked at the Java Tutorial's section on IO, you'd know that transferring files across a network is a no-brainer. You are going to have to write a client and install it by hand (or use a signed applet or Java Web Start) to do the work on the client side.


2.How can I install/update an exe file from the server to the client (preferablly 10 clients at a time) automatically with just one click.


That depends on what you are trying to install. Many install programs have a "silent" mode where they can be run without user interaction. Maybe you should read the documentation of the products you are attempting to install.
 
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1.I am trying to develop a program that would transfer a directory containing any no of sub-directories having any number and any type of files (exe,dll,txt etc) from the client to server of any size. Please Help
What OS is running on your server?If it is any flavour of UNIX, it
would be a bit easy.
Are you going to write standalone Java program which does transfer or
want to make use of FTP protocol.Since FTP is very fast,it would be good to use it.If file size is large, FTP is much faster.
You may consider first zipping entire directory from root and than transfering it.This would save a lot of time and overhead.If requires,you may unzip at server once the required zip file has transfered.

2.How can I install/update an exe file from the server to the client (preferablly 10 clients at a time) automatically with just one click.
Where are the clients machine? Is it connecetd through LAN,WAN or
INTERNET?
Do you want to write server application or client.I mean application
will run on server or client?
[ January 28, 2004: Message edited by: himanshu patel ]
 
kirty nahar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks mr himanshu patel
1.well my os is windows. The idea about zipping is good and i'll try it out.
i have used sockets.
2.The client machines are on the LAN
Anything would do either a client or a server or both.
Any idea as to how i can do remote installation of any s/w using java prog.lets say, my exe is on server & sitting on server I want to install it on any of my clients mach. in LAN. The exe may or may not support silent installation.
1.I am trying to develop a program that would transfer a directory containing any no of sub-directories having any number and any type of files (exe,dll,txt etc) from the client to server of any size. Please Help
2.How can I install/update an exe file from the server to the client (preferablly 10 clients at a time) automatically with just one click.The m/c are on the LAN on windows platform
reply
    Bookmark Topic Watch Topic
  • New Topic