Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7982139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:35:20+00:00 2026-06-04T10:35:20+00:00

In my app I upload a file to the server using HTML5 File API,

  • 0

In my app I upload a file to the server using HTML5 File API, however I am encountering a situation where a file is not accessible because it is being used by another process. This actually creates two different error conditions in firefox and in chrome. Is there a way to detect if a file is inaccessible using html5?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T10:35:22+00:00Added an answer on June 4, 2026 at 10:35 am

    Have you looked the sample in this link which shows how you can read a file and in case of error you can write proper error handler:

    http://www.azoft.com/spotlight/2011/02/02/filesystem-apifile-api.html

    About your second questions “if there’s an API call to just check if it is readable without actually having to read it locally”, I verified that there is no such API to just get the file handle state and verify it. I think it could be because (but i may be wrong):

    • the web application runs on any box with limited privilege and getting file handle could require SYSTEM level access
    • The file handle access could be different for different OS (Linux or Windows)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to upload a file to my server using the CakePHP file upload
I want to upload images in server using ASIHTTPRequest library in my IPhone app.
Using an asp.net fileupload string in an Server Side onClick event. ASP.Net file upload
I have to upload a 3gp audio file to my server using MultipartEntity. i
I am using Rails to make a small file upload app. For file attachment
I have a simple grails file upload app. I am using transferTo to save
I'm using Tomahawk library for the file upload. However, the backing bean's method is
I am trying to upload file using dropbox api but following Code shows some
I am writing a C# app that needs to upload a file when the
Inside a grails application, I need to upload a file under web-app/js, add a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.