Dim ftpURL As String = "ftp://example.com/folder"
If Not ftpURL.EndsWith("/") Then
ftpURL += "/"
End If
Console.WriteLine(ftpURL)
Dim ftpURL As String = "ftp://example.com/folder"
If Not ftpURL.EndsWith("/") Then
ftpURL += "/"
End If
Console.WriteLine(ftpURL)