What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

ProfileManager.LoadNew() from HTTP server

wownerds

New Member
Joined
Feb 15, 2011
Messages
1,385
Reaction score
30
Hey guys,

is it possible to load a profile via ProfileManager.LoadNew(path) whereas path is a http address (such as "http://www.xyz.com/profiles/profile.xml")?

Woulde love to store my profiles on a server and just load them through a plugin.

Thanks in advance!

Regards,

wownerds

EDIT:

At the moment, all I'm getting is a profile not found error. Permissions are set correctly, so that's no 403.

Profile is visible through the browser though, so no 404 either.
 
Last edited:
You can't load profiles from a web address. (We don't plan on adding that support either)
 
Hey guys,

is it possible to load a profile via ProfileManager.LoadNew(path) whereas path is a http address (such as "http://www.xyz.com/profiles/profile.xml")?

Woulde love to store my profiles on a server and just load them through a plugin.

Thanks in advance!

Regards,

wownerds

EDIT:

At the moment, all I'm getting is a profile not found error. Permissions are set correctly, so that's no 403.

Profile is visible through the browser though, so no 404 either.
If you have ftp access you could mount the server as a local drive.
 
I know it slightly defeats the point but the plugin could download the profile on the fly, and then delete it when it's not being used. Almost like a cache.
Code:
[COLOR=#2B91AF]WebClient[/COLOR] webClient = [COLOR=#0000FF]new[/COLOR] [COLOR=#2B91AF]WebClient[/COLOR]();
webClient.[B]DownloadFile[/B]([COLOR=#FF0000]"http://mysite.com/myfile.xml"[/COLOR], [COLOR=#FF0000]@"c:\myfile.xml"[/COLOR]);
 
Last edited:
Back
Top