Downloading multiple files with curl with different proxies
When you have a long URL or multiples, use xargs instead:

do shell script "xargs curl --proxy &lt; url-list.txt"


url-list.txt

1.2.3.4:800 http://domain1.com/somefile.txt
2.3.4.5:80 http://www.domain2.com/otherfile.png
3.4.5.6:8080 http://domain3.com/file.jpg