Re: Practical Uses

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49116
interpreted = N
texte = 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.- BrianOn 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Practical Uses (Alain Russell 2003)
  2. Re: Practical Uses (Brian Fries 2003)
  3. Re: Practical Uses (Charles Kline 2003)
  4. Re: Practical Uses (Alain Russell 2003)
  5. Re: Practical Uses (Nitai @ ComputerOil 2003)
  6. Re: Practical Uses (Alain Russell 2003)
  7. Re: Practical Uses (Nitai @ ComputerOil 2003)
  8. Re: Practical Uses (Scott Anderson 2003)
  9. Re: Practical Uses (Nitai @ ComputerOil 2003)
  10. Practical Uses (Stuart Tremain 2003)
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.- BrianOn 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/ Brian Fries

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:

PSC recommends what date format yr 2000??? (1997) best way to check against old cart #s (1999) Same Table Opened Twice (2003) listcookies works only sometimes (1997) HELP WITH DATES (1997) is there a [purchase]? (1998) [WebDNA] Advices for Linux Config (2017) RE: Automatic Forwarding using WebCat (1997) DON'T use old cart file! (1997) 2.0Beta Command Ref (can't find this instruction) (1997) Template not found error messages (1997) pricing continued (1998) Formatted [time] inside sendmail (2002) WebDNA Examples (Was Suggestions) (1998) OT: Limit on # of Pulldown entries (1997) Location of Webcat site in folder hierarchy (1997) best way to test for the existence of a parameter in a url (2003) Date calculation problems (1997) Webmerchant confirmation hooks? (1997) Can [writefile] files be served thru webcat? (2000)