What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: Off-Topic: Automatic FTP scripts for OSX

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51264
interpreted = N
texte = Thanks for the offer of a script, yes I would like to see it!The reason why emailer is not an option is because a client insists that email messages be sent with From field values that do *not* include the host name, and the only way to do this is (as far as I know) is to drop the files directly into the CGP 'Submitted' folder instead of mailing them over to that server.Anyways, my gut feeling is that FTPing files to the CGP server is going to be faster and less processor intensive than mailing them over ... :)>Why is it not an option .. I don't understand your reasoning .. > >Anyway - >The way to do this is with a shell script and cron job that hits it every 15 >minutes .. On the OSX machine install NCFTP - there are versions of this on >the net as a package installer. > >As far as the script to run, I have an Apache log rolling acript that pretty >much does most of what you need, let me know if you want me to fire it >across off list. > >Alain > > >> if this were an option I would have done this already, believe me. >> >> >> >>> Ummm .. >>> >>> Set the email preferences on the OSX machine to the domain name >>>of the linux >>> box and the Emailer thread will do this for you .. With a bunch less work. >>> >>> Alain >>> >>>> I want to FTP files to a specific folder on another server whenever I >>>> drop a new file into a certain folder on a MacOSX computer. I also >>>> need a couple of other features to go along with this: >>>> >>>> WebDNA is on OSX and my mail server is CGP on Linux. I need my >>>> sendmail files transferred directly from the OSX box to the Linux box >>>> via FTP so CGP can send them. >>>> >>>> My goal is to transfer these files automatically via FTP, so I would >>>> like a script that: >>>> >>>> 1- Checks the OSX 'EmailFolder' for new files every second or two. >>>> >>>> 2- FTP the new files in this folder to the CGP 'Submitted' >>>>folder on Linux. >>>> >>>> 3- Move each OSX file out of the 'EmailFolder' and into a 'Success' >>>> or a 'Failure' folder depending upon the result of the attempted file >>>> transfer. >>>> >>>> 4- Every 15 minutes or so, check for files in the 'Failure' folder >>>> and email me if there are any files in this folder. >>>> >>>> >>>> Is this the kind of thing that can be scripted easily on OSX? Does >>>> anyone know how to do this? Can anyone suggest an online resource >>>> for learning more about how to script tasks like these on OSX? >>>> >>>> Thanks. >>> >>> >>> >>> ------------------------------------------------------------- >>> 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/ -- Sincerely, Kenneth Grome ------------------------------------------------------------- Outsource your WebDNA programming for $18 an hour or less! -------------------------------------------------------------------------------------------------------------------------- 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: Off-Topic: Automatic FTP scripts for OSX (Kenneth Grome 2003)
  2. Re: Off-Topic: Automatic FTP scripts for OSX (Alain Russell 2003)
  3. Re: Off-Topic: Automatic FTP scripts for OSX (Kenneth Grome 2003)
  4. Re: Off-Topic: Automatic FTP scripts for OSX (Alain Russell 2003)
  5. Off-Topic: Automatic FTP scripts for OSX (Kenneth Grome 2003)
Thanks for the offer of a script, yes I would like to see it!The reason why emailer is not an option is because a client insists that email messages be sent with From field values that do *not* include the host name, and the only way to do this is (as far as I know) is to drop the files directly into the CGP 'Submitted' folder instead of mailing them over to that server.Anyways, my gut feeling is that FTPing files to the CGP server is going to be faster and less processor intensive than mailing them over ... :)>Why is it not an option .. I don't understand your reasoning .. > >Anyway - >The way to do this is with a shell script and cron job that hits it every 15 >minutes .. On the OSX machine install NCFTP - there are versions of this on >the net as a package installer. > >As far as the script to run, I have an Apache log rolling acript that pretty >much does most of what you need, let me know if you want me to fire it >across off list. > >Alain > > >> if this were an option I would have done this already, believe me. >> >> >> >>> Ummm .. >>> >>> Set the email preferences on the OSX machine to the domain name >>>of the linux >>> box and the Emailer thread will do this for you .. With a bunch less work. >>> >>> Alain >>> >>>> I want to FTP files to a specific folder on another server whenever I >>>> drop a new file into a certain folder on a MacOSX computer. I also >>>> need a couple of other features to go along with this: >>>> >>>> WebDNA is on OSX and my mail server is CGP on Linux. I need my >>>> sendmail files transferred directly from the OSX box to the Linux box >>>> via FTP so CGP can send them. >>>> >>>> My goal is to transfer these files automatically via FTP, so I would >>>> like a script that: >>>> >>>> 1- Checks the OSX 'EmailFolder' for new files every second or two. >>>> >>>> 2- FTP the new files in this folder to the CGP 'Submitted' >>>>folder on Linux. >>>> >>>> 3- Move each OSX file out of the 'EmailFolder' and into a 'Success' >>>> or a 'Failure' folder depending upon the result of the attempted file >>>> transfer. >>>> >>>> 4- Every 15 minutes or so, check for files in the 'Failure' folder >>>> and email me if there are any files in this folder. >>>> >>>> >>>> Is this the kind of thing that can be scripted easily on OSX? Does >>>> anyone know how to do this? Can anyone suggest an online resource >>>> for learning more about how to script tasks like these on OSX? >>>> >>>> Thanks. >>> >>> >>> >>> ------------------------------------------------------------- >>> 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/ -- Sincerely, Kenneth Grome ------------------------------------------------------------- Outsource your WebDNA programming for $18 an hour or less! -------------------------------------------------------------------------------------------------------------------------- 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/ Kenneth Grome

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:

WebDelivery downloads alias, not original ? (1997) Emailer Set Up (1997) New to WebCat, Help. (1998) WebCatalog 2.0 b 15 mac (1997) Snake Bites (1997) A Global Variable (1997) [append] vs. [appendfile] delta + question? (1997) Sending emails (went[ot] ) (2002) WebCatalog2 Feature Feedback (1996) Ads.db (1997) Upgrading from 2.1 to 3.0.7 (2000) REPOST: How do _you_ back up your db? (2000) webmerchant redialing (1998) Setting up WebCatalog with Retail Pro data (1996) Loosing Quantity (2000) Navigator Parsing (1997) db extesion (2000) carriage returns in data (1997) referrer and no caches (1997) SHOWIF/HIDEIF empty fields (2005)