Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ftp 'get' task fails with linked file names

Status
Not open for further replies.

pscholz

Programmer
Dec 15, 2003
3
DE
I am trying to download files from an external ftp server using the ftp task, action="get".

This works well, except for one file that is a just a link to another file in the same directory. I was planning to download the file using the link name, as the 'real' name changes quite often and that would mean I have to change my script every time they change that file name.

I can download that file using the link name with any other ftp client, just with ant I don't get it, neither using wildcards, or specifying the full name. Also this file isn't listed then using action="list".

Anybody has a solution/tip, or is this a deficiency in this task?

Thanks for any information.

Peter Scholz
Soft Service Computer GmbH
D-61191 Rosbach
pscholz@softservice-computer.de
 
seems that this is a reported bug in ant 1.5, as someone in another forum pointed out:

Bug#: 14063
Summary: ANT FTP will not download a file if it is a symlink.

This should be fixed in 1.6.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top