###################################
• 3 | 37 | 0 •
• BM-Profil •
SceneStore.biz - Get what you want!
Instant-Ausgabe | Vielzahl an Produkten ...
H4x0r007:
Hab mal gegooglet.. unter Throw ex gibts keine Suchvorschläge, aber bei Throw Exception gibts tausende.. v
Ersetz Throw ex mal mit Throw exception ( achtung, nur ne vermutung! )
shoop da whoop
Willkommen, xPx.
Dein letzter Besuch war: Heute um 13:37 Uhr.
I'm so freakin' 1337 xD
###################################
• 3 | 37 | 0 •
• BM-Profil •
SceneStore.biz - Get what you want!
Instant-Ausgabe | Vielzahl an Produkten ...
H4x0r007:
Haste den code von irgendner seite ? wenn ja, schau doch mal ob du da mehr hilfe bekommst. Wenn nicht. Dann nicht ^^
shoop da whoop
Willkommen, xPx.
Dein letzter Besuch war: Heute um 13:37 Uhr.
I'm so freakin' 1337 xD
Edit:
Mach das Try mal weg und debugge, dann grigst du auch mal ne vernünftige fehlermeldung.Code:Dim sLocalPath As String = "c:\ordner\" Dim sLocalFile As String = "MeineDatei.mdb" Dim sFTPHost As String = "ftp://meine-domain.de/" Dim sUserName As String = "MeinBenutzername" Dim sPassword As String = "MeinPasswort" My.Computer.Network.UploadFile(sLocalPath & sLocalFile, sFTPHost & My.Computer.Clock.LocalTime.DayOfWeek & "_" & sLocalFile, sUserName, sPassword, True, 500, FileIO.UICancelOption.DoNothing)
###################################
• 3 | 37 | 0 •
• BM-Profil •
SceneStore.biz - Get what you want!
Instant-Ausgabe | Vielzahl an Produkten ...
H4x0r007:
shoop da whoop
Willkommen, xPx.
Dein letzter Besuch war: Heute um 13:37 Uhr.
I'm so freakin' 1337 xD
Habe mal ein neuen Code:
Bei dem Pfad bekomm ich aber immer eine Fehlermeldung!Dim clsRequest As System.Net.FtpWebRequest = DirectCast(System.Net.WebRequest.Create("ftp://ftp.visualbasic.kilu.de/www/Test.txt"), System.Net.FtpWebRequest)clsRequest.Credentials = New System.Net.NetworkCredential("visualbasic@1", "visualbasic")clsRequest.Method = System.Net.WebRequestMethods.Ftp.UploadFileDim bFile() As Byte = System.IO.File.ReadAllBytes("C:\Test.txt")Dim clsStream As System.IO.Stream = clsRequest.GetRequestStream()clsStream.Write(bFile , 0, bFile.Length)clsStream.Close()clsStream.Dispose()M sgBox("FTP-Upload Sucess. Server: http://visualbasic.kilu.de", MsgBoxStyle.Information, "FTP Upload Information")Da ist doch nix falsch oder ? ^^C:\Benutzer\xxx\bilder\xyz.jpg
###################################
• 3 | 37 | 0 •
• BM-Profil •
SceneStore.biz - Get what you want!
Instant-Ausgabe | Vielzahl an Produkten ...
H4x0r007:
###################################
• 3 | 37 | 0 •
• BM-Profil •
SceneStore.biz - Get what you want!
Instant-Ausgabe | Vielzahl an Produkten ...
H4x0r007: