GeeCON Prague 2014*
The moose likes Servlets and the fly likes Creating / Writting into the files on the Web Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Creating / Writting into the files on the Web Server " Watch "Creating / Writting into the files on the Web Server " New topic
Author

Creating / Writting into the files on the Web Server

Pratik Khetia
Ranch Hand

Joined: Jun 29, 2001
Posts: 50
Hi Can anybody suggest any ways to do so ??
I have a file (image file) in my local machine and that I want to post it to the web server ..how can I do that !!

thanks
Pratik
Gerry Giese
Ranch Hand

Joined: Aug 02, 2001
Posts: 247
I could us more detail, Pratik. Uploading the image file using FTP should be pretty standard. Do you have an account on the server? Who owns the server?
Hope this helps....


CJP (Certifiable Java Programmer), AMSE (Anti-Microsoft Software Engineer)
Author of Posts in the Saloon
Mahesh Rana
Ranch Hand

Joined: Sep 05, 2001
Posts: 139
Do you want to do it programatically ?
1. In HTML,
form with file control (and multipart servlet on the server) is a way to do that.
2. In stand alone applications, Use any FTP session class.

SCJP2
 
GeeCON Prague 2014
 
subject: Creating / Writting into the files on the Web Server