Thanks for ur reply.
Yep we are using SFTP protocol to transfer the file.
I have used the following code, but no luck.Still the files are received as unformatted on mainframe side
Dim channel As Rebex.Net.SshChannel = sftpx.Session.OpenSession()
channel.RequestExec("ls /+lrecl=3004,recfm =VB")