From: "Michael Marziani" <[EMAIL PROTECTED]>
> I have an array @exclude_dirs that I want my list of directories matched
> against, and if it matches, then I want to go on to the next one. I
> thought I saw someone do something like:
>
> if( $line =~ /@exclude_dirs/ ) {
> next;
> }
Well ..
I think your solution is better.
More readable and less prone to error besides.. there is always more than one
way to do it.
But what do i know...
I just work here. ;-)
Ope Bakare
ClearCase Administrator
"Michael Marziani" <[EMAIL PROTECTED]> on 03/11/2002 01:06:50 PM
To: [EMAIL PROTECT
Title: Message
I have an array
@exclude_dirs that I want my list of directories matched against, and if it
matches, then I want to go on to the next one. I thought I saw someone do
something like:
if( $line =~
/@exclude_dirs/ ) {
next;
}
Does that
work? My alternative is to just r
This seems to me like one of those "more than one way" things - you could
create a daemon or a cronjob to handle this for ya, depending on your needs
(speed, efficiency and delay time as important factors that I can think of
off the top of my head).
Anyway, whatever you end up choosing, you ca
compare the timestamps of the file.
do an ftp 'ls -l' and record the timestamps.
do a significant pause, maybe 3 seconds and then check again. if the
timestamps match the file has probably (sorry it may hav bust) been
uploaded.
Regards
Marty
> -Original Message-
> From: [EMAIL PROTECTE
Ok, here is a good one.
I need to be able to monitor a directory on an ftp server and then download the files
when they have been uploaded to the server.
The problem is how to determine when a file is there and if a file is there, that the
file is done being uploaded from the source.
I was go