Re: [WebDNA] Bug? [fileinfo..] You decide
This WebDNA talk-list message is from 2016
It keeps the original formatting.
numero = 112641
interpreted = N
texte = 224This is a multi-part message in MIME format.--------------070807040107070001090004Content-Type: text/plain; charset=windows-1252; format=flowedContent-Transfer-Encoding: quoted-printableI also vote "not a bug."In addition to how *nix treats is, most of the websites I frequent (and=20I just double checked this) will take thiswww.domain.com/blogand turn it into this:www.domain.com/blog/as the page loads.Also, as already stated, we have the [isfile] that is built in for the=20preferred, or alternative testing.-MattOn 3/16/2016 1:24 PM, Brian Fries wrote:> I vote =93not a bug.=94>> In your example, [EXISTS] should return =93T=94, but [ISFILE] will retu=rn =93F=94.>> If you ignore trailing slashes, what would you expect for [FILEINFO=20> /][EXISTS][/FILEINFO]?>> The *nix command line treats =93/bin=94 the same as =93/bin/=93, WebDNA= should=20> as well.>> For this reason, I rarely use [EXISTS], since I almost always know=20> whether I=92m looking for a folder or a file. Though sometimes I use=20> both [EXISTS] and [ISFILE] to make sure I don=92t overwrite a folder=20> with a file.>>> On Mar 16, 2016, at 10:08 AM, Donovan Brooke
> > wrote:>>>> Hello,>>>> [FileInfo file=3D./[path]/images/[t_filename]][Exists][/FileInfo]>>>> Expected results:>> if [t_filename] equals blank, then result expected is F>>>> However, since the directory =91images=92 in>> ./[path]/images/>> exists, the result currently is T>>>> I believe that rather if there is a trailing =91/=91 character in the=20>> path, file info EXISTS should return F=85 *always*.>>>> discuss. :-)>>>> Donovan>>>>>>>>>>>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list >.>> To unsubscribe, E-mail to: > >>> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us >> --------------------------------------------------------- This message=20> is sent to you because you are subscribed to the mailing list . To=20> unsubscribe, E-mail to: archives:=20> http://mail.webdna.us/list/talk@webdna.us Bug Reporting:=20> support@webdna.us> --=20> Matthew A Perosi> Corporate Consultant> Mobile Marketing Expert> Senior Web Developer> SEO Analyst & Educator> matt@psiprime.com>> Psi Prime> 323 Union Blvd.> Totowa, NJ 07512>> Direct: 888.872.0274> Fax: 888.488.5924>> http://www.perosi.com--------------070807040107070001090004Content-Type: text/html; charset=windows-1252Content-Transfer-Encoding: quoted-printable I also vote "not a bug."
In addition to how *nix treats is, most of the websites I frequent (and I just double checked this) will take this
www.domain.com/blog
and turn it into this:
www.domain.com/blog/
as the page loads.
Also, as already stated, we have the [isfile] that is built in for the preferred, or alternative testing.
-Matt
On 3/16/2016 1:24 PM, Brian Fries wrote:
I vote =93not a bug.=94
In your example, [EXISTS] should return =93T=94, bu=t [ISFILE] will return =93F=94.
If you ignore trailing slashes, what would you expect for [FILEINFO /][EXISTS][/FILEINFO]?
The *nix command line treats =93/bin=94 the same as =93/bin/=93, WebDNA should as well.
For this reason, I rarely use [EXISTS], since I almost always know whether I=92m looking for a folder or a file. Though sometimes I use both [EXISTS] and [ISFILE] to make sure I don=92t overwrite a folder with a file.
Hello,
[FileInfo file=3D./[path]/images/[t_filename]][Exists][/FileInfo]
Expected results:
if [t_filename] equals blank, then result expected is F
However, since the directory =91images=92 in
./[path]/images/
exists, the result currently is T
I believe that rather if there is a trailing =91/=91 character in the path, file info EXISTS should return F=85 *always*.
discuss. :-)
Donovan
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.u=s>.
To unsubscribe, E-mail to: <talk-le=ave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@we=bdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.u=s Bug Reporting: support@webdna.us
--=20Matthew A PerosiCorporate ConsultantMobile Marketing ExpertSenior Web DeveloperSEO Analyst & Educatorm=att@psiprime.comPsi Prime323 Union Blvd.Totowa, NJ 07512Direct: 888.872.0274Fax: 888.488.5924http://=www.perosi.com
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us--------------070807040107070001090004--.
Associated Messages, from the most recent to the oldest:
224This is a multi-part message in MIME format.--------------070807040107070001090004Content-Type: text/plain; charset=windows-1252; format=flowedContent-Transfer-Encoding: quoted-printableI also vote "not a bug."In addition to how *nix treats is, most of the websites I frequent (and=20I just double checked this) will take thiswww.domain.com/blogand turn it into this:www.domain.com/blog/as the page loads.Also, as already stated, we have the [isfile] that is built in for the=20preferred, or alternative testing.-MattOn 3/16/2016 1:24 PM, Brian Fries wrote:> I vote =93not a bug.=94>> In your example, [EXISTS] should return =93T=94, but [ISFILE] will retu=rn =93F=94.>> If you ignore trailing slashes, what would you expect for [FILEINFO=20> /][EXISTS][/FILEINFO]?>> The *nix command line treats =93/bin=94 the same as =93/bin/=93, WebDNA= should=20> as well.>> For this reason, I rarely use [EXISTS], since I almost always know=20> whether I=92m looking for a folder or a file. Though sometimes I use=20> both [EXISTS] and [ISFILE] to make sure I don=92t overwrite a folder=20> with a file.>>> On Mar 16, 2016, at 10:08 AM, Donovan Brooke > > wrote:>>>> Hello,>>>> [FileInfo file=3D./[path]/images/[t_filename]][Exists][/FileInfo]>>>> Expected results:>> if [t_filename] equals blank, then result expected is F>>>> However, since the directory =91images=92 in>> ./[path]/images/>> exists, the result currently is T>>>> I believe that rather if there is a trailing =91/=91 character in the=20>> path, file info EXISTS should return F=85 *always*.>>>> discuss. :-)>>>> Donovan>>>>>>>>>>>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list >.>> To unsubscribe, E-mail to: > >>> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us >> --------------------------------------------------------- This message=20> is sent to you because you are subscribed to the mailing list . To=20> unsubscribe, E-mail to: archives:=20> http://mail.webdna.us/list/talk@webdna.us Bug Reporting:=20> support@webdna.us> --=20> Matthew A Perosi> Corporate Consultant> Mobile Marketing Expert> Senior Web Developer> SEO Analyst & Educator> matt@psiprime.com>> Psi Prime> 323 Union Blvd.> Totowa, NJ 07512>> Direct: 888.872.0274> Fax: 888.488.5924>> http://www.perosi.com--------------070807040107070001090004Content-Type: text/html; charset=windows-1252Content-Transfer-Encoding: quoted-printable I also vote "not a bug."
In addition to how *nix treats is, most of the websites I frequent (and I just double checked this) will take this
www.domain.com/blog
and turn it into this:
www.domain.com/blog/
as the page loads.
Also, as already stated, we have the [isfile] that is built in for the preferred, or alternative testing.
-Matt
On 3/16/2016 1:24 PM, Brian Fries wrote:
I vote =93not a bug.=94
In your example, [EXISTS] should return =93T=94, bu=t [ISFILE] will return =93F=94.
If you ignore trailing slashes, what would you expect for [FILEINFO /][EXISTS][/FILEINFO]?
The *nix command line treats =93/bin=94 the same as =93/bin/=93, WebDNA should as well.
For this reason, I rarely use [EXISTS], since I almost always know whether I=92m looking for a folder or a file. Though sometimes I use both [EXISTS] and [ISFILE] to make sure I don=92t overwrite a folder with a file.
Hello,
[FileInfo file=3D./[path]/images/[t_filename]][Exists][/FileInfo]
Expected results:
if [t_filename] equals blank, then result expected is F
However, since the directory =91images=92 in
./[path]/images/
exists, the result currently is T
I believe that rather if there is a trailing =91/=91 character in the path, file info EXISTS should return F=85 *always*.
discuss. :-)
Donovan
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.u=s>.
To unsubscribe, E-mail to: <talk-le=ave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@we=bdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.u=s Bug Reporting: support@webdna.us
--=20Matthew A PerosiCorporate ConsultantMobile Marketing ExpertSenior Web DeveloperSEO Analyst & Educatorm=att@psiprime.comPsi Prime323 Union Blvd.Totowa, NJ 07512Direct: 888.872.0274Fax: 888.488.5924http://=www.perosi.com
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us--------------070807040107070001090004--.
"Matthew A Perosi, Psi Prime"
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: How to verify email address (1997)
RE: Sorting error (1997)
Nav. 4 probs with cart - Serious problem (1997)
Locking up with WebCatalog... (1997)
headers (2004)
Share cost of training videos! (1998)
need to add a sku field to an existing db (2005)
Re[2]: Re[2]: WebCatalog keeps quiting on Solaris, and suppo (2000)
emailer (1997)
[random] only for 1-100??? (1997)
t or f (1997)
BBEdit and WebCatalog 2.0? (1997)
A question on sub-categories (1997)
anyone using Webcat 4.x in production? (2000)
ShipCosts database (1997)
Have I lost my mind? uhmm... (2002)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
webcat license???? (1997)
no [search] with NT (1997)
ODBC to WebCat (2000)