Re: Off-Topic: Automatic FTP scripts for OSX
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 51261
interpreted = N
texte = Ummm .. Set the email preferences on the OSX machine to the domain name of the linuxbox 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/
Associated Messages, from the most recent to the oldest:
Ummm .. Set the email preferences on the OSX machine to the domain name of the linuxbox 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/
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:
Force a search at the default.tmpl page? (1997)
Nested tags count question (1997)
Emailer (1997)
Using the sendmail command on CGate Pro (Unix) (2000)
Alternating BGColors in Table Rows (1998)
PIXO support (1997)
Pithy questions on webcommerce & siteedit (1997)
RE: [REPLACE] inside [FOUNDITEMS] (1998)
calculating tax rates, mail order solutions and version 2 (1997)
Clean Code: Rules for inserting keyboard returns? (1997)
There's a bug in the math context ... (1997)
Where's Cart Created ? (1997)
Re:listfiles-looking for slick solution (1997)
WebCatalog for guestbook ? (1997)
faxing orders (2000)
WebCat2b13 Command Reference Doc error (1997)
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)
WCS Newbie question (1997)
Missing Links (2000)
Images do not upload completely ... (2003)