Hello,

 

I am using the webdav ant task to download a folder to my local machine.


 

2 issues:

Getting files using webdav from the ant script is setup as follows :

 

 

    <davget url="${download.server}/${release.name}/${buildVersion}"
todir="${download.dir}/${buildVersion}" 

    verbose="true">

      <davfileset dir="${buildVersion}/">

        <include name="**/*" />

      </davfileset>

    </davget>

 

Now , this works great ! except that the files on the download site are
pretty large - 10-15 MB sometimes. The davget task gets the file but it
truncates it and does not even give an error message !! 

 

I think this is a bug in the code where if getting large files over
webdav  - anybody else see this ?

 

Second issue:

The URL has ( and ) in them which means the URL has to be encoded. Any
suggestions on how this can be encoded  - writing a custom ant task is
fine but I need to know if this is the only way.

 

Thanks much !

Sharad

 

 

Reply via email to