Reg: FTP'ing files from remote server to local folder in windows

One Star

Reg: FTP'ing files from remote server to local folder in windows

Hi All,
I am trying to ftp files from remote server to local using following components. tFTPConnection --> tFTPFileList --> tFTPGet. For further info please see the screen shots.
I have hosted my files under the directory C:\Inetpub\ftproot\ExampleFTPFiles.
My source and target machines runs on windows XP. I am trying to automate this process. I just followed all the instructions but it leads me with following error.
Starting job job_tsystem at 11:26 09/12/2011.
connecting to socket on port 3868
connected
Exception in component tFTPFileList_1
com.enterprisedt.net.ftp.FTPException: 550 C:\Inetpub\ftproot\ExampleFTPFiles: The filename, directory name, or volume label syntax is incorrect.
at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:1201)
at com.enterprisedt.net.ftp.FTPClient.chdir(FTPClient.java:3723)
at coe.job_tsystem_1_0.job_tsystem.tFTPFileList_1Process(job_tsystem.java:378)
at coe.job_tsystem_1_0.job_tsystem.tFTPConnection_1Process(job_tsystem.java:311)
at coe.job_tsystem_1_0.job_tsystem.runJobInTOS(job_tsystem.java:956)
at coe.job_tsystem_1_0.job_tsystem.main(job_tsystem.java:824)
disconnected
Job job_tsystem ended at 11:26 09/12/2011.
The snapshots are very clear and explanatory.
I need some inputs. All the best.
Thanks in Advance
Naju
Community Manager

Re: Reg: FTP'ing files from remote server to local folder in windows

Hi
First, you use tFTPConnection to create a ftp connection at the beginning of job, why don't you use the existing on other FTP component?
Second, the remote directory should like "./ExampleFTPFiles" if the root directory is C:\Inetpub\ftproot in your FTP server.
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Reg: FTP'ing files from remote server to local folder in windows

Thanks Shong. It worked. But my component are showing some error on designer. I am just posting this screen shot.
Regards
Naju
One Star

Re: Reg: FTP'ing files from remote server to local folder in windows

Hi,
When I replaced C:/Inetpub/ftproot/ExampleFTPFiles with "./ExampleFTPFiles" it worked. How can I ftp a source file on folder D:/Files. Any valuable suggestions?
Regards
Najeeb

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog