• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Finder Network File Copy Timeout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finder Network File Copy Timeout


  • Subject: Finder Network File Copy Timeout
  • From: Damon Casey <email@hidden>
  • Date: Tue, 1 Jul 2008 15:40:13 +0100


I've searched the archives and MacScripter's forums and haven't found a definitive answer to this.


I have a script that is copying a large number of files to a network volume and it hits the default 2 minute timeout. The script is running in 10.4.11 and is as follows:

set FolderPath to "Macintosh HD:Folder" as alias
set ServerPath to "ServerDrive:ServerFolder" as alias
try
   with timeout of 3600 seconds
      tell application "Finder"
         move FolderPath to ServerPath with replacing
      end tell
   end timeout
on error errMsg number errNum
   if errNum is -1712 then
      display dialog "The copy to the server timed out" buttons {"OK"}
   else
      display dialog errMsg & " " & errNum buttons {"OK"}
   end if
end try

The script is being performed from within FileMaker Pro 9.0v3. The script's with timeout statement is being ignored and I've noted from the AppleScript Language Guide:

A with timeout statement applies only to commands sent to application objects, not to commands sent to the application that is running the script.

Should the with timeout statement be ignored, or am I doing something wrong with this? I've thought about using a shell script to perform the copy although I have zero experience with shell scripting and after a Google search, am finding it difficult to find a resource for scripting this (perhaps my search terms are inappropriate).

Any ideas?

Best regards,
--
Damon Casey
Automating Data Ltd.

FileMaker 9 Certified Developer
FileMaker 8 Certified Developer
FileMaker Business Alliance and TechNet Member

Registered in England no. 4840986
Registered Address: 27 Foots Cray Lane, Sidcup, Kent DA14 4NP.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Finder Network File Copy Timeout
      • From: Laine Lee <email@hidden>
  • Prev by Date: Re: Looking for wrong computer
  • Next by Date: Meta data help
  • Previous by thread: Re: Looking for wrong computer
  • Next by thread: Re: Finder Network File Copy Timeout
  • Index(es):
    • Date
    • Thread