How do I post multipart/form-data that contain symbol?

I tried running your example, with the exact same password (on a test account) and did not have any issues uploading my sample image. I even looked through a pcap to make sure the encoding is being done correctly desktop:~/Dropbox$ curl -vv -F "username=********" -F "password=='hwshg" -F "message=test twitpic" -F media=@. /code_Quality_Measurement_wtfm.

Jpg twitpic.com/api/uploadAndPost * About to connect() to twitpic. Com port 80 (#0) * Trying 174.36.58.233... connected * Connected to twitpic. Com (174.36.58.233) port 80 (#0) > POST /api/uploadAndPost HTTP/1.1 > User-Agent: curl/7.19.5 (i486-pc-linux-gnu) libcurl/7.19.5 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.15 > Host: twitpic.Com > Accept: */* > Content-Length: 46066 > Expect: 100-continue > Content-Type: multipart/form-data; boundary=----------------------------50b761e49108 > 6311967029 ********** rzu6c http://twitpic.com/rzu6c * Connection #0 to host twitpic.

Com left intact * Closing connection #0 It may be better to use single quotes around the password field, and explicitely escape any single quotes in your password: F 'password==\'hwshg.

I tried running your example, with the exact same password (on a test account) and did not have any issues uploading my sample image. I even looked through a pcap to make sure the encoding is being done correctly. -desktop:~/Dropbox$ curl -vv -F "username=********" -F "password=='hwshg" -F "message=test twitpic" -F media=@.

/code_Quality_Measurement_wtfm. Jpg twitpic.com/api/uploadAndPost * About to connect() to twitpic. Com port 80 (#0) * Trying 174.36.58.233... connected * Connected to twitpic.Com (174.36.58.233) port 80 (#0) > POST /api/uploadAndPost HTTP/1.1 > User-Agent: curl/7.19.5 (i486-pc-linux-gnu) libcurl/7.19.5 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.15 > Host: twitpic.

Com > Accept: */* > Content-Length: 46066 > Expect: 100-continue > Content-Type: multipart/form-data; boundary=----------------------------50b761e49108 > 6311967029 ********** rzu6c http://twitpic.com/rzu6c * Connection #0 to host twitpic. Com left intact * Closing connection #0 what Shell are you using? Depending on what "special" characters you use in your password, you may need to escape them differently to keep the shell from expanding/etc any time you use double quotes in a command line, you have to deal with variable expansion, especially if your password contains a dollarsign ($).

It may be better to use single quotes around the password field, and explicitely escape any single quotes in your password: -F 'password==\'hwshg.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions