nooch
Everytime i try to connect i get the result 17?
I'm using VB.NET (not C#.net)
This is my test code just to see if i can get it working...
Dim oFTP As New sfFTPLib.FTPConnectionSTA
MsgBox("object created!")
oFTP.Host = "xxx"
oFTP.Username = "xxx"
oFTP.Password = "xxx"
oFTP.Port = 21
oFTP.Protocol = enumProtocol.ftpProtocolNormal
oFTP.Passive = True
oFTP.MLST = True
oFTP.LogFile = "C:\FTPLOG.txt"
MsgBox("port = " & oFTP.Port)
Dim result
result = oFTP.Connect
MsgBox(result)
I've looked at the server logs and it doesn't show any connections from me going in, so i figured it's just not connecting? I'm using the trial version for now. Any ideas?
ah i feel a bit stupid now, this is to do with the licence...
EDIT: I feel really stupid now, should have looked at the source code. Sorry it's been a long day :$
LAST EDIT: Nope, still says bad licence am i supposed to enter/change something because i'm using the trial version?
I'm using VB.NET (not C#.net)
This is my test code just to see if i can get it working...
Dim oFTP As New sfFTPLib.FTPConnectionSTA
MsgBox("object created!")
oFTP.Host = "xxx"
oFTP.Username = "xxx"
oFTP.Password = "xxx"
oFTP.Port = 21
oFTP.Protocol = enumProtocol.ftpProtocolNormal
oFTP.Passive = True
oFTP.MLST = True
oFTP.LogFile = "C:\FTPLOG.txt"
MsgBox("port = " & oFTP.Port)
Dim result
result = oFTP.Connect
MsgBox(result)
I've looked at the server logs and it doesn't show any connections from me going in, so i figured it's just not connecting? I'm using the trial version for now. Any ideas?
ah i feel a bit stupid now, this is to do with the licence...
EDIT: I feel really stupid now, should have looked at the source code. Sorry it's been a long day :$
LAST EDIT: Nope, still says bad licence am i supposed to enter/change something because i'm using the trial version?