0

I am sitting on a Mac OS X system and I cannot get around a simple problem from the domain of working with the command line: using the command curl http://mureakuha.com/dl.php?type=1&id=1234 I get no data from a (obviously) PHP script generating plain text files.

I expect the solution to be a matter of passing right flags to curl, yet I have no clue where to start. Any help much appreciated.

coderodde
  • 1,269
  • 4
  • 17
  • 34

1 Answers1

1

Try curl 'http://mureakuha.com/dl.php?type=1&id=1234'. The problem here is the unquoted & symbol in url.

Zsolt Botykai
  • 50,406
  • 14
  • 85
  • 110
Vall
  • 71
  • 2