NetTalk Central

Author Topic: NT4 - Intercepting image file dowload  (Read 3145 times)

bwhisler

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Email
NT4 - Intercepting image file dowload
« on: March 22, 2010, 06:48:56 AM »
Hi all. Using NT4 with Clarion 6.3, ABC.

I have a form which I hand coded to show a number of images from a folder but one that changes depending on other options. I have that working for the most part using the full path from the web folder but I prefer to have the web page only have the base name without the path. I would then expand that filename at the server based on session values to the full path/name. The reason for this is to prevent someone from modifying the web source page and get pictures from a dfferent folder.

I have done something similar with files using ThisNetWorker.Rename() but that does not appear to work for images. I assume there is a procedure that I can use to do this but which one?

Thanks in advance for any tips or pointers!

Barton Whisler

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: NT4 - Intercepting image file dowload
« Reply #1 on: March 24, 2010, 12:01:28 AM »
Hi Barton,
post an example - it's much easier to comment and correct if I can see the specifics of what you are doing.

cheers
Bruce