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:

Claris HomePage messes up the code (1997) [WebDNA] WebDNA 7 multiple fcgid processes (2012) SSL question (2005) Redirect (2003) Uploading very large image files (2003) Extended [ConvertChars] (1997) [WebDNA] directory protection questions (2008) Partner Edition question ... (2003) Maximum characters in header? (1999) More news on 5.0 (2003) [/application] error? (1997) Nested tags count question (1997) form crasehes server (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Summing a field full of numbers ... (1997) WebCat2: Found Items syntax, etc. (1997) WebCatalog 4.0.2b5 available (2000) [Sum] function? (1997) SKU (1997) WebTen? (1997)