[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] first file in a folder...




On Mon, 13 Oct 1997, Chris Nandor wrote:

> At 15.11 10/13/97, { brad brace } wrote:
> >I'm trying to write a script that will:
> >
> >1) every 12 hours: select the first file in a folder (Mac 68K OS
> >   ideally)... I have Mac-Cron installed... and...
> >
> >2) dialup my ISP and upload the file to several FTP sites (I have
> >   Microphone-comm-software scripts that can dialup -- I can't seem to
> >   make them select a specific file though...) (I have MacPerl installed.)
> >
> >3) then, either delete or move this first file from the folder, so that
> >   the next numerically-named file will become the next 'first-one'
> >
> >4) and so on...
> 
> Here would be my solution:
> 
> #!perl -w
> #both modules below available at http://pudge.net/macperl/
> #require shareware FTP program Anarchie and OT/PPP 1.0
> #or greater
> 
> use Mac::Apps::Anarchie;
> use Mac::Comm::OT_PPP;


Thanks Chris but I should have mentioned that I use plain dialup shell
accounts and MacPerl-4.

/:b




***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch