Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: ftp to MVS using z/OS ftp

WinSCP does not support non-Unix-like systems with FTP. This issue is being tracked already.
mlday

ftp to MVS using z/OS ftp

I am trying to create a WinSCP Session to connect to an MVS system running z/OS ftp server. I can connect, but the session fails with an error when it tries to obtain a directory listing. I can connect successfully with Filezilla; however, I need to use WinSCP since I want to use the .com Command Line version with saved sessions and script files to create unattended ftps. In both Filezilla and WinSCP session setups I use a Remote Directory. The log files are below: is there a setting that I am missing in WinSCP, or is MVS with the z/OS ftp server not supported? Thanks...

Filezilla:
(I am omitting the Connection information...)
Response: 220 Connection will close if idle for more than 15 minutes.
Command: USER epoftps
Response: 331 Send password please.
Command: PASS ********
Response: 230 EPOFTPS is logged on. Working directory is "EPOFTPS.".
Command: FEAT
Response: 211- Extensions supported
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: 211 End
Command: SYST
Response: 215 MVS is the operating system of this server. FTP Server is running on z/OS.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "'EPOFTPS.'" is working directory.
Command: CWD 'EPEOVRET'
Response: 250 "EPEOVRET." is the working directory name prefix.
Command: PWD
Response: 257 "'EPEOVRET.'" is working directory.
Command: TYPE A
Response: 200 Representation type is Ascii NonPrint
Command: PASV
Response: 227 Entering Passive Mode <omitted>
Command: LIST
Response: 125 List started OK
Response: 250 List completed successfully.
Status: Directory listing successful

WinSCP:
--------------------------------------------------------------------------
WinSCP Version 4.2.8 (Build 818) (OS 5.1.2600 Service Pack 2)
Login time: Wednesday, August 04, 2010 10:40:08 AM
--------------------------------------------------------------------------
Session name: Mainframe Test
Host name: <omitted>
User name: EPOFTPS (Password: Yes, Key file: No)
Tunnel: No
Transfer Protocol: FTP
Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
Proxy: none
FTP: FTPS: None; Passive: Yes [Force IP: No]
Local directory: default, Remote directory: EPEOVRET, Update: No, Cache: No
Cache directory changes: No, Permanent: Yes
DST mode: 1
--------------------------------------------------------------------------
<Connection info omitted>
220 Connection will close if idle for more than 15 minutes.
USER EPOFTPS
331 Send password please.
PASS ********
230 EPOFTPS is logged on. Working directory is "EPOFTPS.".
SYST
215 MVS is the operating system of this server. FTP Server is running on z/OS.
FEAT
211- Extensions supported
AUTH TLS
PBSZ
PROT
211 End
Connected
--------------------------------------------------------------------------
Using FTP protocol.
Doing startup conversation with host.
PWD
257 "'EPOFTPS.'" is working directory.
Changing directory to "EPEOVRET".
Synchronizing current directory "'EPOFTPS.'".
CWD 'EPOFTPS.'
250 "EPOFTPS." is the working directory name prefix.
CWD EPEOVRET
250 "EPOFTPS.EPEOVRET." is the working directory name prefix.
Getting current directory name.
PWD
257 "'EPOFTPS.EPEOVRET.'" is working directory.
Retrieving directory listing...
CWD /'EPOFTPS.EPEOVRET.'/'EPOFTPS.EPEOVRET.'/
550 CWD cmd failed : EDC5129I No such file or directory. (errno2=0x0594003D)
Could not retrieve directory listing
Retrieving directory listing...
CWD /'EPOFTPS.EPEOVRET.'/'EPOFTPS.EPEOVRET.'/
550 CWD cmd failed : EDC5129I No such file or directory. (errno2=0x0594003D)
Could not retrieve directory listing
(ECommand) Error listing directory ''EPOFTPS.EPEOVRET.''.
Could not retrieve directory listing
CWD cmd failed : EDC5129I No such file or directory. (errno2=0x0594003D)
Startup conversation with host finished.