[MS4W-Users] RV: msLoadMap(): Unable to access file.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[MS4W-Users] RV: msLoadMap(): Unable to access file.

Giosvany Miranda

Hi,

I’m working with MS4W for some time and from last week I download the last version that include the version 6.0.2 of mapserver CGI.

When I try to load a file (.map) that I prove in latest versions from absolute path

 

<a href="http://localhost/cgi-bin/mapserv.exe?mode=map&amp;map=D:\Copiar%20aqui\fidel\%20ATD\50%20000\3383-II\UltimoVuelo\Fotomontaje\Fotomontaje.map">http://localhost/cgi-bin/mapserv.exe?mode=map&map=D:\Copiar aqui\fidel\ ATD\50 000\3383-II\UltimoVuelo\Fotomontaje\Fotomontaje.map

 

then appear an error message:

 

msLoadMap(): Unable to access file. (D:\Copiar aqui\fidel\ ATD\50 000\3383-II\UltimoVuelo\Fotomontaje\Fotomontaje.map)

 

 

I’m verify that the file is in the correct place and analyze the content of .map file and nothing. But If I put the same file in the root of the drive then there is not a problem. Maybe is a problem with the configuration, but in this moment I don’t know what can I do.

 

Regards,

Giosvany


_______________________________________________
MS4W-Users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/ms4w-users
Reply | Threaded
Open this post in threaded view
|

Re: RV: msLoadMap(): Unable to access file.

jmckenna
Administrator
On 12-03-15 6:32 PM, Giosvany Miranda wrote:
>
> http://localhost/cgi-bin/mapserv.exe?mode=map&map=D:\Copiar aqui\fidel\
> ATD\50 000\3383-II\UltimoVuelo\Fotomontaje\Fotomontaje.map
> <http://localhost/cgi-bin/mapserv.exe?mode=map&map=D:\Copiar%20aqui\fidel\%20ATD\50%20000\3383-II\UltimoVuelo\Fotomontaje\Fotomontaje.map>

I don't have problems loading a mapfile with spaces in the path -
however I notice that your link assumes a space in front of the ATD
directory, try without it such as:

http://localhost/cgi-bin/mapserv.exe?mode=map&map=D:\Copiar
aqui\fidel\ATD\50 000\3383-II\UltimoVuelo\Fotomontaje\Fotomontaje.map

-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


_______________________________________________
MS4W-Users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/ms4w-users