Web Connection
How to make folder visible to WWWC app
Gravatar is a globally recognized avatar based on your email address. How to make folder visible to WWWC app
  Russell Campbell
  All
  Oct 26, 2026 @ 04:07pm

I need to pull in pictures from a folder path right off the C: drive on the same computer that my WWWC app runs on. So the path would be like this C:<Folder>\Pictures<Folder>\someimage.jpg

I've set up permissions on this exactly like the DEPLOY\TEMP folder has, yet the images won't show up (the img tag has the exact right path, but no image displays). I've used IIS to restart the website to see if it needed to read permissions at startup. No. I've shut down and restarted the WWWC app. No. The folder is not shared. Not thinking I need to do that . . .

Probably something simple I'm missing. Suggestions?

Gravatar is a globally recognized avatar based on your email address. re: How to make folder visible to WWWC app
  Rick Strahl
  Russell Campbell
  Oct 26, 2026 @ 04:40pm

How are you serving the images? You can't use IIS to serve those images directly - it will not allow serving images out of a folder below the current Web Root.

If you need to serve images from some external folder you need to either map a separate application/virtual into the current site, or you need to have your code load and serve the image explicitly via Response.BinaryWrite() or just Response.Write().

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: How to make folder visible to WWWC app
  Russell Campbell
  Rick Strahl
  Oct 26, 2026 @ 04:46pm

Oh, just as an img tag pointing over at that folder using the pathing I mentioned before, which is outside of the current Web Root. I thought it was really just all about permissions. Guess not. So I'll do this another way. The images are shared by a std. LAN-based VFP EXE and so I was hoping to keep them all in the original location and not WEB\IMAGES. I guess I could point the EXE at that folder or I could just keep the two in synch. The first is better, I'd say, as long as Windows, IIS, or anything else doesn't get in the way of that.

Gravatar is a globally recognized avatar based on your email address. re: How to make folder visible to WWWC app
  Russell Campbell
  Russell Campbell
  Nov 2, 2026 @ 04:09am

Working now. Thanks for your help.

© 1996-2026