Re: Develop on Mac - Serve on Linux

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42628
interpreted = N
texte = I believe the proper line ending codes for the three primary platforms are:Mac (Classic): %0D Unix (incl Linux / OSX): %0A Windows: %0D%0AIn an effort to make my code portable, I usually do something like this:[text]tCR=[unurl]%0D[/unurl][/text] [showif [platform]^unix][text]tCR=[unurl]%0A[/unurl][/text][/showif] [showif [platform]^window][text]tCR=[unurl]%0D0A[/unurl][/text][/showif][sendmail ...][!] [/!]First line of text[tCR][!] [/!]Another line of text[tCR][!] [/!][/sendmail]This way I comment out the line ending codes from the document, and insert the appropriate codes for the server platform. As for specific permissions, there have been messages on setting up the FTP accounts to deal with this properly - search the archives. I'm no expert on this, I don't even have FTP active on my OSX box.I do manage permissions via WebCat and [shell] for HTTP uploads. Basically, after doing a [writefile], I then [shell] with the appropriate chmod, chown, etc to alter the permissions as I need them. Important to note that any file manipulation within [shell] should be done using full paths to the files, as the relative location will not be useful.- brianAt 1:10 PM 8/16/02, Donovan wrote: >Thanks, >I remember also something about [sendmail] >[unurl]%0D%0A[/unurl]?? >...using the above for the email returns? or does this >matter if you have your BBedit prefs set right? > >Also, is there a way to upload a file with specific permissions??? > >D > >Brian Fries wrote: > >> Case sensitive file names - Order.db is not the same as >>order.db in Linux > > >>------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Develop on Mac - Serve on Linux (Brian Fries 2002)
  2. Re: Develop on Mac - Serve on Linux (Donovan 2002)
  3. Re: Develop on Mac - Serve on Linux (Brian Fries 2002)
  4. Develop on Mac - Serve on Linux (Donovan 2002)
I believe the proper line ending codes for the three primary platforms are:Mac (Classic): %0D Unix (incl Linux / OSX): %0A Windows: %0D%0AIn an effort to make my code portable, I usually do something like this:[text]tCR=[unurl]%0D[/unurl][/text] [showif [platform]^unix][text]tCR=[unurl]%0A[/unurl][/text][/showif] [showif [platform]^window][text]tCR=[unurl]%0D0A[/unurl][/text][/showif][sendmail ...][!] [/!]First line of text[tCR][!] [/!]Another line of text[tCR][!] [/!][/sendmail]This way I comment out the line ending codes from the document, and insert the appropriate codes for the server platform. As for specific permissions, there have been messages on setting up the FTP accounts to deal with this properly - search the archives. I'm no expert on this, I don't even have FTP active on my OSX box.I do manage permissions via WebCat and [shell] for HTTP uploads. Basically, after doing a [writefile], I then [shell] with the appropriate chmod, chown, etc to alter the permissions as I need them. Important to note that any file manipulation within [shell] should be done using full paths to the files, as the relative location will not be useful.- brianAt 1:10 PM 8/16/02, Donovan wrote: >Thanks, >I remember also something about [sendmail] >[unurl]%0D%0A[/unurl]?? >...using the above for the email returns? or does this >matter if you have your BBedit prefs set right? > >Also, is there a way to upload a file with specific permissions??? > >D > >Brian Fries wrote: > >> Case sensitive file names - Order.db is not the same as >>order.db in Linux > > >>------------------------------------------------------------- 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://search.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:

sendmail for email (was Netforms) (1998) Nested tags count question (1997) Logging purchases (1997) final on include (1997) Proper file locations (1997) (2002) Re WebDNA has reached it connection limit (2004) large database (2000) WebCat2 - [format thousands] (1997) [WebDNA] limit found per row (2011) View order not right (1997) Form Variables (2000) 2.0Beta Command Ref (can't find this instruction) (1997) Using Applescript to process WebCatalog functions (1998) WebCatalog can't find database (1997) Stability complaints (2002) Generating unique SKU from [cart] - FIXED! (1997) protect tag on NT IIS (1997) Instructions for Digest (1997) [WebDNA] reCAPTCHA and WebDNA (2010)