Capturing other FTP server output (General questions)

by jim @, (6682 days ago)

greetings,

how do capture other responses from an FTP server. when doing a putfile test1.txt [remote path] command the server will respond with:
test1.txt | 4B | 32B/s | TOC: 00:00:00 | 100

i get the progress and the done events, but unsure how capture the above.

thanks,

jim

locked

Re: Capturing other FTP server output

by Jasmine, (6681 days ago) @ jim

Jim,

would FTPReply event help?

Kreso

locked

Re: Capturing other FTP server output

by jim @, (6681 days ago) @ Jasmine

do i need to implement iWodFTPNotify for the event to fire?

thanks

jim

locked

Re: Capturing other FTP server output

by Jasmine, (6680 days ago) @ jim

Jim,

no need to, you can use events too. What programming language do you use?

Kreso

locked

Re: Capturing other FTP server output

by jim @, (6680 days ago) @ Jasmine

Kreso, i'm using VB, actually VB.Net.

jim

locked

Re: Capturing other FTP server output

by jim @, (6680 days ago) @ jim

i added this code but it does not fire:

Private Sub axFtp_FTPReply(ByVal sender As Object, ByVal e As AxwodFtpDLXLib._IwodFtpDLXEvents_FTPReplyEvent) Handles axFtp.FTPReply
StatusBarPanel3.Text = e.replyText
End Sub

what did i miss?

thanks,

jim

locked

Re: Capturing other FTP server output

by Jasmine, (6680 days ago) @ jim

Jim,

why don't you send email to techsupport, and they'll send you a sample.

BTW I just noticed that the text you're expecting maybe even server doesn't send.. I think SCP shows that data based on his own calculations - if you used SCP before.

Kreso

locked