Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


MRomer
2019-09-10T17:04:45Z
Using 8.5.4.
I have to set up a job to download files from a partner's MVS or z/OS FTP server. As you know, that flavor of server handles "directories" differently from other servers. I have set up an FTP task with a Download command with the following (obfuscated) parameters:
  • Folder: 'PREFIX.TREATED.LIKE.DIRECTORY'
    Include file mask: FILENAME.*

I am unable to download a file that I know is there (verified with a FileZilla session). It appears to me that the problem is that the prefix (with quotes) is being pre-pended to the file name in the RETR command. I suspect that if it were possible to make the RETR command use the file name only, it would work. Here is the logged output of the session:
220-FTPD1 IBM FTP CS V2R3 at external.ftp.server.tld, 11:40:13 on 2019-09-10.
220 Connection will close if idle for more than 10 minutes.

USER USERNAME
331 Send password please.

PASS ********
230 USERNAME is logged on.  Working directory is "USERNAME.".

PBSZ 0
200 Protection buffer size accepted

PROT P
200 Data connection protection set to private

FEAT
211- Extensions supported
 AUTH TLS
 PBSZ
 PROT
211 End

PBSZ 0
200 Protection buffer size accepted

PROT P
200 Data connection protection set to private

SYST
215 MVS is the operating system of this server. FTP Server is running on z/OS.

PWD
257 "'USERNAME.'" is working directory.

PWD
257 "'USERNAME.'" is working directory.

PWD
257 "'USERNAME.'" is working directory.

CWD 'PREFIX.TREATED.LIKE.DIRECTORY'
250 "PREFIX.TREATED.LIKE.DIRECTORY." is the working directory name prefix.

PWD
257 "'PREFIX.TREATED.LIKE.DIRECTORY.'" is working directory.

TYPE A
200 Representation type is Ascii NonPrint

PASV
227 Entering Passive Mode (111,111,111,111,195,81)

LIST
125 List started OK

250 List completed successfully.

TYPE I
200 Representation type is Image

PASV
227 Entering Passive Mode (111,111,111,111,195,164)

RETR 'PREFIX.TREATED.LIKE.DIRECTORY.'FILENAME.G0001V00
550 Mismatched quotes on pathname 'PREFIX.TREATED.LIKE.DIRECTORY.'FILENAME.G0001V00

QUIT
221 Quit command received. Goodbye.


I've tried tweaking a couple of different settings in the download setup, but nothing has made it work. Am I missing something?
Sponsor
Forum information
Support
2019-09-11T14:43:00Z
Originally Posted by: MRomer 

Using 8.5.4.
I have to set up a job to download files from a partner's MVS or z/OS FTP server. As you know, that flavor of server handles "directories" differently from other servers. I have set up an FTP task with a Download command with the following (obfuscated) parameters:

  • Folder: 'PREFIX.TREATED.LIKE.DIRECTORY'
    Include file mask: FILENAME.*

I am unable to download a file that I know is there (verified with a FileZilla session). It appears to me that the problem is that the prefix (with quotes) is being pre-pended to the file name in the RETR command. I suspect that if it were possible to make the RETR command use the file name only, it would work. Here is the logged output of the session:
220-FTPD1 IBM FTP CS V2R3 at external.ftp.server.tld, 11:40:13 on 2019-09-10.
220 Connection will close if idle for more than 10 minutes.

USER USERNAME
331 Send password please.

PASS ********
230 USERNAME is logged on.  Working directory is "USERNAME.".

PBSZ 0
200 Protection buffer size accepted

PROT P
200 Data connection protection set to private

FEAT
211- Extensions supported
 AUTH TLS
 PBSZ
 PROT
211 End

PBSZ 0
200 Protection buffer size accepted

PROT P
200 Data connection protection set to private

SYST
215 MVS is the operating system of this server. FTP Server is running on z/OS.

PWD
257 "'USERNAME.'" is working directory.

PWD
257 "'USERNAME.'" is working directory.

PWD
257 "'USERNAME.'" is working directory.

CWD 'PREFIX.TREATED.LIKE.DIRECTORY'
250 "PREFIX.TREATED.LIKE.DIRECTORY." is the working directory name prefix.

PWD
257 "'PREFIX.TREATED.LIKE.DIRECTORY.'" is working directory.

TYPE A
200 Representation type is Ascii NonPrint

PASV
227 Entering Passive Mode (111,111,111,111,195,81)

LIST
125 List started OK

250 List completed successfully.

TYPE I
200 Representation type is Image

PASV
227 Entering Passive Mode (111,111,111,111,195,164)

RETR 'PREFIX.TREATED.LIKE.DIRECTORY.'FILENAME.G0001V00
550 Mismatched quotes on pathname 'PREFIX.TREATED.LIKE.DIRECTORY.'FILENAME.G0001V00

QUIT
221 Quit command received. Goodbye.


I've tried tweaking a couple of different settings in the download setup, but nothing has made it work. Am I missing something?



Are you able to provide us with a test account, so we can try from our end? If you would email us a test account to support@visualcron.com
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
MRomer
2019-09-11T14:59:19Z
Originally Posted by: Support 

Are you able to provide us with a test account, so we can try from our end? If you would email us a test account to support@visualcron.com


I wish I could. It's not my server, and they're difficult to get responses from. I'll see if they've got a test account I can pass on to you.
Scroll to Top