HomeForum
Welcome, Guest

File Operator - Move File
(1 viewing) (1) Guest

TOPIC: File Operator - Move File

File Operator - Move File 1 year, 3 months ago #1599

I downloaded Advanced ETL Processor Pro version 4.2.4.3 yesterday and I am now having a problem with archiving client files via the File Operator - Move File. I am creating a directory then moving files to the newly created directory utilizing the GetSystemDate functionality.


I am creating a directory in the following manner:
G:\???\???\ETL\Load Files\???\Archived Files\{GetSystemDate('YYYYMMDD')}

I am then moving files in the following manner:

Source File:
"G:\???\???\ETL\Load Files\???\Files To Load\*.csv"

Target Directory:
G:\???\???\ETL\Load Files\???\Archived Files\{GetSystemDate('YYYYMMDD')}

This was a successfull approach in a previous version of the tool. Am I doing something wrong?

Thanks for your support.

Re: File Operator - Move File 1 year, 3 months ago #1600

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2181
  • Karma: 12
This might happen if you run it several times
For example while testing.
It is failing because there are already some files in target directory
Try selecting overwrite existing files.

We will make error messages more informative in the next release

Peter

Re: File Operator - Move File 1 year, 2 months ago #1692

Hi Peter,

There definitely are no files in the target directory.

The strange thing is it works fine if the target directory is an actual file name and not the {GetSystemDate('YYYYMMDD')}. See below.

It works if the target directory is:
G:\itg\Business Intelligence\ETL\Load Files\ClientName\Archived Files_ClientName\20110221

It does NOT work if the target directory is:
G:\itg\Business Intelligence\ETL\Load Files\ClientName\Archived Files_ClientName\{GetSystemDate('YYYYMMDD')}

Also, it worked fine in a previous version of your tool.

Re: File Operator - Move File 1 year, 2 months ago #1722

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2181
  • Karma: 12
Still thinking what can be wrong with that

The question marks?
What are they?

Have you got any unicode characters in the directory name?

G:\???\???\ETL\Load Files\???\Archived Files\{GetSystemDate('YYYYMMDD')}

Peter

Re: File Operator - Move File 1 year, 2 months ago #1725

Hi Peter,

I simply replaced the client name with question marks for this posting only.

No unicode characters in directory name. The target directory would look very similar to the following:

G:\itg\Business Intelligence\ETL\Load Files\ClientName\Archived Files_ClientName\{GetSystemDate('YYYYMMDD')}

Thanks

Re: File Operator - Move File 1 year, 2 months ago #1765

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2181
  • Karma: 12
Steve

Can you try version Advanced ETL Processor Professional version 4.2.4.4 please
If it does not work please post here your execution log

Peter
Time to create page: 0.20 seconds

Testimonials

"Using Active Table Editor is the easiest way of editing lookup tables  I've ever seen. A free 30-day trial is available on their Web site; the only issue is that when the 30 days are up, you're going to want to buy it."
- Moo Ling, Software Enginier

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