Re: spaces in file paths
DesCF wrote:
Ahhhh, web page... URLs... no unencoded spaces allowed.
If you want a space in a URL, change it to "%20" or "+" for the browser. See
the UrlEncode function. A better option would be to not use spaces. Look at
the generated URLs in the resultant web page and see what the browser is
trying to ask for and also remember to look in the web server's logfile to
see what was requested and why it could not be returned.
Does that make sense?
Andrew
DesCF wrote:
Right, the code for the entire web page is below.
If I create a directory J:\Fots and stick some photos in it, it works
just fine. If I change the directory name to J:\Fot s (i.e. insert a
space between the t and the s) it just displays the placeholders for
the right number of photos with little red X's in them.
just fine. If I change the directory name to J:\Fot s (i.e. insert a
space between the t and the s) it just displays the placeholders for
the right number of photos with little red X's in them.
the UrlEncode function. A better option would be to not use spaces. Look at
the generated URLs in the resultant web page and see what the browser is
trying to ask for and also remember to look in the web server's logfile to
see what was requested and why it could not be returned.
Does that make sense?
Andrew
Comment