Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Uploading Problem !!!

 
sunilkumar ssuparasmul
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all ,
I wanted to upload a file with a default file name.
Ie i dont want to select a file using "BRowse" button
but instead i wamt to hardcode the name of file.
I tried doing teh same it did not work.
WHen i looked into RFC spec , it is mentioned that
value attribute of file is readonly . SO U cannot expliclity set a value to it ?
Is there anyway to establish the same.
Your help is very much appreciated.
Thnaks in advance,
Sunil.s
 
Mathew Kuruvilla
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are not providing sufficient information in your question.
 
Dave Landers
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this is an HTTP/HTML question, about the upload form element (I forget what it's called). It lets your browser grab a file and POST it (as Multi-Part) to the server.
There is no way to control what the browser does with it. Netscape, for example does (or used to) always pop the browse dialog in some default (netscape install) directory looking for *.html files. Every time. Very annoying.
You are going to need a signed applet to do something more.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic