Solution: Mult-File Upload w/ Web Star

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33898
interpreted = N
texte = Hi !I had exactly the same problem and the only reply from Support was look at the storebuilder templates - very helpful indeed :-)So here is the solution:dialog:....


....
.... And in the receiving template: .... *) .... [formvariables] [showif [getchars &start=38&end=44][name][/getchars]=file1] [writefile file=yourfile.name&secure=F][value][/writefile] [/showif] [showif [getchars &start=38&end=44][name][/getchars]=file2] [writefile file=yoursecondfile.name&secure=F][value][/writefile] [/showif] [/formvariables] .... This used to work on WebCat 4.0 and 3.0.8 for Windoze and is supposed to work on WebCat 4.0 for Macs & Unix. When using this with 3.0.7 for Mac, it only uploads text-files correctly!Tip: If you need other form-information BEFORE you save the file out, you should run a [formvariable] ... [/formvariable] - thing BEFORE the writefile - part. (i.e. where I put the star (*)). The reason for this is, that any form-variable such as the example-text-box, is NOT (!!!!!!!!!!!) availabe via [example], but you rather have to find it like this: [formvariables] [showif [getchars &start=38&end=51][name][/getchars]=example] [text show=f]example=[value][/text] [/showif] ... and the same for all other variables ! [/formvariables]On Mon, 26 Jun 2000 14:52:28 Paul Uttermohlen wrote: > >A colleague developed a way to do file upload using Typhoon Pro 3.x > >I am sure if you ask nicely on this list he will tell you how. > > Patrick is looking for multi-file upload. > Webcat 4.0 seems to be capable of single-file upload but not via a > context. > > Paul > > > > >On Monday, June 26, 2000, Patrick O'Brien > > wrote: > > >Okay, > > > > > >So to cut to the chase, there is NOT a multi-file upload > >capability in WebCat 4.0? > > >>From the cleverly guised note from SM I'm guessing only > > >single-file works. > > > > > >I'm basing my decision to upgrade from 3x on whether this ability > >exists or not. > > >-- > > >Sincerely, > > > > > >Patrick O'Brien Systems Adminstrator > > >Sandusky Register > http://www.sanduskyregister.com > > >Top Interactive > http://www.topinteractive.com > > >419-625-5500 ext. 333 > > > > > >On Tuesday, August 15, 1939, WebDNA Support > > wrote: > > >>>Charles just posted something about an [upload] context in the > new > > >>>StoreBuilder. I did a find with BBEdit and found this: > > >>> > > >>> > > >>> > > >>>Is there any documentation on this context? Or can someone > >explain how this > > >>>works? > > >> > > >>There is no upload context, per se. WebCatalog 4.0 includes > > >some >templates in StoreBuilder which perform a single-file > > >upload, using >some fancy WebDNA to accomplish the task. So > > >file upload is a new >feature, but not a new context. You > > >are free to use these >templates in your other WebDNA 4.0 sites. > > >> > > >>Technical Support > ********************************** > > >>Smith Micro, Internet Solutions Div | eCommerce > (WebCatalog) > > >>16855 West Bernardo Drive, #380 | > ------------------------- > > >>San Diego, CA 92127 | Software & Site > Development > > >>WebCatalog Support: (858) 675-0632 | > http://www.smithmicro.com > > >> Fax: (858) 675-0372 > >********************************** > > >> > > >>------------------------------------------------------------- > > >>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 > > > > >>Web Archive of this list is at: http://search.smithmicro.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 > > > > >Web Archive of this list is at: http://search.smithmicro.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 > > > >Web Archive of this list is at: http://search.smithmicro.com/ > > _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ > _/_/_/Paul Uttermohlen, Interactive Ink, Inc._\_\_ > \_\_\_\_ > _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ > _/_/_/ Business - _\_\_\_\_\_\_ > _/_/_/ Real Estate - > _\_\_\_\_ > _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://search.smithmicro.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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Solution: Mult-File Upload w/ Web Star (Patrick O'Brien 2000)
  2. Solution: Mult-File Upload w/ Web Star (Peter Werno 2000)
Hi !I had exactly the same problem and the only reply from Support was look at the storebuilder templates - very helpful indeed :-)So here is the solution:dialog:....


....
.... And in the receiving template: .... *) .... [formvariables] [showif [getchars &start=38&end=44][name][/getchars]=file1] [writefile file=yourfile.name&secure=F][value][/writefile] [/showif] [showif [getchars &start=38&end=44][name][/getchars]=file2] [writefile file=yoursecondfile.name&secure=F][value][/writefile] [/showif] [/formvariables] .... This used to work on WebCat 4.0 and 3.0.8 for Windoze and is supposed to work on WebCat 4.0 for Macs & Unix. When using this with 3.0.7 for Mac, it only uploads text-files correctly!Tip: If you need other form-information BEFORE you save the file out, you should run a [formvariable] ... [/formvariable] - thing BEFORE the writefile - part. (i.e. where I put the star (*)). The reason for this is, that any form-variable such as the example-text-box, is NOT (!!!!!!!!!!!) availabe via [example], but you rather have to find it like this: [formvariables] [showif [getchars &start=38&end=51][name][/getchars]=example] [text show=f]example=[value][/text] [/showif] ... and the same for all other variables ! [/formvariables]On Mon, 26 Jun 2000 14:52:28 Paul Uttermohlen wrote: > >A colleague developed a way to do file upload using Typhoon Pro 3.x > >I am sure if you ask nicely on this list he will tell you how. > > Patrick is looking for multi-file upload. > Webcat 4.0 seems to be capable of single-file upload but not via a > context. > > Paul > > > > >On Monday, June 26, 2000, Patrick O'Brien > > wrote: > > >Okay, > > > > > >So to cut to the chase, there is NOT a multi-file upload > >capability in WebCat 4.0? > > >>From the cleverly guised note from SM I'm guessing only > > >single-file works. > > > > > >I'm basing my decision to upgrade from 3x on whether this ability > >exists or not. > > >-- > > >Sincerely, > > > > > >Patrick O'Brien Systems Adminstrator > > >Sandusky Register > http://www.sanduskyregister.com > > >Top Interactive > http://www.topinteractive.com > > >419-625-5500 ext. 333 > > > > > >On Tuesday, August 15, 1939, WebDNA Support > > wrote: > > >>>Charles just posted something about an [upload] context in the > new > > >>>StoreBuilder. I did a find with BBEdit and found this: > > >>> > > >>> > > >>> > > >>>Is there any documentation on this context? Or can someone > >explain how this > > >>>works? > > >> > > >>There is no upload context, per se. WebCatalog 4.0 includes > > >some >templates in StoreBuilder which perform a single-file > > >upload, using >some fancy WebDNA to accomplish the task. So > > >file upload is a new >feature, but not a new context. You > > >are free to use these >templates in your other WebDNA 4.0 sites. > > >> > > >>Technical Support > ********************************** > > >>Smith Micro, Internet Solutions Div | eCommerce > (WebCatalog) > > >>16855 West Bernardo Drive, #380 | > ------------------------- > > >>San Diego, CA 92127 | Software & Site > Development > > >>WebCatalog Support: (858) 675-0632 | > http://www.smithmicro.com > > >> Fax: (858) 675-0372 > >********************************** > > >> > > >>------------------------------------------------------------- > > >>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 > > > > >>Web Archive of this list is at: http://search.smithmicro.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 > > > > >Web Archive of this list is at: http://search.smithmicro.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 > > > >Web Archive of this list is at: http://search.smithmicro.com/ > > _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ > _/_/_/Paul Uttermohlen, Interactive Ink, Inc._\_\_ > \_\_\_\_ > _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ > _/_/_/ Business - _\_\_\_\_\_\_ > _/_/_/ Real Estate - > _\_\_\_\_ > _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://search.smithmicro.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 Web Archive of this list is at: http://search.smithmicro.com/ Peter Werno

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:WebCatalog f2 Installation (1997) [WebDNA] Does [referrer] get lost when server switches from http (2020) different show next (1997) Summing fields (1997) [purchase] (1999) Re1000001: Setting up shop (1997) Sitebuilder (2004) Max Record length restated as maybe bug (1997) Mac: LModelDirector bug fix (1997) WebCat2 several catalogs? (1997) New commands in Final candidate (1997) Searching multiple fields (1997) Random Order Sort? (2000) [ShowIf] if the varieable exists (1998) 2.0 Info (1997) Related database (2000) Math Help (2000) Associative lookup style? + bit more (1997) [WebDNA] Format Days_To_Date (2008) Been meaning to ask... (1997)