• 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
Re: Jon's Command CopyFile suddenly stopped working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Jon's Command CopyFile suddenly stopped working


  • Subject: Re: Jon's Command CopyFile suddenly stopped working
  • From: KOENIG Yvan <email@hidden>
  • Date: Wed, 17 Sep 2008 17:47:05 +0200


Le 17 sept. 2008 à 17:34, Rick Dwyer a écrit :

Hello List.

We are using Jon Pugh's "Jon's Commands" for the past 5 years without problem.
However, yesterday the CopyFile function started returning errors to us saying the "Drive XYZ:Folder1:Folder2:FileABC.txt" couldn't be found"


Here's the catch... the error is erroneous because if I remove the file "FileABC.txt" from the destination folder where it is copying to, it copies without a problem. So it appears to be giving me this message when it tries to over an existing file. If I leave off the "replacing yes", I in fact get an error message that a duplicate file exists. When I add "replacing yes" I get the above error about the "Drive XYZ..." not being found.



Also, if I have it copy to a location on the local hard drive, it functions fine, over writing the file correctly. It only fails and returns this error when I try to copy to the mounted drive. Nothing has changed since yesterday on our network or the machines we are running the scripts on.

Anyone have any idea what would suddenly cause this?
We are running this on Legacy machines running 8.6 copying to mounted volume on an G5 running OS X 10.3.9 Server.


My entire command line looks like this:

CopyFile ("Local Drive:Folder A:Folder B:08-09-17.txt") to ("Mounted_Drive:Sub_Folder:Destination_Folder:") replacing yes
Jon's Command rev number is 2.1.2.


Thanks,

Rick

It would be useful to say which OS you are using.

Is it 10.5.4 or 10.5.5 ?

Yvan KOENIG (from FRANCE mercredi 17 septembre 2008 17:46:42)


_______________________________________________ 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: Jon's Command CopyFile suddenly stopped working
      • From: Robert Poland <email@hidden>
    • Re: Jon's Command CopyFile suddenly stopped working
      • From: Michelle Steiner <email@hidden>
References: 
 >Jon's Command CopyFile suddenly stopped working (From: Rick Dwyer <email@hidden>)

  • Prev by Date: Jon's Command CopyFile suddenly stopped working
  • Next by Date: Re: Jon's Command CopyFile suddenly stopped working
  • Previous by thread: Jon's Command CopyFile suddenly stopped working
  • Next by thread: Re: Jon's Command CopyFile suddenly stopped working
  • Index(es):
    • Date
    • Thread