Open File Explorer when downloading a file - html

In some machines, there are browser settings that download all files to the /downloads directory by default.
Is it possible to force the file explorer to open when the user downloads the file so he can choose the saving location in these cases?
thanks in advance!

No.
A website cannot override the preference to save to the Downloads folder (neither on a per download basis nor by altering the settings remotely).

Related

Can't View FTP Directory in Google Chrome

I just upgraded to Google Chrome v73.0.3683.103 and I am now unable to view FTP sites in Chrome. Instead of Chrome loading the FTP directory listing in the browser, it downloads a file named download which contains a directory listing.
How do I get the ability to view the FTP directories directly in Chrome back?
I have tried going into Internet Options > Advanced and clicking on the "Enable FTP folder view (outside of Internet Explorer)" but, that didn't seem to do the trick.
In-browser FTP was deprecated back in v72. I hadn't updated Chrome in a few releases. I have rolled back to v71 until I find a better workflow substitute
DETAILS: https://developers.google.com/web/updates/2018/12/chrome-72-deps-rems

Chrome Extension edit source file

I have a chrome extension that is installed via "Load unpacked extension," and I am trying to get it to delete itself or at least change its source code when a function is called. I have the chrome.management.uninstallSelf down, but I also need the source files for it to become changed/gone. Basically, I need the chrome extension to open the local file where its source is located and then delete/change some of the files inside it. Is there any way to do this?
Basically, I need the chrome extension to open the local file where its source is located and then delete/change some of the files inside it. Is there any way to do this?
No, this isn't normally* possible.
Chrome extensions have only read-only access to their own files (via chrome.runtime.getPackageDirectoryEntry or requests to chrome-extension://), and no access at all to the rest of the filesystem.
* All bets are off if you have a Native Host module though. It can do whatever, but would greatly complicate installation.

UserManual.chm file Does not showing Contents?

my UserManual.chm file file does not displaying content.
i dont know why it's not working on my Computer.
please help me to find out solution
Microsoft is trying to protect you from CHM files.
If a CHM file is downloaded from a server (UNC-Path) you can't view the Content without . Copy the CHM file to a local drive and try again. You may try another CHM file on a local drive.
If a CHM file is unzipped from a ZIP download please open Windows Explorer, find your CHM file, right-click and select properties and click the Unblock button on the General tab.

How to load local resource in Chrome App

In my Chrome App,I want to load local resources such as audio from user's disk.
If I add the absolute path in my code, the Chrome says "not allowed to load local resource"...
So,how to achive it? Thx
Please this is app not extension.
Chrome Apps are not allowed to access the user's file system directly. file:// URLs are forbidden, as are all the other ways you might try for accessing a file like /home/user/music/demo.mp3. This is by design (so users can install a random Chrome App and trust that it isn't going to read or write their files).
However, Chrome Apps have several APIs available for accessing sandboxed file systems. Since your example is an MP3 file in /home/user/music, you probably should use chrome.mediaGalleries, which will prompt the user for access to common media directories (like /home/user/music) at install time. Then you will be able to access certain file types in certain directories, and prompt the user for music and images in other directories.
As sowbug suggested, you could also use chrome.fileSystem, where you can prompt the user to open a file or directory of their choosing. This will give you access to all files in those directories, but you should only use this if you want non-media file types.

When Chrome downloads PDF files and I move them out of the download folder to the desktop they are locked from any changes

When I use Chrome to download a PDF file, it goes by default to the Downloads folder. When I drag this file to the desktop (Windows 7), the file is then disassociated from any user, and I am not allowed to rename or delete or move the file. Even responding to the "administrator access required" prompts doesn't allow the operation. I have to go into the file security settings and add a user and permissions to the file in order to unlock it.
This doesn't happen when I download a file with IE.
How do I prevent this? I have searched for Chrome download settings but don't find anything relevant.