• 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

cannot upload file in safari working fine in firefox

 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,


I am not able to upload file in "safari" working fine in "firefox"
<blockquote>code:
<pre name="code" class="core">
<input name="file" type="file" title="Browse" size="50" alt="Browse" class="focus">
</div>
</pre>
</blockquote>
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think a bit more detail regarding your problem would be in order.
 
kajal mukergi
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually i am trying to upload a file to my .jsp page so i am checking is working on all three browsers in mozzila ,fixefox and iexplorer . In Safari it is not working , rest both browsers it is working fine that is file upload is working fine


<blockquote>code:
<pre name="code" class="core"> <a href="#" onKlick="window.open('resources/html/help_upload.htm','help','scrollbars=yes,resizable=yes,width=500,height=400')">
<div class="addSearchBoxInstr">Browse for your RIS file: <br>
<input name="file" type="file" title="Browse" size="50" alt="Browse" class="focus">
</pre>
</blockquote>
 
Bear Bibeault
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"It is not working" is not a useful description of what is happening.

What is happening? Is the keyboard bursting into flame? Computer blowing up? Seriously, how can anyone help you without any information on what the problem is?
 
kajal mukergi
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry friend

this is the message i am getting, when i am clicking "Upload Button"

"The file is empty or the file path entered is not valid. Please browse for the correct file or type in the correct file path."
[ July 15, 2008: Message edited by: kajal mukergi ]
 
Bear Bibeault
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm, I do this all the time in Safari without issue. You'll probably need to look at the multi-part request being sent to the server and see what's different between the requests being sent from the browsers that work and the browsers that don't.
 
kajal mukergi
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what you mean by multi part request
 
Bear Bibeault
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you don't know what that is, how are you dealing with the file upload on the server?
 
kajal mukergi
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes friend i have idea

actually i am using an java script to the data

like this

document.getElementById('uploadProgressSection').style.display = 'block';

do you think this will not work on safari
 
Bear Bibeault
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure that will work in Safari, but what does it have to do with your file upload?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic