ZennoLab Assemblies Documentation
FtpDeleteFile Method
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > ZennoPoster Class : FtpDeleteFile Method
host

Type: System.String

The address of the FTP server.
port

Type: System.Int32

The port of the FTP server.

login

Type: System.String

The login of the FTP server.

pass

Type: System.String

The password of the FTP server.

proxy

Type: System.String

The proxy string in format: login:pass@ip:port OR ip:port.

name

Type: System.String

The file name.

Glossary Item Box

Delete the file.

Syntax

C# 
public static void FtpDeleteFile( 
   string host,
   int port,
   string login,
   string pass,
   string proxy,
   string name
)

Parameters

host

Type: System.String

The address of the FTP server.
port

Type: System.Int32

The port of the FTP server.

login

Type: System.String

The login of the FTP server.

pass

Type: System.String

The password of the FTP server.

proxy

Type: System.String

The proxy string in format: login:pass@ip:port OR ip:port.

name

Type: System.String

The file name.

Example

The following example shows call the FtpDeleteFile method.
C#Copy Code
ZennoPoster.FtpDeleteFile({host}, {port}, {login}, {password}, {proxy}, {filePath});
PHPCopy Code
ZennoPoster::FtpDeleteFile({host}, {port}, {login}, {password}, {proxy}, {filePath});

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.