uploading resources

Jose Manuel C G gis at mapas-sll.com
Thu Oct 26 11:27:22 EDT 2006


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&VERSION=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.





More information about the Mapguide_users mailing list