Re: MVS Fixed Records - WeOnlyDo Discussion board

Re: MVS Fixed Records (General questions)

by cvmbor, Saturday, May 26, 2007, 05:29 (6391 days ago) @ wodDamir

Hi Craig,

The FtpReply looks ok to me.

What version of the component are you using?

Can you please update to the latest version and try it out? If I recall right that issue should be solved in the latest version.

Or you could try setting PasvPort Property to 0?

Can you try it and tell us of the result?

Regards,
Damba

So I just got the software last week but also got an email for a new upgrade so I installed. Tried the pasvport as well but still the 40200 error. My relevant code.

Sftp1.ListParams =
Sftp1.remotePath = ld_remotePath
Sftp1.RawSend CWD & Sftp1.remotePath & vbCrLf
Sftp1.PasvPort = 0
Case Else
Sftp1.remotePath = ld_remotePath
End Select

listDirResults =

Sftp1.ListDir

I also get rid of the directory in the list command.

But if I put a control break at the pasvport command and wait a few seconds then step thru the ListDir it works fine. I tried a Sleep (5000) here but no luck. The doc says the rawsend doesn't wait or trigger the events so is there some other way to let the rawsend pass without affecting the other commands?


Complete thread: