I have a script that currently downloads a file from a download link that uses Single Signon (SSO) infrastructure. At the moment i'm using a batch script with curl to download it. How can I make the equalivent all in R to download the file
curl negotiate -u user:pass -L --insecure -o DownloadFileName.xml "https://Server/Servlet?param1=value1"