Script the compression and upload of addons

Support and feedback for UniAdmin

Script the compression and upload of addons

Postby kalthen » Tue Dec 19, 2006 4:42 pm

I can zip the addons, that's easy.
I can send a HHTP request as well.

But I don't know how to script the upload. Can you explain me the url to:
- log me in
- upload an addon

Thanks!
kalthen
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sun Oct 29, 2006 7:43 pm

Re: Script the compression and upload of addons

Postby Scorn » Tue Dec 19, 2006 4:55 pm

you need to go where you installed the files on your server.. for me this was my /Uni/ folder. To access it, the link would be http://www.yoursite.com/unifoldername/

so mine is http://www.dr-guild.com/Uni/

Once logged in, go to Addon Management

Scoll down and you will see some boxes. Click the browse button and find the file on your computer.

Fill in the version number manually by typing the numbers in.. remember the dots.

For home page, I usually put in http://wowroster.net

when done, click add / update addon.

This will initiate the file upload. To make sure the other person gets it, they must make sure that when syncing, they are updating their add-ons.

Hope I answered all your questions.
User avatar
Scorn
WR.net Apprentice
WR.net Apprentice
 
Posts: 21
Joined: Wed Jul 12, 2006 4:09 am
Location: Toronto, Ontario

Re: Script the compression and upload of addons

Postby kalthen » Wed Dec 20, 2006 3:10 am

Thanks for your response, but I wasn't precise enough.
I want to script (in dos) the upload of addons. So I want to put in a shell a request as for example (this comes from my imagination): http://mywebsite/uniuploader/upload.php ... athToAddon\Addon.zip?Username=user?password=pass
But I haven't found in the php code the relevant parameters (I'm surelly too silly for that)
kalthen
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sun Oct 29, 2006 7:43 pm

Script the compression and upload of addons

Postby kalthen » Mon Jan 08, 2007 2:24 am

this can't be so hard to not have any answer -_-'
kalthen
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sun Oct 29, 2006 7:43 pm

Script the compression and upload of addons

Postby zanix » Mon Jan 08, 2007 4:34 am

The fields you need to pass values for are

name
password

required (1 for required addon, 0 for optional)
file (this is the posted file)
version
homepage
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to UniAdmin

Who is online

Users browsing this forum: No registered users and 0 guests

cron