And again, I don't think this would be the right tool for the job.
I just also thought that it wouldn't (shouldn't) work and had to try it out.

I would probably go for rsync or something similar.


On Fri, Aug 8, 2014 at 10:06 AM, Ricardo Russon <[email protected]>
wrote:

> Interesting point Dave.
>
> But I just tested on Chrome (Mac) and it does pick up the changed file.
>
>
> On Fri, Aug 8, 2014 at 12:17 AM, Dave Watts <[email protected]> wrote:
>
>>
>> > This isn't the right tool for the job. But this code seems to work.
>> >
>> > <!DOCTYPE html>
>> > <html>
>> > <head>
>> > <title></title>
>> > </head>
>> >
>> > <body>
>> >
>> > <cfif StructKeyExists(FORM , 'fieldnames')>
>> >  <cfdump var="#FORM#" />
>> > <script>setTimeout(function(){window.history.back();} , 2000);</script>
>> >  <cfelse>
>> >
>>  <script>setTimeout(function(){document.getElementById('somefrm').submit();}
>> > , 20000);</script>
>> >  <form method="post" id="somefrm" enctype='multipart/form-data'>
>> > <input type="file" name="somefile">
>> > </form>
>> >  </cfif>
>> > </body>
>> > </html>
>>
>> I'd be surprised if this worked, actually, since it's not going to
>> reload the document from the filesystem. So, it'll continue uploading
>> the file already loaded within the browser, but changes wouldn't be
>> sent.
>>
>> Dave Watts, CTO, Fig Leaf Software
>> 1-202-527-9569
>> http://www.figleaf.com/
>> http://training.figleaf.com/
>>
>> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
>> GSA Schedule, and provides the highest caliber vendor-authorized
>> instruction at our training centers, online, or onsite.
>>
>> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359093
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to