HomeForum
Welcome, Guest

FTP File Download
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: FTP File Download

FTP File Download 1 year, 1 month ago #2309

  • Bill
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • 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 xmmm.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?

Bill

Re: FTP File Download 1 year, 1 month ago #2310

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
Documentation page 213

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

{GetSystemDate('YYYYMMDD')}.vis

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

Into mask box

Peter
  • Page:
  • 1
Time to create page: 0.15 seconds

Testimonials

"I've been very impressed with Advanced ETL Processor. It is extremely powerful and can validate and transform practically any data set you work with."

David Gig,
Director of Information Technology

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