• 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
URL Access Scripting -Upload
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

URL Access Scripting -Upload


  • Subject: URL Access Scripting -Upload
  • From: Steven Valenti <email@hidden>
  • Date: Tue, 20 Feb 2007 15:06:20 -0500

I want to be able to upload a pdf file to our server, however my script can't get pass the authentication. I can mount this server to my desktop using my credentials. I have tried putting my username and password in the URL and still I get an authentication error. Shouldn't this code work? We are using Mac OS 10.4.7 and Sharepoint Portal Server , IIS 6, and Windows Server 2003. Sharepoint uses WebDAV.

set myurl to "http://archive.domain.com/TestMac2/"
set PathToPdf to (((path to desktop) as string) & "MP308233-P.pdf")
tell application "URL Access Scripting"
activate
upload file PathToPdf to myurl with authentication
quit
end tell
 _______________________________________________
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/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: URL Access Scripting -Upload
      • From: Emmanuel <email@hidden>
    • Re: URL Access Scripting -Upload
      • From: "John C. Welch" <email@hidden>
  • Prev by Date: ical ... new fields
  • Next by Date: Re: URL Access Scripting -Upload
  • Previous by thread: ical ... new fields
  • Next by thread: Re: URL Access Scripting -Upload
  • Index(es):
    • Date
    • Thread