Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.8k views
in .NET FTP by (240 points)
I get App stopped working when trying to do this, though I can connect to my FTP successfully using FileZilla and no-ip. Is it a software problem or the resource has not been implemented on the free version?

2 Answers

0 votes
by (162k points)
I'm not sure what you are talking about - could you post a Debug level log file?
0 votes
by (240 points)
I'm trying to host my FTP Server at home and also hardcode the server address on the App source. The problem is that eventually my IP address will change and the App will stop working. To solve this issue I thought I should use no-ip, which is basically a site, that give me a URL, and that URL is contantly updated with my last IP Address. so on the source code I would have something like this:

Imports EnterpriseDT.Net.Ftp
Public Class Form1
    Dim ftp As New FTPConnection
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        With ftp
            .ServerAddress = "myurl.no-ip.org" ' URL with last IP updated
            .UserName = "user"
            .Password = "password"
            Try
                .Connect()
                MsgBox("Connected")
            Catch ex As Exception
                MsgBox("Could not connect")
            End Try
        End With
    End Sub
End Class


and not like this

Imports EnterpriseDT.Net.Ftp
Public Class Form1
    Dim ftp As New FTPConnection
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        With ftp
            .ServerAddress = "1.2.3.4"
            .UserName = "user"
            .Password = "password"
            Try
                .Connect()
                MsgBox("Connected")
            Catch ex As Exception
                MsgBox("Could not connect")
            End Try
        End With
    End Sub
End Class


But nevermind I got it to work.

Categories

...