Ģ20 Connection will close if idle for more than 5 minutes.Ģ30 # is logged on. It is useful to telnet into the z/OS server (just don't try a list or anything that needs a data connection), this will give a view into the ftp server that is not masked by any command quirks of the ftp telnet deve 21Ģ20-FTPD1 IBM FTP CS V2R4 at #.#.eu, 11:24:57 on. Trouble is, with the current FluentFTP code, it would mean server specific changes/additions in some places, It's not just the listing parser that needs enhancing. So the entire logic of how to obtain a LIST depends on a few things that need to done beforehand. Since LIST when used with NoPath always lists the top level, the strategy is to "CWD" (change working directory) to the first qualifier (the so called "HLQ" (high level qualifier)) and the LIST from that location. Or are you in the native z/OS realm where the names look like "qualifier.qualifier." (where the member is optional. I have forked FluentFTP and will try to get listing in FTP to CS z/OS working a little bit better.īasically, prior to a LIST, it is useful to use a PWD to determine the file realm you are in: Are you in the USS (Unix System Services) realm, the path would be like "/." unix like. But the list parser refers to handling the IBM CS AS/400 format. I have been looking at the current code and can see that the FTP greeting message used for server recognition is from z/OS V2R3. On each of these platforms, the list formats might differ slightly (more so on z/OS). The IBM CS is available on a number of platforms. And some of the features of the IBM Communication Server TCP/IP stack are quite bleeding edge. These old IBM/MVS servers always give trouble with listing. If not, what can of handling do you need to support this use case - only that LIST command should not be sent with any arguments if I understand correctly?Īre you able to workaround right now and what is preventing you? Is it crashing? Will this fix work for ALL IBM/MVS servers and is there any way we can automatically use this behavior (version number string, or the welcome message, etc), as that would be preferable and that's how I like to enable server-specific behaviour (automatically and silently in the background, so it "just works" for other users as well) It is not an issue, we can support these. I'm not sure this is worthy of a code change and make a special case for IBM/MVS servers.What do you think? Let me know if you'd like to join me for a screen share session where I walk through the working client, maybe you can spot where the key to make it work is. I'll file a Pull request to incorporate it in your library. I will step through the in-house solution and figure out where the magic sauce is and add that to your project. # OpenActiveDataStream(AutoActive, "LIST 'DEVCDP.'", 0) Response: 200 Representation type is Image Response: 257 "'DEVCDP.'" is working directory. Response: 250 "DEVCDP." is the working directory name prefix. Response: 215 MVS is the operating system of this server. Response: 220 Connection will close if idle for more than 5 minutes.
0 Comments
Leave a Reply. |