Question Using .NET 3.5 to retrieve files from IBM mainframe

jwpjr765

Member
Joined
Jun 2, 2010
Messages
5
Location
Lewisville, Texas
Programming Experience
10+
I know how to get a list of files in a local Windows machine's specific directory:
Dim dirInfo As DirectoryInfo = New DirectoryInfo("C:\Temp\")
Dim fileListing() As FileInfo = dirInfo.GetFiles()


But how do I use this class (or applicable one) for a mainframe system where user ID, password and 'change directory' command are needed?

When I attempt to just access the server without credentials and just do the Windows version and use the syntax "\\server_name\AUTO:RPTS.", where 'AUTO:RPTS.' is the mainframe directory name I get the following error:
"The given path's format is not supported."

When I just use '\\server_name\' I get:
"The UNC path should be of the form \\server\share."

Any help would be greatly appreciated!!
 
Back
Top