The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Uploading to External Server
I'm trying to find a script that will allow uploading files to an external server, different from where the forum is installed. It will be an IIS server on a personal computer with 400gigz of space. There was a similar hack installed on vb2.
Thanks... |
#2
|
||||
|
||||
bump... any ideas?
|
#3
|
||||
|
||||
this is the script I'm using to transfer my avatars to a different server - maybe that would be helpfull...
PHP Code:
scotty |
#4
|
||||
|
||||
Thanks, I can see what your script does. The problem with this is that the attachments do not upload to the forum server as individual static files. So copying them to an external server might not do the trick. I'll need to embed this into the upload script somehow.
|
#5
|
|||
|
|||
How do you mean they not upload as individual files?
|
#6
|
||||
|
||||
Yes they do Marco. But they dont save as individual files on the server. The attachments have their own way of storage. I looked at the folder where they save to and it looks like this:
\attach\1\...9\ All the files are named ####.attach on the server. But within the forum, each file shows the origional attachment name as uploaded (.jpg, .txt, .mp3) |
#7
|
||||
|
||||
the attachments are stored in the database, not in your storage.
thanks scotty for the script. You give me the idea how to upload from a server to another. edit: it's possible to query a remote server from the local one, that way you can store attachment in your desired server and it's still use the database. but this requires a lot of changes I think. |
#8
|
|||
|
|||
@deathemperor
Well vB give you the choice where to store them, in the database or in the filesystem. @kompakt They DO save as individual files if stored on filesystem. they are however not named the same as teh attachment. Wanted to research how to relate a filename on filesystem back to the attachment name, but never found time for doing so, but i guess others already have. |
#9
|
||||
|
||||
oh I thought I've seen it somewhere in vboptions ^^ but I was not sure.
by either way you have solutions... |
#10
|
|||
|
|||
Quote:
You can choose to store all your attachments in database or filesystem. And no, i didn't give a solution. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|