download files from ftp server to local machine

Five Stars

download files from ftp server to local machine

Hi
I'm trying to download files from ftp server to local machine.
Here is my job
tftpconnection-----onsubjobok---->tftpfilelist----iterate-->tftpget
Error
connected
Exception in component tFTPConnection_2
java.net.UnknownHostException: ftp://snookersworldwide.net: invalid IPv6 address
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getByName(Unknown Source)
at com.enterprisedt.net.ftp.FTPClient.connect(FTPClient.java:954)
at test.ftpdownload_0_1.ftpdownload.tFTPConnection_2Process(ftpdownload.java:344)
at test.ftpdownload_0_1.ftpdownload.runJobInTOS(ftpdownload.java:1099)
at test.ftpdownload_0_1.ftpdownload.main(ftpdownload.java:956)
disconnected
How to fix ipv6 error ?
Community Manager

Re: download files from ftp server to local machine

Try to use IP address instead of host name in the Host field. 
----------------------------------------------------------
Talend | Data Agility for Modern Business