No files are transferred. On Fri, Feb 19, 2010 at 4:46 PM, Lee Hoong <[email protected]> wrote:
> Charlie, > > Do ANY files transfer before you get this error? Error -43 is returned > when: > > "File not found; Folder not found; Edition container not found; Target not > found" > > > Lee. > ================= > Binary Assist > 220 Gaines Oak Way > Suwanee, GA 30024 > Voice: (678) 313-5604 > Internet: [email protected] > Website: www.binaryassist.com > > FileMaker Certified Developer > > > > > > > On Feb 19, 2010, at 2:24 PM, Charles Hartley wrote: > > I get an error 43 which I think is file does not exist. Not clear to >> me whether it means the path to the desktop file is wrong or if it is >> the online address. I've triple checked each one, and can't see where >> they're wrong. Sigh.... >> >> On Fri, Feb 19, 2010 at 12:49 PM, Lee Hoong <[email protected]> >> wrote: >> >>> Charlie, >>> >>> Just to be on the safe side, you might want to set up test source and >>> target >>> folders as you're developing and testing the AppleScript, in addition to >>> setting the dryrun option to TRUE. >>> >>> In the script editor, try the following (assuming you are NOT using the >>> SFTP >>> protocol for transfer): >>> >>> set theSourceFolder to (choose folder) >>> >>> tell application "Interarchy" >>> >>> set resultNumber to mirrorupload theSourceFolder host >>> "ftp.myplace.com" path "/home/myname/folder1/folder2/folder3/" user >>> "myname" >>> password "fakepassword" with dryrun >>> >>> end tell >>> >>> >>> Lee. >>> ================= >>> Binary Assist >>> 220 Gaines Oak Way >>> Suwanee, GA 30024 >>> Voice: (678) 313-5604 >>> Internet: [email protected] >>> Website: www.binaryassist.com >>> >>> FileMaker Certified Developer >>> >>> >>> >>> >>> >>> >>> On Feb 19, 2010, at 9:40 AM, Charles Hartley wrote: >>> >>> Lee, (and anyone else who wants to jump in here) >>>> >>>> I appreciate your help, but I'm still confused. To repeat what you >>>> indicated earlier, the Interarchy dictionary gives this information >>>> for mirrorupload: >>>> >>>> mirrorupload v : mirror a local folder to an FTP site, destroying all >>>> remote contents. >>>> mirrorupload [alias] : Folder to mirror from >>>> [host text] : ftp server (defaults to this mac) >>>> [path text] : path to remote folder >>>> [user text] : user name (defaults to “anonymous”) >>>> [password text] : user password (defaults to your Email address) >>>> [url text] : URL to remote folder >>>> [sftp boolean] : use sftp >>>> [protocol >>>> >>>> FTPProtocol/SFTPProtocol/FileProtocol/HTTPProtocol/HTTPSProtocol/WebDAVProtocol/WebDAVSProtocol/AmazonS3Protocol/AmazonS3SProtocol/SSHProtocol/SCPProtocol] >>>> : protocol to use >>>> [dryrun boolean] : execute mirror in dry run simulation mode >>>> → integer : Error code >>>> >>>> Now, when I do a manual mirror upload Interarchy asks for the >>>> following for which I have given fake info to use for our purposes: >>>> >>>> Server: ftp.myplace.com >>>> Path: /home/myname/folder1/folder2/folder3/ >>>> Username: myname >>>> Password: fakepassword >>>> Local: "Macintosh HD:Users:myname:Desktop:folder1:folder2" >>>> dryrun: yes >>>> >>>> I just don't understand how to write the script to do this. I tried a >>>> couple of things, but the script editor quickly told me I didn't know >>>> what I was doing. Can someone help an old dog learn a new trick? >>>> >>>> Thanks, >>>> Charlie >>>> >>>> >>> >>> >> >
