HomeForum
Welcome, Guest

Using FTP object to download today's file
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Using FTP object to download today's file

Using FTP object to download today's file 1 year, 9 months ago #922

  • Maria
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
Hi.. I’m continuing in the review of the Advanced ETL Processor and I understand that the Processor can download files from the FTP location. I’ve already set up an FTP connection. Now I’m trying to go out to the FTP location, look for a particular file mask, decode the file, download it to a directory (so that the raw data file can be saved) and then load it to a table. Under the Packages, I’ve set up an FTP Package and from here I was putting in the actions. When I put in a Mask, all of the files instead of just the one I want to be downloaded are downloaded. I’ve tried putting in the full name of the file and that doesn’t same to work. Is the purpose of the Mask field to tell the action what file to look for or is it for something else? Also, on a daily basis, the file mask would pretty much be the same with the exception of the date being the current date. For example, I want to pull in the MBSAll.rep.YYYYMMDD for a given day and we would pull this file in daily M-F, how would I need to set this up in the actions so the process would know to look for today’s file?

Maria

Re:Using FTP object to download today's file 1 year, 9 months ago #923

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2183
  • Karma: 12
Maria

Documentation page 313

23. File names functions

This chapter provides list of functions which can be used in file names or directories

Examples:

C:\Data{GetSystemDate('YYYYMMDD' )}.vis
<LogDirectory>{GetSystemDate('YYYYMMDD' )}.vis

Basically all you need to do is to put
MBSAll.rep.{GetSystemDate('YYYYMMDD' )}

Into mask box

Peter

Re:Using FTP object to download today's file 1 year, 4 months ago #1378

  • sousi
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
hi,
i want to know how to retrieve files from datasource with talend by using ftp servers, please if anyone can help me and tell me the process

sousi

Re: Using FTP object to download today's file 1 year, 4 months ago #1380

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2183
  • Karma: 12
Hello

Talend is not our software so we can't help you with it
Have a look and advanced etl processor it can a lot for you

Mike
  • Page:
  • 1
Time to create page: 0.16 seconds

Testimonials

Visual Importer ETL  saved us 25-30 hours per month. Much of that comes from being able to build in error checking into the scripting. I've even been able to script corrections that run on the fly triggered by the error checking on incoming order files.

Gene Kovacs,
Director of Technical Business Operations,
A2B

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top