Re: Problem with PutFile - Enterprise UNIX 2.2 ser - WeOnlyDo Discussion board

Re: Problem with PutFile - Enterprise UNIX 2.2 ser (General questions)

by woddrazen, Monday, December 04, 2006, 22:00 (6353 days ago) @ dtw01

Dave,


I have just tried to upload file to WS_FTP 5.04 server and didn't have any problem. I have used FTPS with data protocol.

This is my code:
--------------------------------------
Public Class Form1
Dim WithEvents dlx1 As WeOnlyDo.Client.FtpDLX
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
dlx1 = New WeOnlyDo.Client.FtpDLX
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
dlx1.Hostname = 127.0.0.1
dlx1.Protocol = WeOnlyDo.Client.Protocols.FTPSwithdata
dlx1.Login = drazen
dlx1.Password = drazen
dlx1.Connect()

End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
dlx1.PutFile( c:x320.mmcspbal2.e510 , /users/drazen/x320.mmcspbal2.e510 )
End Sub

Private Sub dlx1_FtpReplyEvent(ByVal Sender As Object, ByVal Args As WeOnlyDo.Client.FtpReplyArgs) Handles dlx1.FtpReplyEvent
Debug.Print(Args.Command & & Args.ReplyText)
End Sub
End Class
--------------------------------------

What version of wodFtpDLX.NET you are using? Latest is 1.1.5.55. Please download latest version if you don't have it and let us know how it goes.


Drazen


Complete thread: