MVS no Data Sets Found - WeOnlyDo Discussion board

MVS no Data Sets Found (General questions)

by Brian, Monday, July 14, 2008, 18:40 (5975 days ago)

We have a single client that uses MVS for its FTP. We use a database driven solution that uses WOD FTPDLX.Net (1.4.0.122).

When i use the Simple VB example I am able to connect and put a file but I can not ListDir. Even if I set the DirFormat to MVS.

The ListDir is built into our code base and is causing an error.

How do I work around this ListDir issue?

here is the output from the debug session I ran.

FTPD1 IBM FTP CS V1R8 at e-server.ddci.net, 16:03:28 on 2008-07-14.
Connection will close if idle for more than 10 minutes.
USER X88899 Send password please.
PASS ###### X88899 is logged on. Working directory is X88899. .
FEAT Extensions supported
AUTH TLS
PBSZ
PROT
End
PWD 'X88899.' is working directory.
TYPE A Representation type is Ascii NonPrint
PASV Entering Passive Mode (199,34,66,35,7,51)
LIST -al No data sets found.


the code for the ListDir button from SampleVB.net

Private Sub button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button4.Click
Ftp1.DirFormat = WeOnlyDo.Client.DirFormats.MVS

Ftp1.ListDir(textBox6.Text)
End Sub

Thanks in advance for your support

Re: MVS no Data Sets Found

by woddrazen, Monday, July 14, 2008, 22:15 (5975 days ago) @ Brian

Hi Brian,


Most probably you aren't able to receive response form server because LIST command is send with -al argument.

Can you please try this:
[code]dlx1.ListParams =
dlx1.Connect[/code]
In this case LIST command will be send to server without argument. This is needed for some Servers.

More help for ListParams Property you can find here:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~ListParams.html

Let us know how it goes.


Regards,
Drazen

Re: MVS no Data Sets Found

by ogedei, Tuesday, July 15, 2008, 00:46 (5975 days ago) @ woddrazen

Can I change that parameter after I connect? Is that a standard MVS FTP issue? If so can I determine I am MVS after connecting?

Our FTP is built into a service and I need to find the best way to treat all FTP servers consistently where possible.

thanks

Re: MVS no Data Sets Found

by woddrazen, Tuesday, July 15, 2008, 09:40 (5975 days ago) @ ogedei

Ogedei,


Yes, you can add it when you are connected to server but before you execute ListDir Method.


Drazen

Re: MVS no Data Sets Found

by ogedei, Tuesday, July 15, 2008, 23:46 (5974 days ago) @ woddrazen

I only want to change the listparam property if the file system is MVS.

How can I determine the filesytem after I connect? The DirFormat is always returning 0.

Is there a property i can get the filesystem data from?

Re: MVS no Data Sets Found

by woddrazen, Wednesday, July 16, 2008, 00:13 (5974 days ago) @ ogedei

Ogedei,


You can find reply from server using FtpReply Event and adding this code:
[code]Debug.Print(Command & & ReplyText)[/code]

Most probably you should receive there server type.

More help for Ftpreply Event you can find here:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~FTPReply_EV.html


Drazen