Re: Auto File Uploading...

2014-08-07 Thread Dave Watts
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# / scriptsetTimeout(function(){window.history.back();} , 2000);/script cfelse

Re: Auto File Uploading...

2014-08-07 Thread Ricardo Russon
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 dwa...@figleaf.com wrote: This isn't the right tool for the job. But this code seems to work. !DOCTYPE html html head title/title /head

Re: Auto File Uploading...

2014-08-07 Thread Ricardo Russon
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 ricardo.rus...@gmail.com wrote: Interesting

Re: Auto File Uploading...

2014-08-07 Thread Dave Watts
Interesting point Dave. But I just tested on Chrome (Mac) and it does pick up the changed file. I'm surprised! But that's interesting to know, so thanks! Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a

Auto File Uploading...

2014-08-06 Thread Phillip Vector
So I have a server that reads a file that is submitted to it and processes the contents. I can not touch this server and change any settings on it.. I want to take a file I have (Let's call it data.txt) and upload it to the server once an hour. I can just reload the page once an hour or I can

Re: Auto File Uploading...

2014-08-06 Thread John M Bliss
In short, no. You'd have to deliver file to server via email / FTP / etc. On Aug 6, 2014 8:36 PM, Phillip Vector vec...@mostdeadlygame.com wrote: So I have a server that reads a file that is submitted to it and processes the contents. I can not touch this server and change any settings on

Re: Auto File Uploading...

2014-08-06 Thread Phillip Vector
Damm security! :) Thanks. On Wed, Aug 6, 2014 at 5:39 PM, John M Bliss bliss.j...@gmail.com wrote: In short, no. You'd have to deliver file to server via email / FTP / etc. On Aug 6, 2014 8:36 PM, Phillip Vector vec...@mostdeadlygame.com wrote: So I have a server that reads a file

Re: Auto File Uploading...

2014-08-06 Thread John M Bliss
...or HTTP post. On Aug 6, 2014 8:39 PM, John M Bliss bliss.j...@gmail.com wrote: In short, no. You'd have to deliver file to server via email / FTP / etc. On Aug 6, 2014 8:36 PM, Phillip Vector vec...@mostdeadlygame.com wrote: So I have a server that reads a file that is submitted to it

Re: Auto File Uploading...

2014-08-06 Thread Phillip Vector
Yes... HTTP post... That's what I'm trying to do.. Is there a way? (don't tease) On Wed, Aug 6, 2014 at 5:42 PM, John M Bliss bliss.j...@gmail.com wrote: ...or HTTP post. On Aug 6, 2014 8:39 PM, John M Bliss bliss.j...@gmail.com wrote: In short, no. You'd have to deliver file to server

Re: Auto File Uploading...

2014-08-06 Thread John M Bliss
In other words, if you have CF running locally, you could write something that performs a cfhttp post to server...mimicking browse, select file, click submit. On Aug 6, 2014 8:42 PM, John M Bliss bliss.j...@gmail.com wrote: ...or HTTP post. On Aug 6, 2014 8:39 PM, John M Bliss

Re: Auto File Uploading...

2014-08-06 Thread Ricardo Russon
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# / scriptsetTimeout(function(){window.history.back();} , 2000);/script cfelse

Re: Auto File Uploading...

2014-08-06 Thread Phillip Vector
Thank you very much. Both of you. On Wed, Aug 6, 2014 at 5:49 PM, Ricardo Russon ricardo.rus...@gmail.com 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

Re: Auto File Uploading...

2014-08-06 Thread Byron Mann
Sounds like curl or wget would do the trick. Byron Mann Lead Engineer Architect HostMySite.com On Aug 6, 2014 8:36 PM, Phillip Vector vec...@mostdeadlygame.com wrote: So I have a server that reads a file that is submitted to it and processes the contents. I can not touch this server and