Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

wrong download folder

  • Hi

    in the settings, I setup the download folder as "e:" which is working mostly, BUT, everytime I use the topic "save as pdf" and saving this file in another directory, Opera is sending the following downloads to this "wrong directory" till I change it manually.
    So Opera memorizes the wrong folder altough the folder is set to "e:" ... Does anyone knows ho to prevent this?

    Thanks

  • I guess that Save as PDF is not considered a download, so it doesn't use the download folder set up in settings page.

  • @leocg

    Hi,
    even wondering why the file download is affected ...

    Mike

  • Sorry, I guess I understood that save aa PDF was using the wrong folder.

    The download folder in settings is correct? The option to ask where to place downloads is off?

  • The download directory in settings is for 2 things:

    1. The path that Opera uses when it downloads a file type without asking. As in, it's for automatic downloads.

    2. The path used for the default path the first time you use the Save As dialog.

    The download directory in settings is NOT used for the Save As dialog. What Opera uses is the last path you used (or the download folder path setting the first time you use the Save As Dialog). Opera stores the last path used for the Save As dialog in the Preferences file in the profile folder. It's the default_directory string value under the root/savefile object in the Preferences file.

    Now, what you're seeing is that in addition to "Save as PDF" using the Save As dialog, left-clicking on an EXE link for example will use the Save As dialog too (because Opera forces asking for that type even if asking is turned off for downloads in settings) and default to that last used path. Same thing if you right-click on a link and choose "save linked content as". But, if you were to download a zip file instead by left-clicking the link to it, it'd download automatically to the download folder listed in settings like you'd expect. Then, as you can guess, if you turn on asking for downloads in settings, even left-clicking on links to would normally trigger automatic downloads will trigger the Save As dialog instead, ignore the download directory path setting and default to the last Save As path.

    It's kind of weird, but that's the case. There's no option that I know of to have the Save as dialog always default to a certain directory no matter what directory you saved to last time. Notepad++ has an option like this if anyone needs an example.