Q: writefile and uploads.

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 15896
interpreted = N
texte = Two questions:1. I see from the documentation provided with the demo version that there is a [writefile] context that enables you to write to a specified file. I am thinking to utilize this context to create a system where the user can write text into a textfiled i a browser form an then create a textfile from the contents of that textfile. But I also have to know how to make a delete command for the file created. I cannot find any specific command to do this. I know it would be possible with embedded applescript, but I want to know if this workaround is unnecessary. I would like to avoid the slowdown of applescript in an otherwise fast solution.2. Any suggestions on how to implement an file upload feature in a publishing system based on WebCat? I would like the user to be able to attach a picture using the tag. As far as I know, WebCat hasnt any context/command to do this, or has it? The Webstar upload plugin is out of the question because I cannot control the name of the file, nor register the upload in a database.Any suggestions welcome!!By the way: I am using WebSTAR 2.1 on a Macintosh.Per Christian Lied (pk@pluto.wit.no) Associated Messages, from the most recent to the oldest:

    
  1. Re: Q: writefile and uploads. (Grant Hulbert 1998)
  2. Re: Q: writefile and uploads. (Chris Gursche 1998)
  3. Re: Q: writefile and uploads. (Grant Hulbert 1998)
  4. Q: writefile and uploads. (Per Christian Lied 1998)
Two questions:1. I see from the documentation provided with the demo version that there is a [writefile] context that enables you to write to a specified file. I am thinking to utilize this context to create a system where the user can write text into a textfiled i a browser form an then create a textfile from the contents of that textfile. But I also have to know how to make a delete command for the file created. I cannot find any specific command to do this. I know it would be possible with embedded applescript, but I want to know if this workaround is unnecessary. I would like to avoid the slowdown of applescript in an otherwise fast solution.2. Any suggestions on how to implement an file upload feature in a publishing system based on WebCat? I would like the user to be able to attach a picture using the tag. As far as I know, WebCat hasnt any context/command to do this, or has it? The Webstar upload plugin is out of the question because I cannot control the name of the file, nor register the upload in a database.Any suggestions welcome!!By the way: I am using WebSTAR 2.1 on a Macintosh.Per Christian Lied (pk@pluto.wit.no) Per Christian Lied

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:

Re:HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) Hosting Services (1999) wired [protect] action? (1998) Setting up shop (1997) [extremely OT] Pricing of Avg Concept Artist (2004) [cart] not being interpreted inside [founditems] (1997) WriteFile is there a max size? (1998) problems with WebCat-Plugin () WebCat2b12--[searchstring] bug (1997) What really killed WebDNA? (2007) WebDNA for Window 2000 Server (2003) Multiple Pulldowns (1997) WebCatalog can't find database (1997) Version 4? (2000) Summing fields (1997) webdelivery.html and webna (1997) Just Testing (1997) RE: [WebDNA] directory protection questions (2008) OH CRAP!!!!!- Template not found error!!! (1999) WebCat2b13MacPlugIn - [showif][search][/showif] (1997)