2/15/2023 0 Comments Firefox download locationTo solve this, you need to set your download path in the browser config.įirst Setting & Creating directory if not available: String parentDirectoryPath = System.getProperty("user.dir") String downloadFilepath = parentDirectoryPath+"/downloads/" APP_bug("Chrome Download path set to: "+downloadFilepath) File downloadFolder = new File(downloadFilepath) if (!downloadFolder.exists()) In Chrome: Note: See a list of variables you can use ( ). Leaving the policy unset means Chrome uses the default download directory, and users can change it. It uses the provided directory, whether or not users specify one or turned on the flag to be prompted for download location every time. Setting the policy sets up the directory Chrome uses for downloading files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |