SAS and Curl: 'env' in url causes error

后端 未结 2 1334
轻奢々
轻奢々 2021-01-22 09:54

I\'m trying to use CURL with SAS 9.3. I got it working for normal webpages. However, when I try to use it with a URL with \'env\', I get the following error message: \'env\' i

2条回答
  •  长情又很酷
    2021-01-22 10:54

    I would try adding quotes that will get passed to Windows.

    Something like

    "curl -k ""&url."" 2>&1"
    

    The doubled double quotes are passesd as a single " character to Windows.

提交回复
热议问题