From: Khairuddin A. <kha...@ya...> - 2011-02-14 21:54:30
|
Hi all: How do you use the <get> task with an HTTP User Agent ID in Nant to download a file from a web site? Several web sites that I am working on require that I use an HTTP User Agent ID (e.g. Mozilla/4.0, Mozilla/5.0, etc) to be able to download a file from the web site? The following sample task that I use to download a file without a user agent id. <get src="http://www.abctest.com/example.xml" dest="c:\temp\testexample.xml" /> Where do you add the user agent id? Thanks in advance for your help. KA ____________________________________________________________________________________ It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. http://tools.search.yahoo.com/toolbar/features/mail/ |