Re: hidden (phantom) file downloads

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31501
interpreted = N
texte = You can use applescript to alias the files (mac), or you can use shell to link them (unix), but I donno about doing it in NT (is there a command line shortcut utility?), I know, but that would create about the same amount of file system load as the method I mentioned, I think, because it would have to access trhe link file and then access the actual file, whereas in my method, it would have to access the error.html (which might be cached) and then access the doc file... however, it WOULD take less load on the server to use a link to do it because it wouldn't have top process any webdna.Derek>Just out of curiosity, would there be a way to use AppleScript, DOS, or >SHELL to create an alias/link to the files instead of copying them? And >would this be more efficient due to the lower file system overhead, or less >efficient due to the latencies in making an external call? I see how it >would be relatively simple to execute a system that copies files and uses a >trigger to clean them out. I just wonder when traffic and usage become a >factor with all that disk access. Anyone done any comparisons? > >Mike > >> WebMerchant does this automatically, with ShipVia=WEB. Since WC4.0 is >> going to include WebMerchant for free, I would recommend waiting for >> that to come out, rather than reinventing the wheel. If you really want >> to do it yourself, do something like this: >> >> 1) on the final invoice page, copy the file(s) to a temp directory with >> the name of the cart as its name, i.e. /temp/[cart]/realfile.name >> >> 2) produce a page that has link(s) to that directory to redirect the >> user to; make sure the page says that there is no point to bookmark it. >> >> 3) write a recursive page to delete all directories older than 24 hours >> and a trigger to run it once a day. >> >> It is not too hard, but waiting for WebMerchant would be a much easier >> method. >> >> HTH >> >> John Peacock >> >> Britt T. wrote: >>> >>> I am trying to have a members only restricted area where paying >>> subscribers can log in and download pdf or word files that they have >>> paid for - but I do not want to reveal the true location of the file. >>> Is anyone out there doing something like this? >>> >>> Any ideas? >>> >>> -- >>> ====================================================================== >>> Britt Thompson | PO Box 1989 >>> FishingWorld.com | Lindale, TX 75771 >>> Easttexas.com | Ph: (903) 882-8877 / Fax: (903) 882-3110 >>> ====================================================================== > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >-- Derek Chauran Web Developer, Dark Horse Comics derekc@darkhorse.com http://www.darkhorse.com------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: hidden (phantom) file downloads (Derek C. 2000)
  2. Re: hidden (phantom) file downloads (Mike Davis 2000)
  3. Re: hidden (phantom) file downloads (Derek C. 2000)
  4. Re: hidden (phantom) file downloads (Mike Davis 2000)
  5. Re: hidden (phantom) file downloads (Derek C. 2000)
  6. Re: hidden (phantom) file downloads (John Peacock 2000)
  7. Re: hidden (phantom) file downloads (Christer Olsson 2000)
  8. Re: hidden (phantom) file downloads (Michael O Shea 2000)
  9. Re: hidden (phantom) file downloads (Britt T. 2000)
  10. Re: hidden (phantom) file downloads (Kenneth Grome 2000)
  11. Re: hidden (phantom) file downloads (J Lane 2000)
  12. Re: hidden (phantom) file downloads (Kenneth Grome 2000)
  13. Re: hidden (phantom) file downloads (Britt T. 2000)
  14. Re: hidden (phantom) file downloads (Kenneth Grome 2000)
  15. hidden (phantom) file downloads (Britt T. 2000)
You can use applescript to alias the files (mac), or you can use shell to link them (unix), but I donno about doing it in NT (is there a command line shortcut utility?), I know, but that would create about the same amount of file system load as the method I mentioned, I think, because it would have to access trhe link file and then access the actual file, whereas in my method, it would have to access the error.html (which might be cached) and then access the doc file... however, it WOULD take less load on the server to use a link to do it because it wouldn't have top process any webdna.Derek>Just out of curiosity, would there be a way to use AppleScript, DOS, or >SHELL to create an alias/link to the files instead of copying them? And >would this be more efficient due to the lower file system overhead, or less >efficient due to the latencies in making an external call? I see how it >would be relatively simple to execute a system that copies files and uses a >trigger to clean them out. I just wonder when traffic and usage become a >factor with all that disk access. Anyone done any comparisons? > >Mike > >> WebMerchant does this automatically, with ShipVia=WEB. Since WC4.0 is >> going to include WebMerchant for free, I would recommend waiting for >> that to come out, rather than reinventing the wheel. If you really want >> to do it yourself, do something like this: >> >> 1) on the final invoice page, copy the file(s) to a temp directory with >> the name of the cart as its name, i.e. /temp/[cart]/realfile.name >> >> 2) produce a page that has link(s) to that directory to redirect the >> user to; make sure the page says that there is no point to bookmark it. >> >> 3) write a recursive page to delete all directories older than 24 hours >> and a trigger to run it once a day. >> >> It is not too hard, but waiting for WebMerchant would be a much easier >> method. >> >> HTH >> >> John Peacock >> >> Britt T. wrote: >>> >>> I am trying to have a members only restricted area where paying >>> subscribers can log in and download pdf or word files that they have >>> paid for - but I do not want to reveal the true location of the file. >>> Is anyone out there doing something like this? >>> >>> Any ideas? >>> >>> -- >>> ====================================================================== >>> Britt Thompson | PO Box 1989 >>> FishingWorld.com | Lindale, TX 75771 >>> Easttexas.com | Ph: (903) 882-8877 / Fax: (903) 882-3110 >>> ====================================================================== > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >-- Derek Chauran Web Developer, Dark Horse Comics derekc@darkhorse.com http://www.darkhorse.com------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Derek C.

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

catagories (1997) File Info Cache Size is out of range? (1998) Re2: frames & carts (1997) Quickie question on the email templates (1997) ShowIF Question (2000) Public Beta for WebCatalog 4.0 is Available (2000) Need relative path explanation (1997) WebCat2b15MacPlugin - showing [math] (1997) WebCat2b13 Command Reference Doc error (1997) Emailed problem (2000) Strange intermittent WebDNA problems (2008) Orders coming up blank (2004) Draft Manual, Tutorial, and more (1997) Cross domains Shopping Carts (2003) A simple email page? (1999) webcatalog 2.1.3 ACGI Weirdness? (1998) Suffix Mapping (1997) Add to Cart & List of Products (1997) PCS Frames (1997) MacAuthorize hub, no modal password dialog? (1997)