delete tempfolder - UpendoVentures/Upendo-Dnn-Prompt GitHub Wiki
delete-tempfolder
DNN automatically creates and populates a temporary files folder whenever you install/upgrade an extension. This is a common practice, as most applications need a safe space to unpack and perform certain installation/upgrade tasks. However, the folder doesn't always go away on its own and can increase the risks of odd errors in some scenarios (mainly DNN upgrades, in my experience).
This command will allow you to quickly delete the /Install/Temp/
folder in your DNN instance. If you've ever done this via FTP, you know how annoying it is to wait for this to complete on some websites.
Command
Command | Description |
---|---|
delete-tempfolder |
Deletes the install/upgrade temporary folder and all files in that folder. |
Arguments
This prompt does not have any flags at this time.
Output
If successful, you'll see a message like below in the Prompt window.
The files and folders in the installation temporary folder have been deleted.
If an error occurs, it should be displayed to you in the Prompt window. If not, you'll find it in the Log4net log files.
Additional Notes
None at this time.