Commenti


Se qualcosa non ti è chiaro nell'articolo/tip, oppure se trovi qualche errore grammaticale o di concetto, oppure vuoi fare delle critiche o degli apprezzamenti da qui puoi farlo

Categoria contenuto: Articoli 

Titolo contenuto: Costruire un client FTP usando il .NET Framework 2.0 


 Titolo CommentoAutoreData
WebExceptionevoluto87 09 apr 06
  Re: WebExceptionGvnnRules 12 apr 06
Visual Studio 2003gmanfredonia 15 apr 06
  Re: Visual Studio 2003GvnnRules 18 apr 06
Problema KeepAlivedarisole 03 mag 06
  Re: Problema KeepAliveGvnnRules 05 mag 06
  Re: WebExceptiondarisole 05 mag 06
  Re: WebExceptiondarisole 05 mag 06
  Re: Visual Studio 2003gmanfredonia 18 giu 06
Client FTP. Upload con proxy httpmaxhell 14 dic 06
Problema ftp su server SUNr.roncolini@gmail 22 gen 07
  Re: WebExceptionAnonimo 25 mar 07
  Re: Client FTP. Upload con proxy httpnatan_never 07 apr 07
  Re: Client FTP. Upload con proxy http
ho risolto il problema disabilitando temporaneamente il proxy durante la chiamata. di seguito riporto un esempio di funzione che restituisce la data di un file presente su un server ftp. L'ho provata a nche con proxy attivo e non da nessun problema ublic Function GET_FTP_Filedate(ByVal UserName As String, _ ByVal Password As String, _ ByVal Host As String, _ ByVal Path As String, _ ByVal Name As String _ ) As String FTP_Request = CType(WebRequest.Create("ftp://" + Host + Path + "/" + Name), FtpWebRequest) FTP_Request.Credentials = New NetworkCredential(UserName, Password) FTP_Request.Method = WebRequestMethods.Ftp.GetDateTimestamp FTP_Request.Proxy = Nothing Try FTP_Response = CType(FTP_Request.GetResponse(), FtpWebResponse) Dim Response As FtpWebResponse = FTP_Request.GetResponse Dim reader As StreamReader = New StreamReader(Response.GetResponseStream) Return Response.LastModified Catch ex As WebException Return "ERRORE FTP " & CType(ex.Response, FtpWebResponse).StatusDescription GoTo ERR_FTP End Try ERR_FTP: FTP_Response.Close() End Function
natan_never 11 apr 07
Download CartelleAnonimo 16 mag 07
  Re: Download CartelleGvnnRules 16 mag 07
  Re: Download CartelleAnonimo 16 mag 07
  Re: Download CartelleGvnnRules 16 mag 07
  Re: Download CartelleAnonimo 17 mag 07
  Re: Download CartelleGvnnRules 17 mag 07
  Re: Download Cartelleo.adriano 17 mag 07
  Re: Download Cartelleo.adriano 18 mag 07
  Re: Download CartelleGvnnRules 18 mag 07
e per Rinominare un file ???Anonimo 17 apr 08
Avanzamento operazioniGiubano 11 set 08
File Inesistente!!!Anonimo 29 gen 09
Errore Modalità Passivaezioi 05 feb 09
Barra di progressionefabio.renzoni 12 feb 09


Aggiungi o rispondi a un commento


E' possibile scrivere un commento dopo essersi registrati e autenticati.
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5