HP3000-L Archives

October 2004, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Greg Terterian <[log in to unmask]>
Reply To:
Date:
Thu, 7 Oct 2004 18:44:07 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
In a message dated 10/7/2004 2:43:27 PM Pacific Daylight Time,
[log in to unmask] writes:

>  -----Original Message-----
> Behalf Of Derek
>
> But, you  can write a VB.Net (or C#) program that will wait
> for a file to be  created in a folder on your server.

A word of caution on this approach  [taken from my memory of this
conversation earlier on this chat list]   the key word to consider here is CREATED --
that's right, your PC-side  application may begin processing shortly after the
file transmission STARTS,  not anywhere close to when it ENDS.  This is because
the file will be  "visible" to other processes immediately upon opening rather
than after it  closes.

* To join/leave the list, search archives, change list  settings, *
* etc., please visit  http://raven.utc.edu/archives/hp3000-l.html *

There is an easy fix to this problem as well...

You dont transfer the actual ('created') file, but you transfer it to X  file
first
and once the file is transferred, than you rename from X to 'created'  file
This will assure that the process will start only after the file is
transferred and completed...

Greg

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2