Curl one liner

Hi

I am trying to write a curl one-liner that will help me to input the password after intiating the upload. Also this curl job needs to run on the background and transfer the verbose output to a file. So we can tail the file and check the status if required.

This is curl command that I am using now.

curl -T "#filename#" -u "username" "https://URL/upload/" -o log.txt -v -k

Thanks

Check out this post:Getting cURL to output verbose to a file | Unix Linux Forums | Shell Programming and Scripting