Re: MVS Fixed Records (General questions)
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:
- MVS Fixed Records - cvmbor, 2007-05-23, 23:42
- Re: MVS Fixed Records - woddrazen, 2007-05-23, 23:51
- Re: MVS Fixed Records - cvmbor, 2007-05-24, 14:48
- Re: MVS Fixed Records - wodDamir, 2007-05-24, 16:09
- Re: MVS Fixed Records - cvmbor, 2007-05-25, 04:40
- Re: MVS Fixed Records - wodDamir, 2007-05-25, 16:35
- Re: MVS Fixed Records - cvmbor, 2007-05-26, 05:29
- Re: MVS Fixed Records - wodDamir, 2007-05-26, 16:35
- Re: MVS Fixed Records - cvmbor, 2007-05-26, 05:29
- Re: MVS Fixed Records - wodDamir, 2007-05-25, 16:35
- Re: MVS Fixed Records - cvmbor, 2007-05-25, 04:40
- Re: MVS Fixed Records - wodDamir, 2007-05-24, 16:09
- Re: MVS Fixed Records - cvmbor, 2007-05-24, 14:48
- Re: MVS Fixed Records - woddrazen, 2007-05-23, 23:51