

I get a file called xcode-cookie that contains the same information as the cookies.txt file wget gives me, except that the lines are reversed. d "theAccountName=USERNAME&theAccountPW=PASSWORD" \ When I try to do the same thing with curl using this: curl \ I'm not completely certain, but I think there should be more to it than that (specifically, an alphanumeric string after sessionToken). post-data="theAccountName=USERNAME&theAccountPW=PASSWORD" \Ī file called cookies.txt is created and contains something like this: FALSE / FALSE 0 XXXXXXXXXXXXXXXX XXXXXXXXXXXXĭ FALSE / FALSE 0 ssionToken I think I am successfully storing the cookie I need to download the.

I am trying to download Xcode from the Apple Developer site using just wget or curl.
