Re: [WebDNA] Bug? [fileinfo..] You decide

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112641
interpreted = N
texte = 224 This is a multi-part message in MIME format. --------------070807040107070001090004 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable I also vote "not a bug." In addition to how *nix treats is, most of the websites I frequent (and=20 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=20 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, 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 --------------070807040107070001090004 Content-Type: text/html; charset=windows-1252 Content-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.

On Mar 16, 2016, at 10:08 AM, Donovan Brooke <dbrooke@euca.u= s> 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 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 to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --------------070807040107070001090004-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Bug? [fileinfo..] You decide (Donovan Brooke 2016)
  2. Re: [WebDNA] Bug? [fileinfo..] You decide ("Matthew A Perosi, Psi Prime" 2016)
  3. Re: [WebDNA] Bug? [fileinfo..] You decide (Brian Fries 2016)
  4. [WebDNA] Bug? [fileinfo..] You decide (Donovan Brooke 2016)
224 This is a multi-part message in MIME format. --------------070807040107070001090004 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable I also vote "not a bug." In addition to how *nix treats is, most of the websites I frequent (and=20 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=20 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, 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 --------------070807040107070001090004 Content-Type: text/html; charset=windows-1252 Content-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.

On Mar 16, 2016, at 10:08 AM, Donovan Brooke <dbrooke@euca.u= s> 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 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 to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug 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:

!@#$$@@# formulas database, tax and freight. (2002) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) [OT] 'Email this story to a friend' (2003) SSL Config for Webten on Mac (1998) decrypt and summ problems (1999) WebCat2 - [format thousands] (1997) Variables from a long text string (2000) Searchable WebCat (etc.) Docs ? (1997) Gift Certificates? Any one have suggestions? (2000) shipping costs (1997) Calendar (1997) Show if time tags (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Nitro plugin? (1998) [append] problems (2003) [SHOWIF] (1997) [WebDNA] macOS 10.13.3 and WebDNA Mac Server 8.5.1 - hick-up (2019) [OT] Form Check java problem (2003) Claris HomePage messes up the code (1997) convertchars and case? (1998)