Re: Checking if a file has copied completly

2007-06-06 Thread Dave
Hi, I tried this but it doesn't work, RunRev doesn't return an error. I then used the external module that I wrote to get around the 2 GB File Size Limit and that works *if* I open it with permissions set to fsRdDenyPerm. All the Best Dave On 30 May 2007, at 19:46, J. Landman Gay

Checking if a file has copied completly

2007-05-30 Thread Dave
Hi, I have an App that scan a hot folder looking for input files. This works fine if the file being dragged into the folder is on the local machine (since it just does a move of the file). However if a file is dragged from another machine on the LAN (and it's Copied), the App sees the

Re: Checking if a file has copied completly

2007-05-30 Thread Derek Bump
Is there anyway in RunRev to check if the file has been completely copied? I'm unaware of any specific command to do what you want, but what you may try is to have your app check the size of the file over a duration of time, like 5 or 10 seconds, to see if it's file size changes. If it does

Re: Checking if a file has copied completly

2007-05-30 Thread Ian Wood
If it's on OS X, I'd suggest using a folder action and alerting your app via AppleScript - this shouldn't trigger until the file is fully copied. Otherwise (and if building an AS dictionary is too much of a pain) I'm not really sure and was wondering myself. Maybe a loop which watches

Re: Checking if a file has copied completly

2007-05-30 Thread Dave
Hi, The file size *may* work but as you say it's not very robust. One thing I have noticed is that if you start to copy a big file (like a .mov) and then before it's complete, double-click it so that QuickTime Player is launched then you get a message saying the file is being used by Mac

Re: Checking if a file has copied completly

2007-05-30 Thread J. Landman Gay
Dave wrote: Hi, The file size *may* work but as you say it's not very robust. One thing I have noticed is that if you start to copy a big file (like a .mov) and then before it's complete, double-click it so that QuickTime Player is launched then you get a message saying the file is being

checking for a file

2002-06-27 Thread Gareth Jones
Is there a simple command or function to test whether there is a file on disk before opening/copying/whatever? -Gareth ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: checking for a file

2002-06-27 Thread Sarah
if there is a file myFileName then doSomething Cheers, Sarah On Friday, June 28, 2002, at 02:11 PM, Gareth Jones wrote: Is there a simple command or function to test whether there is a file on disk before opening/copying/whatever? -Gareth ___

Re: checking for a file

2002-06-27 Thread David Vaughan
On Friday, June 28, 2002, at 02:03 , Gareth Jones wrote: Is there a simple command or function to test whether there is a file on disk before opening/copying/whatever? Yes. If there is a ... useful for objects and for files. regards DAvid -Gareth