Re: File info on files with funky characters in their names
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49829
interpreted = N
texte = This works:[fileinfo file=[url]a&b.txt[/url]]> Is there a reason that [fileinfo] cannot see files with quotes?Quotes are not legal filename characters on some file systems.> -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of> Brian Fries> Sent: Monday, April 28, 2003 4:39 PM> To: WebDNA Talk> Subject: File info on files with funky characters in their names> > > I'm working on a generic file upload page for a client, and > was testing > for robustness for users entering obscure characters in their file > names - ampersands, quotes, equal signs, etc. I found some > interesting > info about [fileinfo] and wanted to pass it on, as well as request > comment from SMSI...> > Unlike all (that I've tried) other WebDNA tags, FileInfo does > not work > properly when you [url] the parameter.> > Given a file named a&b.txt, using [fileinfo a&b.txt] works fine, but > using [fileinfo [url]a&b.txt[/url]] fails to find the file. > Other tags, > such as [include [url]a&b.txt[/url]] work fine with the [url].> > Then I tried quotes. I can [writefile file=[url]12paddle.txt[/url]], > and I can use deletefile and renamefile on the file, but I cannot see > the file with either [fileinfo 12paddle.txt] or [fileinfo > [url]12paddle.txt[/url]]> > For SMSI: Is this intentional behavior? Is there a reason that > [fileinfo] does not perform the implied [unurl] that all > other tags do? > Is there a reason that [fileinfo] cannot see files with quotes?> > TIA,> Brian> -- Brian Fries, BrainScan Software -- > http://www.brainscansoftware.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://webdna.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
This works:[fileinfo file=[url]a&b.txt[/url]]> Is there a reason that [fileinfo] cannot see files with quotes?Quotes are not legal filename characters on some file systems.> -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of> Brian Fries> Sent: Monday, April 28, 2003 4:39 PM> To: WebDNA Talk> Subject: File info on files with funky characters in their names> > > I'm working on a generic file upload page for a client, and > was testing > for robustness for users entering obscure characters in their file > names - ampersands, quotes, equal signs, etc. I found some > interesting > info about [fileinfo] and wanted to pass it on, as well as request > comment from SMSI...> > Unlike all (that I've tried) other WebDNA tags, FileInfo does > not work > properly when you [url] the parameter.> > Given a file named a&b.txt, using [fileinfo a&b.txt] works fine, but > using [fileinfo [url]a&b.txt[/url]] fails to find the file. > Other tags, > such as [include [url]a&b.txt[/url]] work fine with the [url].> > Then I tried quotes. I can [writefile file=[url]12paddle.txt[/url]], > and I can use deletefile and renamefile on the file, but I cannot see > the file with either [fileinfo 12paddle.txt] or [fileinfo > [url]12paddle.txt[/url]]> > For SMSI: Is this intentional behavior? Is there a reason that > [fileinfo] does not perform the implied [unurl] that all > other tags do? > Is there a reason that [fileinfo] cannot see files with quotes?> > TIA,> Brian> -- Brian Fries, BrainScan Software -- > http://www.brainscansoftware.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://webdna.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://webdna.smithmicro.com/
Scott Anderson
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:
Summing fields (1997)
New user...how do I create URLs from form fields? (2000)
Date search - yes or no (1997)
Re:listfiles-looking for slick solution (1997)
Redirect frame targets (1998)
No shipping systems available? (1998)
CR's (2003)
WC TableGrinder (1997)
t or f (1997)
Unexceling (was I need a smart quote...) (1999)
Some Questions (1997)
[WebDNA] Minor error correction (2008)
Storefornts (1997)
Car Database (2002)
Format of Required fields error message (1997)
Interpret Around Contexts? (2000)
[CART] inside a [LOOP] (1997)
[WriteFile] problems (1997)
2nd WebCatalog2 Feature Request (1996)
RE: error count with $purchase (1997)