Re: Practical Uses
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49119
interpreted = N
texte = Fair enough .. Typed late at night from memory ..> Alain -> > One comment on your function... even with all the handy dandy new> scoping stuff in v5.0, I'd recommend against using url as the name of> the parameter to avoid confusion with the [url] context.> > - Brian> > On Wednesday, April 2, 2003, at 12:50 AM, Alain Russell wrote:> >> Nitai ..>> >> [function name=ftptransfer]>> [!] Can define this per OS and us different utilities,>> eg - in OSX we use ncftpput, here we expect 4 things>> url,file,user_name,pass_word [/!]>> >> [shell]>> ncftpput [url] -u [user_name] -p [pass_word] / [file]>> [/shell]>> [/function]>> >> Then in your template:>> >> [ftptransfer >> url=ftp.domain.com&file=path/to/file&user=letme&password=in]>> >> Change the fundtion for each platform ..>> Easy huh ;)>> >> Alain>> >> >>> On 2.4.2003 10:25 Uhr, Scott Anderson
>>> wrote:>>> >>>> In developing the CMS application, we needed a way to detect if two>>>> versions>>>> of the 'same' file, binary or text, differed in content.>>>> Calculating the>>>> CRC32 value of two files is a fast and easy way to determine if the>>>> content>>>> of the two files differ. If the CRC32 values are different, then>>>> the file>>>> contents to not match. Since we went to the trouble of adding a>>>> CRC32 lib to>>>> the WebDNA engine, It just made sense to expose that functionality>>>> as a new>>>> WebDNA tag. I am sure someone will find a use for it, as we have.>>> >>> Yes for OUR CMS solution:-)>>> >>> Now if you could only add a [ftptransfer] and a direct SQL engine ...>>> >>> Sincerely,>>> Nitai Aventaggiato>>> CEO>> >> >> ------------------------------------------------------------->> 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/-------------------------------------------------------------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:
Fair enough .. Typed late at night from memory ..> Alain -> > One comment on your function... even with all the handy dandy new> scoping stuff in v5.0, I'd recommend against using url as the name of> the parameter to avoid confusion with the [url] context.> > - Brian> > On Wednesday, April 2, 2003, at 12:50 AM, Alain Russell wrote:> >> Nitai ..>> >> [function name=ftptransfer]>> [!] Can define this per OS and us different utilities,>> eg - in OSX we use ncftpput, here we expect 4 things>> url,file,user_name,pass_word [/!]>> >> [shell]>> ncftpput [url] -u [user_name] -p [pass_word] / [file]>> [/shell]>> [/function]>> >> Then in your template:>> >> [ftptransfer >> url=ftp.domain.com&file=path/to/file&user=letme&password=in]>> >> Change the fundtion for each platform ..>> Easy huh ;)>> >> Alain>> >> >>> On 2.4.2003 10:25 Uhr, Scott Anderson >>> wrote:>>> >>>> In developing the CMS application, we needed a way to detect if two>>>> versions>>>> of the 'same' file, binary or text, differed in content.>>>> Calculating the>>>> CRC32 value of two files is a fast and easy way to determine if the>>>> content>>>> of the two files differ. If the CRC32 values are different, then>>>> the file>>>> contents to not match. Since we went to the trouble of adding a>>>> CRC32 lib to>>>> the WebDNA engine, It just made sense to expose that functionality>>>> as a new>>>> WebDNA tag. I am sure someone will find a use for it, as we have.>>> >>> Yes for OUR CMS solution:-)>>> >>> Now if you could only add a [ftptransfer] and a direct SQL engine ...>>> >>> Sincerely,>>> Nitai Aventaggiato>>> CEO>> >> >> ------------------------------------------------------------->> 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/-------------------------------------------------------------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/
Alain Russell
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:
breaking words (1997)
Bug or syntax error on my part? (1997)
Typhoon and Netpresenz? (1999)
RE: WebCatalog NT beta 18 now available (1997)
RE: Template Not Found (1998)
WebCat2.0b15-to many nested [xx] tags (1997)
[WebDNA] special chars (2009)
problems with WebCat-Plugin ()
Running on Empty (1999)
Dreamweaver Integration (1998)
Sendmail and attachments? (1998)
Sorting when searching with grouped fields (2002)
send mail problem? (1997)
Calendar (1997)
AJAX with WebDNA (2006)
Date Sorting (1997)
RE: Clearing orders and database help! (1997)
Summing fields (1997)
DON'T use old cart file! (1997)
REPOST [SUM field=xxxx] (2000)