NetTalk Central

Author Topic: Question about accessing images shared with Win32 app  (Read 1773 times)

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Question about accessing images shared with Win32 app
« on: December 20, 2011, 07:09:26 PM »
I've searched the archives here and think I've found my answer, but would like to double-check that I've understood this.  I want to be able to use photos that are stored in a folder on the drive (not under the web folder).  To do that, I need to:

1. Copy the individual photo from the actual path to the web photo folder when needed and delete when done.

2. Use Mklink to set the actual photo folder path to a symbolic folder that I can reference.

Apparently, I can't just access the photo folder path on the drive (haven't been able to make that work).

Is the above correct?  Is there a better way?

Thanks.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11204
    • View Profile
Re: Question about accessing images shared with Win32 app
« Reply #1 on: December 20, 2011, 10:19:42 PM »
Hi Jim,

I assume you mean either 1. or 2. below, in which case yes, both are possible.
There is a 3rd way, explored by the "FileDownload" example. This uses an interim procedure to serve files from elsewhere on the drive.

Which ever way you go, please be very careful to make sure the necessary _limits_ are in place. What you don't inadvertently want to do is allow people to download files other than the ones you intended.

cheers
Bruce