Re: Writefile problem

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25019
interpreted = N
texte = My thanks goes out to whoever at tech support sent me this email.
Apparenty some of the applicants had been typing their phone # as
000/000/000 instead of 000-000-0000.  As you said a / is an illegal
filesystem character and the file just didn't  write.  I just ran a bunch
of tests and found a better way to name the file.

Thanks again!,

-RW

PCS Technical Support wrote:

>[WriteFile file=./jobs/[url][name][phone][/url].tpl&secure=F]

What kind of error checking are you doing to make sure that [name]
and [phone] do not contain illegal filesystem characters?  Depending
on which operating system you are running, the computer cannot create
files with letters like /, \, :, or even the quote character
itself.  Also, some filesystems limit file name lengths to 8, 11, 31,
or 255 characters.

Can you characterize the filenames which were *not* written?

Technical Support                      **********************************
Smith Micro, Internet Solutions Div    | Formerly, Pacific Coast Software
16855 West Bernardo Drive              |   -------------------------
Suite 380                              |     eCommerce (WebCatalog)
San Diego, CA 92127                    |   Software & Site Development
858.675.1106                           |  http://www.smithmicro.com
858.675.0372 (fax)                     **********************************

-------------------------------------------------------------
Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.
To end your Mail problems go to <http://www.stalker.com/CommuniGatePro>.

This message is sent to you because you are subscribed to
  the mailing list <WebDNA-Talk@talk.smithmicro.com>.
To unsubscribe, E-mail to: <WebDNA-Talk@talk.smithmicro.com>
To switch to the DIGEST mode, E-mail to <WebDNA-Talk-digest@talk.smithmicro.com>

------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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
From ???@??? Fri Dec 03 07:50:20 1999 Return-Path: X-ListServer: CommuniGate Pro LIST 3.1 List-Unsubscribe: Message-ID: Reply-To: (WebCatalog Talk) Sender: (WebCatalog Talk) To: (WebCatalog Talk) Precedence: list X-Original-Message-Id: Date: Thu, 2 Dec 1999 12:29:45 -1000 From: Kenneth Grome Subject: Re: Writefile problemWhat's the point of writing a new .tpl file when you could just as easily write a single record to a db, and let the user pull up that record with a standard search context in a pre-existing template?If there is actually a good reason to do it the way you're doing it, it still makes more sense to give this file an .html suffix -- or some other suffix that webcatalog does *not* serve -- instead of using the .tpl suffix. After all, there won't be any webdna tags in this file after the file is written, so at the very least you should remove the tag! > I have a problem with a writefile context on a web page that I'm working on for a company that is using online job applications for employment on a secure server. I've built a database of available jobs that pulls up in a table on the page empindex.tpl. When you click on one of the jobs, it routes to a secure server and provides you with an online application to fill out. After they've filled it out and submitted it a thankyou.tpl page is posted. Included in this page is the WriteFile context which writes an HTML page of the application to a jobs folder in the same directory. There are also two include tags in this thankyou.tpl file. One is a file containing a sendmail context which sends a confirmation to the applicant, the other is a file containing another sendmail context which sends a notification to the company. This email contains a direct link to the application (the application is named with the name and phone number of the applicant so that if an applicant applied with the same name as someone else the writefile context won't write over the first one) on the secure server that was just filled out. Both the sendmails work fine, but my problem is this: Most of the time the file is written fine and works great, but occasionally one does not get written at all (1 out of 10, maybe). I've looked on the server to see if it wrote it outside of the jobs folder and it is nowhere to be found. I can't narrow it down to a browser specific problem either. At first it was thought to be an AOL problem, but the longer it's up the more files don't get written and they are not all from AOL They are from all over. I've been straining on this for days now. The following is the basics of the writeFile context I've written and the include tags... > > >[WriteFile file=./jobs/[url][name][phone][/url].tpl&secure=F] > > > >National City Bank Secure Application > > >
> > > > > > > > > > > > > > > > > >[/WriteFile] > >[include file=thankyou.txt] >[include file=incoming.txt] > > >Please Help!!!!! >-RW------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 ================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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:

>
Personal Information

> >
Full Name:[name]
Home Address:[address1]
City:[city]
State:[state]
Zip:[zip]
Home Phone:[phone]
Work Phone:[header1]
Fax:[header30]
E-mail Address:[email]
How did you hear about us?:[header2]
    
  1. Re: PDF Writefile problem ( "Jason Aus" 2005)
  2. Re: PDF Writefile problem ( "Eric Miller" 2005)
  3. Re: PDF Writefile problem ( "Jason Aus" 2005)
  4. Re: PDF Writefile problem ( "Eric Miller" 2005)
  5. Re: PDF Writefile problem ( John Hill 2005)
  6. Re: PDF Writefile problem ( Daryl Mitchell 2005)
  7. PDF Writefile problem ( "Eric Miller" 2005)
  8. PDF writefile problem ( "Eric Miller" 2004)
  9. Re: Createfolder / writefile problem ( Jesse Proudman 2004)
  10. Re: Createfolder / writefile problem ( devaulw@onebox.com 2004)
  11. Re: Createfolder / writefile problem ( "Nitai @ ComputerOil" 2004)
  12. Re: Createfolder / writefile problem ( Jim Lanford 2004)
  13. Createfolder / writefile problem ( Jesse Proudman 2004)
  14. Re: Writefile problem (Robert Wade 1999)
  15. Re: Writefile problem (John Butler 1999)
  16. Re: Writefile problem (Robert Wade 1999)
  17. Re: Writefile problem (PCS Technical Support 1999)
  18. Writefile problem (Robert Wade 1999)
My thanks goes out to whoever at tech support sent me this email.
Apparenty some of the applicants had been typing their phone # as
000/000/000 instead of 000-000-0000.  As you said a / is an illegal
filesystem character and the file just didn't  write.  I just ran a bunch
of tests and found a better way to name the file.

Thanks again!,

-RW

PCS Technical Support wrote:

>[WriteFile file=./jobs/[url][name][phone][/url].tpl&secure=F]

What kind of error checking are you doing to make sure that [name]
and [phone] do not contain illegal filesystem characters?  Depending
on which operating system you are running, the computer cannot create
files with letters like /, \, :, or even the quote character
itself.  Also, some filesystems limit file name lengths to 8, 11, 31,
or 255 characters.

Can you characterize the filenames which were *not* written?

Technical Support                      **********************************
Smith Micro, Internet Solutions Div    | Formerly, Pacific Coast Software
16855 West Bernardo Drive              |   -------------------------
Suite 380                              |     eCommerce (WebCatalog)
San Diego, CA 92127                    |   Software & Site Development
858.675.1106                           |  http://www.smithmicro.com
858.675.0372 (fax)                     **********************************

-------------------------------------------------------------
Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.
To end your Mail problems go to <http://www.stalker.com/CommuniGatePro>.

This message is sent to you because you are subscribed to
  the mailing list <WebDNA-Talk@talk.smithmicro.com>.
To unsubscribe, E-mail to: <WebDNA-Talk@talk.smithmicro.com>
To switch to the DIGEST mode, E-mail to <WebDNA-Talk-digest@talk.smithmicro.com>

------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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
From ???@??? Fri Dec 03 07:50:20 1999 Return-Path: X-ListServer: CommuniGate Pro LIST 3.1 List-Unsubscribe: Message-ID: Reply-To: (WebCatalog Talk) Sender: (WebCatalog Talk) To: (WebCatalog Talk) Precedence: list X-Original-Message-Id: Date: Thu, 2 Dec 1999 12:29:45 -1000 From: Kenneth Grome Subject: Re: Writefile problemWhat's the point of writing a new .tpl file when you could just as easily write a single record to a db, and let the user pull up that record with a standard search context in a pre-existing template?If there is actually a good reason to do it the way you're doing it, it still makes more sense to give this file an .html suffix -- or some other suffix that webcatalog does *not* serve -- instead of using the .tpl suffix. After all, there won't be any webdna tags in this file after the file is written, so at the very least you should remove the tag! > I have a problem with a writefile context on a web page that I'm working on for a company that is using online job applications for employment on a secure server. I've built a database of available jobs that pulls up in a table on the page empindex.tpl. When you click on one of the jobs, it routes to a secure server and provides you with an online application to fill out. After they've filled it out and submitted it a thankyou.tpl page is posted. Included in this page is the WriteFile context which writes an HTML page of the application to a jobs folder in the same directory. There are also two include tags in this thankyou.tpl file. One is a file containing a sendmail context which sends a confirmation to the applicant, the other is a file containing another sendmail context which sends a notification to the company. This email contains a direct link to the application (the application is named with the name and phone number of the applicant so that if an applicant applied with the same name as someone else the writefile context won't write over the first one) on the secure server that was just filled out. Both the sendmails work fine, but my problem is this: Most of the time the file is written fine and works great, but occasionally one does not get written at all (1 out of 10, maybe). I've looked on the server to see if it wrote it outside of the jobs folder and it is nowhere to be found. I can't narrow it down to a browser specific problem either. At first it was thought to be an AOL problem, but the longer it's up the more files don't get written and they are not all from AOL They are from all over. I've been straining on this for days now. The following is the basics of the writeFile context I've written and the include tags... > > >[WriteFile file=./jobs/[url][name][phone][/url].tpl&secure=F] > > > >National City Bank Secure Application > > >
> > > > > > > > > > > > > > > > > >[/WriteFile] > >[include file=thankyou.txt] >[include file=incoming.txt] > > >Please Help!!!!! >-RW------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 ================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Robert Wade

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:

WebCatalog for guestbook ? (1997) weird cart #? (1999) Stumped (1999) Process SSI and WebCatalog.acgi (1998) Site Check (2006) Problem displaying search result (1997) OT Pager notification of completed orders (1998) A sendmail warning (2005) .html processing? (1998) Is this a DEATH THREAT? (2002) [WebDNA] Problem with Cookies in IE and Safari (2009) HELP! 10K hits per hour for pages that no longer exist! (2000) Shopping Cart Limits? (1998) [shell] (2003) RE: Formulas.db + Users.db (1997) websitepro/webcat/registry? (1998) Some Advise needed (1997) Credit card processing - UK (1997) Requiring that certain fields be completed (1997) slowness (1998)
>
Personal Information

> >
Full Name:[name]
Home Address:[address1]
City:[city]
State:[state]
Zip:[zip]
Home Phone:[phone]
Work Phone:[header1]
Fax:[header30]
E-mail Address:[email]
How did you hear about us?:[header2]