Hi,
Can anyone help me in correcting the below mentioned code:
curl --verbose --verbose --form myfile=@upload08102010.txt --form submit=Upload --user username:password http://transfer.atlassian.com/ --proxy http://proxy.net:8443
While running the above code, I am able to login to the server, but not able to Upload the file.
Can anyone please help me in the above issue.
Please find the message after running the script:
<style>input {display: block; margin-top: 1em;}</style>
<div style="width: 650px; margin: 2em auto; padding: 2em; border: 1px solid #ccc">
<span>
<h1>Upload a file</h1>
<p>Uploaded files must be smaller than 2GB. Please compress or
split files larger than 2GB. For specific instructions, please see
<a href="http://confluence.atlassian.com/display/Support/How+to+Transfer+Large+Files+to+Atlassian">
How to Transfer Large Files to Atlassian.</a></p>
<form action="upload_handler" method="POST" enctype="multipart/form-data">
<input type="file" name="myfile">
<input type="submit" name="submit" value="Upload">
</form>
</span>
<span>
<br>
<h2>
No files have been uploaded to this account.
</h2>
</span>
</div>
</div>
<div id="footer">
</div>
</body>
Thanks,
Pushpkant Garg
Confluence is apparently a Struts app which is where you usually get the *.action?stuff=otherstuff etc. etc. in the URL. The trick is probably to find the right action to call.
try without the proxy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hmm
i assume the file you wanna upload is smaller than 2GB right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.