• 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: Copy files inside a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy files inside a folder


  • Subject: Re: Copy files inside a folder
  • From: Bryan Kobler <email@hidden>
  • Date: Wed, 28 Nov 2001 13:50:00 -0700

Thanks for the tips! I got this working in the Finder just great. Now I need to adjust it to work in Fetch 3.0.3. I have found that things work a little different there. This is what I have...

===
set SourceFolder to choose folder

tell application "Fetch 3.0.3"
activate
make new transfer window at beginning with properties {hostname:"server", userid:"username", password:"password", initial directory:"/Users/user/Documents/test"}
put into transfer window "server" item alias SourceFolder
quit Application "Fetch 3.0.3"
end tell
===

If I run that script it will upload the folder I select at the beginning of the script. My problem is trying to get Fetch to understand uploading the files inside of SourceFolder I have tried including parts of the scripts you have suggested. I can't use:

put into transfer window "server" every file of item alias SourceFolder

So I guess Fetch works a bit different than the Finder. Anyone have any experience with that?

Thanks, Bryan.


References: 
 >Re: Copy files inside a folder (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: FTP Uploads using URL Access Scripting (3rd Posting)
  • Next by Date: Re: another Illustrator swatch question
  • Previous by thread: Re: Copy files inside a folder
  • Next by thread: Re: Copy files inside a folder
  • Index(es):
    • Date
    • Thread