Capturing other FTP server output - WeOnlyDo Discussion board

Capturing other FTP server output (General questions)

by jim, Saturday, January 20, 2007, 02:50 (6517 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

Re: Capturing other FTP server output

by wodSupport, Saturday, January 20, 2007, 08:46 (6517 days ago) @ jim

Jim,

would FTPReply event help?

Kreso

Re: Capturing other FTP server output

by jim, Sunday, January 21, 2007, 05:04 (6516 days ago) @ wodSupport

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

thanks

jim

Re: Capturing other FTP server output

by wodSupport, Sunday, January 21, 2007, 07:23 (6516 days ago) @ jim

Jim,

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

Kreso

Re: Capturing other FTP server output

by jim, Sunday, January 21, 2007, 13:24 (6516 days ago) @ wodSupport

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

jim

Re: Capturing other FTP server output

by jim, Sunday, January 21, 2007, 15:10 (6516 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

Re: Capturing other FTP server output

by wodSupport, Sunday, January 21, 2007, 15:20 (6516 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