Hola seba123neo y spiritdead como estan como 100pre ayudandome gracias !!
Bien y no se podria crear la carpeta y subirla?? o es que no se puede de ninguna de las 2 formas!?
te dare 1 pista, enviando 1 comando usando dicha clase, el servidor te crea la carpeta
listo investiga 1 poquito mas
saludos
edit te ayudare esta vez >.> pero investiga la proxima
Sub cDIRftp(ByVal ip As TextBox, ByVal username As TextBox, ByVal password As TextBox)
Try
If ip.Text <> "" And username.Text <> "" And password.Text <> "" Then
Dim ftp As FtpWebRequest = DirectCast(FtpWebRequest.Create("ftp://" & ip.Text & ubicacion & carpetanueva), FtpWebRequest)
'/// ************************
'///NOTE if you need to authenticate with username / password you would add the following 2 lines ...
Dim cred As New NetworkCredential(username.Text, password.Text) 'user/pass
ftp.Credentials = cred
'/// ************************
ftp.KeepAlive = False
ftp.AuthenticationLevel = Security.AuthenticationLevel.MutualAuthRequested
ftp.Method = WebRequestMethods.Ftp.MakeDirectory
Dim ftpresp As FtpWebResponse = DirectCast(ftp.GetResponse, FtpWebResponse)
'/// ****
Dim sreader As New IO.StreamReader(ftpresp.GetResponseStream)
ftpresp.Close()
Else
'aca dices q falta datos,etc
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
ahi tenes 1 guia