Page 1 of 1

AFT wildcard * and ? get error message

Posted: 24 Jul 2012 7:42
by Nightwatchrenband
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?

Posted: 25 Jul 2012 2:24
by Nightwatchrenband
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.

Posted: 26 Oct 2012 5:29
by mauriziog
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.