• Post Reply Bookmark Topic Watch Topic
  • New Topic

cannot upload file in safari working fine in firefox

 
kajal mukergi
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • 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>
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • 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
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • 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
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
what you mean by multi part request
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • 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
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure that will work in Safari, but what does it have to do with your file upload?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!