[mapguide-users] uploading resources

Andy Morsell amorsell at spatialgis.com
Thu Oct 26 11:42:45 EDT 2006


I don't know the answer to the first question, but for the second one, try:

Mapagent.fcgi?Username=Adminstrator&Password=admin 


Andy 

-----Original Message-----
From: Jose Manuel C G [mailto:gis at mapas-sll.com] 
Sent: Thursday, October 26, 2006 8:27 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] uploading resources


I'm developing an application to upload massively resources in php.

I try to pass via url the parameters, some like:

http://127.0.0.1/mapguide/mapagent/mapagent.fcgi?OPERATION=SETRESOURCE&VERSI
ON=1.0.2&RESOURCEID=Library://test/myfile.LoadProcedure&CONTENT=temp/myfile.
xml

Question 1)

I can't pass the CONTENT variable like a url. I try:
temp/myfile.xml
http://127.0.0.1/mapguide/temp/myfile.xml
...
Only c:\myfile.xml works (local file), but I need upload a file in a server.

Question 2)

mapagent.fcgi ask login and password every time I want to upload a file.
It's right but I'd need pass this like parameters, ex:
mapagent.fcgi?Admin=Administrator&Password=admin&...

Any idea to do this?

thk.
--
View this message in context:
http://www.nabble.com/uploading-resources-tf2514722.html#a7013473
Sent from the OSGeo MapGuide mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org







More information about the Mapguide-users mailing list