SpecialFolder Downloads ?

  1. 5 years ago

    Emile S

    3 Mar 2015 Europe (France, Strasbourg)

    I wanted to set SpecialFolder.Downloads to InitialDirectory, but I do not found it.

    (My) Wrong idea or docs missing ?

  2. Axel S

    is not verified 3 Mar 2015 Europe (Germany, Erfurt)
    SpecialFolder.UserHome.Child("Downloads")
  3. Emile S

    3 Mar 2015 Europe (France, Strasbourg)

    Thanks Axel.

    However, this is very strange.

  4. 2 years ago

    Dave S

    14 Aug 2017 San Diego, California USA

    I know this is an old thread... but is this still the correct solution.....especially for Windows (7, 8 or 10)????
    I need to be able to place a file in the correct (and expected download folder) for any macOS/OSX/Windows OS

  5. Norman P

    14 Aug 2017 Xojo Inc, Pre-Release Testers, Xojo Pro Seeking work. npalardy@great-w...

    AFAICT yes

  6. Douglas H

    14 Aug 2017 Pre-Release Testers, Xojo Pro

    @Dave S I need to be able to place a file in the correct (and expected download folder) for any macOS/OSX/Windows OS

    I suppose it depends on how you define "expected" -- browsers generally have a preference/setting for the default path for downloads. It may begin as the path mentioned in the thread, but that does not mean a user has not changed it. For example, I've seen plenty of people who set their default download location to their desktop. So I don't know there is "correct and expected" download folder. But I'd say that path is as good as any...

  7. Jerry F

    12 Oct 2017 Pre-Release Testers, Xojo Pro Florissant MO USA

    I thought of SpecialFolder.UserHome.Child("Downloads") also. The problem for me is localization. I suppose that one could use a dynamic constant for the "Downloads" string, but SpecialFolder.Downloads WOULD be nice :-)

    In the meantime, my app sets the default download location as the desktop (which is how I like it, anyway), which the user is able to switch.

  8. Greg O

    13 Oct 2017 Xojo Inc scout.galaxy.barn

    Have you filed a feature request in Feedback?

  9. Frederick R

    13 Oct 2017 Pre-Release Testers, Xojo Pro Jacksonville, Florida

    @Greg OLone Have you filed a feature request in Feedback?

    Feedback Case #41113 ‘Download’ folder to SpecialFolder

  10. 5 days ago

    Jerry F

    Nov 6 Pre-Release Testers, Xojo Pro Florissant MO USA

    I have found that the workaround using SpecialFolder.GetFromDomainandCode is broken on 2019r2. Returns ~/Library instead of ~/Downloads. Filed #58177

or Sign Up to reply!