![]() ![]() What other ways are there to do the equivalent of a wget? I'm looking, in particular, for something that would work on stock OS X installs. ppk format private key to a standard PEM format private key: puttygen privatekey.ppk -O private-openssh -o privatekey. Then, use the following command to convert the. This will also install the command-line version of puttygen, the PuTTY key generator tool. Ports below 1024 are supported now (including port 21). FTP Server 4+ Transfer/share files via FTP Coral Wu 3.6 57 Ratings 4.99 Screenshots FTP Server provides a simple way to share/exchange files between your computers and other devices. So on Linux one way to do an HTTP GET from a shell script is to use wget (if that command is installed of course). First, install PuTTY for Mac using brew install putty or port install putty (see below). FTP Server on the Mac App Store Open the Mac App Store to buy and download apps. ![]() 200 Script output followsĪnd on the terminal in which I launched the "hg serve" command, I can indeed see that an HTTP GET made its way: 127.0.0.1 - "GET / HTTP/1.0" 200. $ hg serveĪnd then, from a Linux that has the wget command I do a wget. ![]() How can I do an HTTP GET from a Un*x shell script on a stock OS X system? (installing third-party software is not an option, for this has to run on a lot of different systems which I don't have control on).įor example if I start the Mercurial server locally doing a hg serve. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |