aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes curl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "curl "not recognized as internal or external command"" Watch "curl "not recognized as internal or external command"" New topic
Author

curl "not recognized as internal or external command"

Graeme Byers
Ranch Hand

Joined: Apr 16, 2004
Posts: 127
I have been following "Maven : The Definitive Guide" by Sonatype page 75 and so downloaded curl-7.24.0 for the example.
I noticed that there has been one previous question on curl in this forum and expect that others have run the example successfully.
What should I put in my WinXP-Pro path so that I don't get the error above ?

Thank you for any help.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

You can download a Windows version of curl from http://curl.haxx.se/download.html. Grab one of the binary zip files, download it, and unpack it to anywhere in your PATH.


JBoss In Action
Graeme Byers
Ranch Hand

Joined: Apr 16, 2004
Posts: 127
Hi Peter, Thank you for your reply but I did what you suggest before posting.

Here is a listing of %path%


Here is a directory listing of C:\Program Files\curl-7.24.0


Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Note that I wrote " Grab one of the binary zip files". You grabbed the source code instead. The binary ZIP should have only one file in it: curl.exe
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: curl "not recognized as internal or external command"