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 1032587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:06:01+00:00 2026-05-16T14:06:01+00:00

Possible Duplicate: How can I use Delphi to test if a Directory is writeable?

  • 0

Possible Duplicate:
How can I use Delphi to test if a Directory is writeable?

My program will download an update for the user if they request it. The user has to specify the location to save the installer. They might pick a directory which they don’t have access to save something to. In this case the download starts (downloading to a temporary directory I assume) and we only know that it failed when it ends and tries to move the file into the folder.

Is there a simple way to check if we have write permissions on a folder in Delhi?

  • 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-05-16T14:06:02+00:00Added an answer on May 16, 2026 at 2:06 pm

    There is AccessCheck function or tricks, but this information is not reliable in generic case.

    So, usually you just need to create file to check, if you have access for that.

    For your specific case, you have the following choices:

    1. After save dialog closing: try to
      create a file in target folder with
      the name of downloading file. Delete
      it after check. Not pretty, since
      you rarely may have access to create
      files, but not to delete them.

    2. After save dialog closing: try to create a
      file in target folder with the name
      of downloading file. Keep that
      handle open and move file content to
      it after download is complete. Not
      pretty, since you can’t move file,
      you need to copy it.

    3. (the right one?) Just bring save dialog again
      on any access denied issues.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Can you get the user’s scroll position every time they scroll with
Possible Duplicate: Can we use any other TAG inside <ul> along with <li>? Or
Possible Duplicate: How can I use a string with the same name of an
Possible Duplicate: Rename Oracle Table or View I know you can use ALTER TABLE
Possible Duplicate: Escape @ character in razor view engine how can i use '@'
Possible Duplicate: Can I run from command line program created by Eclipse? I am
Possible Duplicate: Can I use ASP.NET MVC together with regular ASP.NET Web forms Let's
Possible Duplicate: How can I use a carriage return in a HTML tooltip? Currently
Possible Duplicate: How can I use the Google App engine bulkloader to back up
Possible Duplicate: How can one use multi threading in php applications Does anybody know

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.