Re: hidden (phantom) file downloads

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31495
interpreted = N
texte = 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 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)
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 Mike Davis

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:

Changes to the List (1997) WebCatalog 2.0 b 15 mac (1997) [WebDNA] Convert db to MySQL (2009) Running _every_ page through WebCat-error.html (1997) ODBC on OSX continued (2002) WebCat 5 Intranet Question (2003) urls (2005) Problems getting parameters passed into email. (1997) Opinion: [input] should be called [output] ... (1997) frames & carts (1997) Help! WebCat2 bug (1997) Updating fields from different platforms (1998) multi-paragraph fields (1997) GuestBook example (1997) Problem displaying search result (1997) Emailer (1997) [WebDNA] OT, environment variables os x (2012) Re:multiple digests, please stop (1997) RE: Append problem w/" (1999) WebCat for mass emailings (1997)