• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Best solution to upload a file in unix server - Java/J2EE

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want to upload a file in unix server using JAVA/J2EE. please tell me whether i can upload it using Java standalone or java web application. Also provide me the reason as well
 
Ranch Hand
Posts: 133
Hibernate Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please try and frame you question as per the environment you are coding in.
To start with you can put here, what you have done so far for it?
Also, what do you mean by BEST SOLUTION?
 
Suresh Boopathy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The thing is i want to know which way is the best one.

Whether uploading it using Java Swing or JSP/servlets. PLease reply ASAP
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The "Best Way" to upload a file to a unix server would probably be a simple FTP - no java needed.
 
Suresh Boopathy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your Reply. I am a java guy, planning to implement this concept in java or J2EE technology by connecting it to unix server. So please give me an idea which technology to use for this implementation either JSP/Servlet with Tomcat server or simple java standalone like swing?. please reply at the earliest
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Suresh Boopathy wrote:PLease reply ASAP... please reply at the earliest


You need to EaseUp. There is no such thing as ASAP here at the Ranch.
Check out http://docs.oracle.com/javaee/6/tutorial/doc/glraq.html and https://coderanch.com/how-to/java/FileUpload
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic