RayT
asked on
Set Target Folder
How do you set the ftp target folder using .Net Framework 4.5?
Here's what I have:
Here's what I have:
Imports System.Net
Public Class FTPPlus2
Shared Property HostName As String
Shared Property Password As String
Shared Property UserID As String
Shared Property Target As String
Shared Property ID As String
Shared Property SiteName As String
Shared Property request As FtpWebRequest
Shared Property response As FtpWebResponse
Shared Sub Disconnect()
If response IsNot Nothing Then
response.Close()
End If
End Sub
Shared Sub Connect()
request = DirectCast(WebRequest.Create(String.Format("ftp://{0}", HostName)), FtpWebRequest)
End Sub
Shared Sub ChangeCurrentFolder(FolderName)
End Sub
Shared Function Connected As Boolean
Dim ret As Boolean = False
Return ret
End Function
Shared Sub Login()
request.Credentials = New NetworkCredential(UserID, Password)
End Sub
End Class
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER