AFT wildcard * and ? get error message

Everything about Control-M Control Modules
Post Reply
User avatar
Nightwatchrenband
Nouveau
Nouveau
Posts: 28
Joined: 24 Jul 2012 12:00
Location: Long Beach, CA

AFT wildcard * and ? get error message

Post by Nightwatchrenband » 24 Jul 2012 7:42

New to CTM and my first post, so please be gentle.
Trying to do AFT of /a/b/c/XHHMMSS.txt Where HHMMSS will change. I try to use * and/or ? wild cards eg: /a/b/c/X*.txt /a/b/c/X??????.txt but I get a message "Transfer#1 This is an illegal request. A directory cannot be transferred into a file" I cannot even save the job to try to execute it. How do accomplish this?

User avatar
Nightwatchrenband
Nouveau
Nouveau
Posts: 28
Joined: 24 Jul 2012 12:00
Location: Long Beach, CA

Post by Nightwatchrenband » 25 Jul 2012 2:24

Figured it out with help. IF you are using a directory, or Wildcards in the "source" file, then the "destination" MUST be a directory not a file. They do not seem to consider that wildcards just might resolve to a SINGLE file. Their message confuses rather than illuminates.

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 26 Oct 2012 5:29

When you put in the origina path a wildcard like "*", ftp protocol assume that there may be more than one file. So in the detination you must put only a directory name not a single file name.
If you want to rename the file to the destination, put only the directory name and than use the "advanced" tab.

Post Reply