C# Class MacBuildTool.FtpManager

Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Méthode Description
IsFtp ( string url ) : bool
SaveFile ( string url, string localFile, string userName, string password ) : void
UploadFile ( string localFileToUpload, string targetUrl, string userName, string password, bool keepAlive ) : void

Private Methods

Méthode Description
EndGetResponseCallback ( IAsyncResult result ) : void
EndGetStreamCallback ( IAsyncResult result ) : void
GetFtpWebRequest ( string url, string userName, string password, string method, bool keepAlive ) : FtpWebRequest
GetFtpWebRequest ( string url, string userName, string password, string method, bool keepAlive, bool forceBinary ) : FtpWebRequest
StartUploadUsingFtpState ( string targetUrl, string userName, string password, bool keepAlive, FtpState state ) : void
ThrowExceptionIfFtpUrlIsBad ( string url ) : void

Method Details

IsFtp() public static méthode

public static IsFtp ( string url ) : bool
url string
Résultat bool

SaveFile() public static méthode

public static SaveFile ( string url, string localFile, string userName, string password ) : void
url string
localFile string
userName string
password string
Résultat void

UploadFile() public static méthode

public static UploadFile ( string localFileToUpload, string targetUrl, string userName, string password, bool keepAlive ) : void
localFileToUpload string
targetUrl string
userName string
password string
keepAlive bool
Résultat void