This is a multi-part message in MIME format.
------=_NextPart_000_0052_01C01370.1F8B9480
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Re: IIS "Locking" FilesWell, I would, except that I am using the FTP client
builtin to WebCAM32 and it is not as flexible. I don't want to write a
complete application around this.
DC
-----Original Message-----
From: Jim McAtee [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 16:43
To: [EMAIL PROTECTED]
Cc: David E. Crawford
Subject: Re: IIS "Locking" Files
Dave,
You might also try a different approach to naming the uploaded files.
If possible, have your webcam upload the images with a unique filename.
For example, instead of uploading as "thispic.jpg", append a timestamp,
as in "thispic1405.jpg". Your CF template that displays the image could
do a CFDIRECTORY using a filter of "thispic*.jpg", sort by date
(descending), and then select the latest image. Clean out the directory
as needed. Definitely a bit more work, but you wouldn't have to disable
anything in IIS.
Jim
-----Original Message-----
From: David E. Crawford <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Date: Thursday, August 31, 2000 6:42 AM
Subject: IIS "Locking" Files
>A while back there was some discussion of a registry hack which would
allow
>the disabling of the "lock" that IIS places on files during "read"
>operations. I understand that it may have a bearing on performance,
>however, I am in a situation where I am ftp'ng webcam images into a
>directory, which are then "called" via CFM template. Unfortunately the
>browser access to the files appears to be placing an exclusive lock on
the
>file, which means the FTP process is failing.
>
>Does anyone recall the technique used to defeat this "feature" of IIS?
>
>Dave
>---------------------------
>David E. Crawford
>Director, Internet Development
>Yale Security Group, Inc.
>www.yalesecurity.com
------=_NextPart_000_0052_01C01370.1F8B9480
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: IIS "Locking" Files</TITLE>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D155282217-31082000>Well,=20
I would, except that I am using the FTP client builtin to WebCAM32 and =
it is not=20
as flexible. I don't want to write a complete application around=20
this.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D155282217-31082000></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D155282217-31082000>DC</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D155282217-31082000></SPAN></FONT> </DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
<DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> Jim McAtee=20
[mailto:[EMAIL PROTECTED]]<BR><B>Sent:</B> Thursday, August 31, =
2000=20
16:43<BR><B>To:</B> [EMAIL PROTECTED]<BR><B>Cc:</B> David E.=20
Crawford<BR><B>Subject:</B> Re: IIS "Locking" =
Files<BR><BR></DIV></FONT>
<P><FONT size=3D2>Dave,</FONT> </P>
<P><FONT size=3D2>You might also try a different approach to naming =
the uploaded=20
files.</FONT> <BR><FONT size=3D2>If possible, have your webcam upload =
the images=20
with a unique filename.</FONT> <BR><FONT size=3D2>For example, instead =
of=20
uploading as "thispic.jpg", append a timestamp,</FONT> <BR><FONT =
size=3D2>as in=20
"thispic1405.jpg". Your CF template that displays the image =
could</FONT>=20
<BR><FONT size=3D2>do a CFDIRECTORY using a filter of "thispic*.jpg", =
sort by=20
date</FONT> <BR><FONT size=3D2>(descending), and then select the =
latest=20
image. Clean out the directory</FONT> <BR><FONT size=3D2>as =
needed. =20
Definitely a bit more work, but you wouldn't have to disable</FONT> =
<BR><FONT=20
size=3D2>anything in IIS.</FONT> </P>
<P><FONT size=3D2>Jim</FONT> </P><BR>
<P><FONT size=3D2>-----Original Message-----</FONT> <BR><FONT =
size=3D2>From: David=20
E. Crawford <[EMAIL PROTECTED]></FONT> <BR><FONT =
size=3D2>To:=20
CF-Talk <[EMAIL PROTECTED]></FONT> <BR><FONT =
size=3D2>Date:=20
Thursday, August 31, 2000 6:42 AM</FONT> <BR><FONT size=3D2>Subject: =
IIS=20
"Locking" Files</FONT> </P><BR>
<P><FONT size=3D2>>A while back there was some discussion of a =
registry hack=20
which would</FONT> <BR><FONT size=3D2>allow</FONT> <BR><FONT =
size=3D2>>the=20
disabling of the "lock" that IIS places on files during "read"</FONT>=20
<BR><FONT size=3D2>>operations. I understand that it may have =
a bearing=20
on performance,</FONT> <BR><FONT size=3D2>>however, I am in a =
situation where=20
I am ftp'ng webcam images into a</FONT> <BR><FONT =
size=3D2>>directory, which=20
are then "called" via CFM template. Unfortunately the</FONT> =
<BR><FONT=20
size=3D2>>browser access to the files appears to be placing an =
exclusive lock=20
on</FONT> <BR><FONT size=3D2>the</FONT> <BR><FONT size=3D2>>file, =
which means=20
the FTP process is failing.</FONT> <BR><FONT size=3D2>></FONT> =
<BR><FONT=20
size=3D2>>Does anyone recall the technique used to defeat this =
"feature" of=20
IIS?</FONT> <BR><FONT size=3D2>></FONT> <BR><FONT =
size=3D2>>Dave</FONT>=20
<BR><FONT size=3D2>>---------------------------</FONT> <BR><FONT=20
size=3D2>>David E. Crawford</FONT> <BR><FONT size=3D2>>Director, =
Internet=20
Development</FONT> <BR><FONT size=3D2>>Yale Security Group, =
Inc.</FONT>=20
<BR><FONT size=3D2>>www.yalesecurity.com</FONT> =
</P></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0052_01C01370.1F8B9480--
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.