Henrik, and anybody else reading out there,
I did a search for "FTP" on the forum, and didn't find anything like the problem I am having, so I'm posting it. If anyone has had this problem, care to share how you worked around it? :-)
Here goes: I am trying to download some files from an FTP site. I believe it is running on z/OS or some other mainframe-era platform, as it the "HELP" command returns things about MVS and HFS file names.
After connecting to the site, I try a "Download" task with the following settings:
Directory = 'KINP.MR14402'
File mask = *
I am expecting to get one file named G3603V00 out of that file mask, the most current generation of that dataset. Instead, I get a big ugly error:
Error (5) downloading file(s): Volume Unit Referred Ext Used Recfm Lrecl BlkSz Dsorg Dsname, err: Name length error for pathname Volume Unit Referred Ext Used Recfm Lrecl BlkSz Dsorg Dsname (reply code 550)
I turned on in/out logging, and this is the last part of what the task output is, the commands sent to the ftp server:
PWD
"'KINP.MR14402.'" is working directory.
TYPE A
Representation type is Ascii NonPrint
PASV
Entering Passive Mode (155,109,247,5,5,74)
LIST
List started OK
List completed successfully.
TYPE A
Representation type is Ascii NonPrint
PASV
Entering Passive Mode (155,109,247,5,5,75)
LIST
List started OK
List completed successfully.
TYPE I
Representation type is Image
PASV
Entering Passive Mode (155,109,247,5,5,76)
RETR Volume Unit Referred Ext Used Recfm Lrecl BlkSz Dsorg Dsname
Name length error for pathname Volume Unit Referred Ext Used Recfm Lrecl BlkSz Dsorg Dsname
QUIT
My guess is the LIST command is somehow not returning what VisualCron expects it to return in order to understand the file mask *? I have also tried putting in the actual file name as the file mask, but still no luck.
Any help at all would be greatly appreciated!!
Thanks,
A very frustrated Mike