[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: curl and form submission



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jun 08, 2016 at 01:06:32PM -0700, A wrote:
> I'm no expert on wget, but have you tried RTFM:
> 
> ‘--user=user’
> ‘--password=password’
> 
>    Specify the username user and password password for both FTP and
>    HTTP file retrieval. These parameters can be overridden using the
>    ‘--ftp-user’ and ‘--ftp-password’ options for FTP connections and
>    the ‘--http-user’ and ‘--http-password’ options for HTTP connections.
> 
> 
> And just for relative completeness:
> 
> ‘--ask-password’
> 
>    Prompt for a password for each connection established. Cannot be
>    specified when ‘--password’ is being used, because they are mutually
>    exclusive.

Unfortunately, this is for "standard" http authentification. I
believe that the server is doing its own thing here with auth, as
is, (unfortunately) custom.

It might be worth a try, though: it'd save one http turnaround.

Regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAldYgCAACgkQBcgs9XrR2kbxDQCePw5lcKpTN1XpgyDVmY7gMPVv
7VwAn0CxKDv+j7Bw7nDvAgXAnVpy3BLj
=vWQ3
-----END PGP SIGNATURE-----


Reply to: