• 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

File Uploading Problem !!!

 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are not providing sufficient information in your question.
 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Come have lunch with me Arthur. Adventure will follow. This tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic