You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by bbuzzard <Bi...@bnsflogistics.com> on 2016/12/07 17:57:14 UTC
How to download files fomr a remote web site
I would like to download a file from a remote web server (NOT an FTP server).
I can easily do this with wget, but I would like to do it with Camel. I
need to preserve the lastModified and fileName values. Would someone please
suggest an approach that can do this?
I tried the following, but it neither preserved the lastModified nor the
fileName.
<from uri="quartz://MyDOEtimer?cron=0+0/5+*+?+*+*"/>
<to uri="http://www.eia.gov/petroleum/gasdiesel/xls/psw18vwall.xls"/>
<to uri="file:c:\test"/>
--
View this message in context: http://camel.465427.n5.nabble.com/How-to-download-files-fomr-a-remote-web-site-tp5791201.html
Sent from the Camel - Users mailing list archive at Nabble.com.