Advertisement

12.14.2007 at 07:48AM PST, ID: 23023800
[x]
Attachment Details

How to upload files with curl

Asked by baijumb in File Transfer Protocol (FTP), FTP Software, Hypertext Transfer Protocol (HTTP)

Tags: curl, upload, file

Hello,

I am trying to upload one file with Curl  to my website.

Information:
---------------
Host Name:  user1.host.com  
user ID  :  user001
Ftp  Password   :  test1
Location to upload : http://www.test.com/downloads
upload file name:  chk.zip

I tried this way :-
curl -u user001:test1 -T chk.zip --url user1.host.com -L http://www.test.com/downloads

Error Geting from curl :

" Method Not Allowed
The requested method PUT is not allowed for the URL /chk.zip. "

Please provide me with some solution will be appreciated.
 


Start Free Trial
[+][-]12.14.2007 at 07:57AM PST, ID: 20472314

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.14.2007 at 08:25AM PST, ID: 20472514

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.18.2007 at 05:45AM PST, ID: 20491946

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.18.2007 at 07:44AM PST, ID: 20492924

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.18.2007 at 08:00AM PST, ID: 20493066

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.18.2007 at 08:13AM PST, ID: 20493198

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.18.2007 at 08:30AM PST, ID: 20493328

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: File Transfer Protocol (FTP), FTP Software, Hypertext Transfer Protocol (HTTP)
Tags: curl, upload, file
Sign Up Now!
Solution Provided By: ahoffmann
Participating Experts: 2
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628