Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating / Writting into the files on the Web Server

 
Pratik Khetia
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
Mahesh Rana
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic