Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way in Samba to catch a "file does not exist" event when someone wants to read a file and it's not there, and handle it by creating and serving the file on the fly? Similar to what Apache achieves with mod_rewrite.

The scenario is this:

  • Windows program requests a file at \server\share\image.jpg
  • File does not exist, but I need to create it on the fly
  • Windows gets an image delivered, completely transparently to the application.

Is this possible?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.