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/

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to