The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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 |
Благодарность от: | ||
Max Taxable |
#3
|
|||
|
|||
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:
|
#4
|
|||
|
|||
Your best bet is to pay someone to do this for you.
|
#5
|
|||
|
|||
can you?
Are you doing? |
#6
|
||||
|
||||
He does custom work yes but you must PM him to discuss, you cannot discuss paid work in any forum other than paid request (this is unpaid request forum currently).
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 . |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|