Home Page
Articoli
Tips & Tricks
News
Forum
Archivio Forum
Blogs
Sondaggi
Rss
Video
Utenti
Chi Siamo
Contattaci
Username:
Password:
Login
Registrati ora!
Recupera Password
Home Page
Stanze Forum
App. WinForms / WPF .NET
Upload di file
giovedì 29 settembre 2005 - 10.47
Elenco Threads
Stanze Forum
Aggiungi ai Preferiti
Cerca nel forum
Amodio
Profilo
| Expert
525
messaggi | Data Invio:
gio 29 set 2005 - 10:47
salve a tutti
devo uplodare un file su un server web
come posso fare?
grazie
ho provato con uesto codice, ma proprio nn me ne va bene una->errori da tutte le parti
Dim myWebClient As New WebClient
' Console.WriteLine(ControlChars.Cr + "Please enter the fully qualified path of the file to be uploaded to the URL")
myWebClient.Credentials = New System.Net.NetworkCredential("M", "M", "FTP://server")
Dim fileName As String = Me.TXT_Immagine.Text
' Console.WriteLine("Uploading {0} to {1} ...", fileName, uriString)
' Upload the file to the Url using the HTTP 1.0 POST.
Dim responseArray As Byte() = myWebClient.UploadFile("FTP://serverp/provaUpload", "put", fileName) '"POST"
Torna su
Stanze Forum
Elenco Threads
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?
Dopo esserti registrato potrai chiedere
aiuto sul nostro
Forum
oppure aiutare gli altri
Consulta le
Stanze
disponibili.
Registrati ora !