Subject: | |
From: | |
Reply To: | |
Date: | Wed, 15 May 2002 12:22:33 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Dave Waroff wrote:
> I've seen these techniques used:
>
> 1) have a daemon wake up every so often and process files
> in a given directory.
>
> 2) schedule a cron job for every so often and process files
> in a given directory
i believe both of these have been discussed on the list before.....and both
have a potential problem. *if* the file is curently being transferred (that
is, only partially present) when <whatever> grabs it, you're likely to have
a mess on your hands.
a possible solution might be to watch the file's size. if it's not changed
in N minutes, then grab it.
> 4) feed commands into telnet after the ftp
just remember, telnet is not the same as dsline/dscopy (and all the
wonderfulness it provides...that we've taken for granted for years).
the short version, is the problem is more complicated that it appears at
first glance. - d
--
Donna Garverick Sr. System Programmer
925-210-6631 [log in to unmask]
Come, my friends, 'Tis not too late to seek a newer world.
Tho' much is taken, much abides; and tho'
We are not now that strength which in old days
Moved earth and heaven, that which we are, we are.
"Ulysses", A. Tennyson
>>>MY opinions, not Longs Drug Stores'<<<
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|