1

Is there possible to load a mapfile file from a client to a server running a Mapserver? e.g. http://server/cgi-bin/mapserv?**map=**client/example/htdocs/example1-1.map&layer=states&mode=map

2
  • 1
    No, it is not possible and that's good. Mapfile contains all the details for making a connection with a database and through DATA line your users could inject whatever SQL into your system. Validation blocks would not help because users could edit them too and make the evil SQL to validate.
    – user30184
    Commented Feb 10, 2016 at 23:17
  • However, I suppose you can do what you want with server side MapScript mapserver.org/mapscript/index.html.
    – user30184
    Commented Feb 11, 2016 at 11:50

1 Answer 1

2

No. You may create a form for file upload from the browser, but you need server side script to process uploaded data or you can use ftp/scp to upload files to the server.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.