![]() |
Request queries code to delete files in the folder attachment in the host root
Hello,
I need code queries To Compare the host files and database files A large number of file attachments folder, which is not in the database And a large volume of occupied disk I want to delete files added by this command. Attachment Folder Size 100 GB Size 80 GB of attachments in the database. #cleanup2# have been drawn. 4.2.3vb 5.4php tankyou |
You can't delete physical files with a SQL query. A custom script has to be written to delete orphan attachments.
http://www.vbulletin.com/forum/forum...ed-attachments https://vborg.vbsupport.ru/showthread.php?t=195879 |
hello,
I run two threads But not And still remains files I need a plugin for comparison Add and delete files I really appreciate your efforts in helping me, Any script or idea is badly needed. Where do I find custom script has to be written to delete orphan attachments??? Coder/Designer Quote:
|
Your best bet is to pay someone to do this for you.
|
Quote:
Are you doing? |
Quote:
Edit: Also unless you setup this script under the root account (not advised imo) then any other user setup I don't believe will have access to delete files in the main folder i.e. the one above /public_html/ such as /home/ACCOUNTNAME/public_html/ if attachments are in fact stored there (which is recommended) however I might be wrong on assuming such so don't hold me to it :p. |
All times are GMT. The time now is 06:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|