Problems with wget and https connection

Hi,

I have wget for linux but I'm having trouble using it. I am trying to use it with a HTTPS connection to save cookies but it doesn't works.
I do:

wget --save-cookies=cookies.txt --post-data 'userCredentialsForm.userCredentials.email=example@gmail.com&userCredentialsForm.userCredentials.password=PASSWROD&_target1=Login' https://www.sportstracklive.com/signin

Could you help me please?
Many thanks and sorry for my english!

try adding the --keep-session-cookies flag (used for temporary cookies such as those used to maintain login sessions.

As an aside: "but it doesn't work" isn't enough information to offer really useful advice, you should state any errors, whether you get thrown to a login page again rather than the landing page when you normally log in etc...

Hi again,
Many thanks for your help. I would like to login in these page to can download a file automatically. I'm trying with the option: --keep-session-cookies

It generates me a cookie file.

 cat cookies.txt 
# HTTP cookie file.
# Generated by Wget on 2011-11-21 12:20:40.
# Edit at your own risk.

www.sportstracklive.com    FALSE    /    FALSE    0    JSESSIONID    D4A390D2E699A5028A6F19400AB4C09E

When I have these cookie file I'm trying to download the file but doesn't download nothing:

wget -v --load-cookies=cookies.txt http://www.sportstracklive.com/live/track/gpx?userid=31236 -O nose.zip

it generates some code and when I open it seems that I'm not logged in.

---------- Post updated at 04:17 AM ---------- Previous update was at 03:32 AM ----------

Hi again,
I also trying with curl but can't log in the webpage:

./formfind < kk
--- FORM report. Uses GET to URL "/search"
Input: NAME="what" (TEXT)
Input: NAME="search" VALUE="Search" (SUBMIT)
--- end of FORM
--- FORM report. Uses POST to URL "<form method="post" name="login">"
Input: NAME="userCredentialsForm.userCredentials.email" (TEXT)
Input: NAME="userCredentialsForm.userCredentials.password" (PASSWORD)
Input: NAME="_target1" VALUE="Login" (SUBMIT)
--- end of FORM

Then I'm trying:

curl -d userCredentialsForm.userCredentials.email="username@hotmail.com" -d userCredentialsForm.userCredentials.password="PASSWORD" http://www.sportstracklive.com/user/username > KK

Any idea?
Thanks!