• 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: do shell script, curl and cookies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: do shell script, curl and cookies


  • Subject: Re: do shell script, curl and cookies
  • From: Christopher Stone <email@hidden>
  • Date: Fri, 12 Apr 2013 18:31:17 -0500

On Apr 11, 2013, at 17:55, Doug McNutt <email@hidden> wrote:
That looks right to me, but maybe you should flesh out a known path to your cookie, just to confirm it is writing something and it where and what you expect:
That's a good idea.

Full pathnames are generally required in any Do Shell Script command and I'm not so sure about that ~ shortcut to your home directory.
______________________________________________________________________

I believe curl remembers where it stores cookies within the same shell session.  But of course Applescript always initiates a new shell session every time do shell script is called.  Therefore you have to explicitly tell curl where to look when making a sequential calls.

--
Best Regards,
Chris

 _______________________________________________
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: do shell script, curl and cookies
      • From: HÃ¥vard Graudo <email@hidden>
References: 
 >Re: do shell script, curl and cookies (From: Jim Skibbie <email@hidden>)
 >Re: do shell script, curl and cookies (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: duplicate command
  • Next by Date: Using Home Dir Notation in Do Shell Script
  • Previous by thread: Re: do shell script, curl and cookies
  • Next by thread: Re: do shell script, curl and cookies
  • Index(es):
    • Date
    • Thread