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:
[if] and [showif] (2002)
HTML Editors (1997)
All questions are welcome on this list (1997)
sandboxes with 6.0 (2004)
Calculating Shipping charges for multiple items andqtys > 1 (1997)
Another webcatalog site!! (1997)
Donovans Theorem (2003)
Site Search Concepts (2003)
Security Tip (1996)
Server Load - FIREWIRE (2000)
decrypt and summ problems (1999)
New Site Announcement (1998)
Another option (2005)
Windows and Webcat! (2000)
international time (1997)
Mass download. (2003)
[WebDNA] a major shift in strategy? (2008)
OT - Extract frames from GIF (2004)
Secure server question (1997)
[url] link (1998)