RemoveDirectoryOnServer

<< Fare clic per visualizzazione il sommario >>

Percorso:  I servizi di Jamio openwork > FTP Service >

RemoveDirectoryOnServer

Service

FTP

 

Method

RemoveDirectoryOnServer

 

Description

Deletes an empty remote directory with the specified pathname; the FTP server is explicitly specified.

 

Input

Name

Description

Type

Optional

server

Connection and login information for the server.

Dataset

 

remotePath

Remote directory pathname.

String

 

 

Remarks

Represents FTP RMD command.

The server parameter contains the following fields:

 

Name

Description

Type

Optional

ServerName

The server address, either a hostname or a dotted string IP address.

String

 

ServerPort

The server port.

Int32

 

SslMode

The TLS/SSL security mode (*** ignored for SFtp ***):

0 = None (unsecured connection, no TLS/SSL)

1 = Implicit (implicitly secured TLS/SSL connection)

2 = Explicit (explicitly secured TLS/SSL connection)

Int32

 

UserName

The username; if null, "anonymous" is used.

String

 

Password

Password for the given username; if null, "guest" is used.

String

 

Passive

The file transfer type; default is true (passive); *** ignored for SFtp ***

Passive mode: data transfer connections are made by the client, which connects to the server.

Active mode: data transfer connections are made by the server, which connects to the client.

Firewalls and NATs often make it impossible to use active transfers.

When using HttpConnect proxy, this property is ignored and all transfers are passive.

Boolean

 

ProxyType

The proxy type:

0 = None (direct connection, default when no proxy is specified)

1 = Socks4 (connection through Socks4 proxy)

2 = Socks4a (connection through Socks4A proxy (capable of resolving domain names))

3 = Socks5 (connection through Socks5 proxy)

4 = HttpConnect (connection through HTTP proxy using CONNECT method)

5 = FtpSite (connection through FTP proxy using SITE command); *** not usable for SFtp ***

6 = FtpUser (connection through FTP proxy using USER command); *** not usable for SFtp ***

7 = FtpOpen (connection through FTP proxy using OPEN command); *** not usable for SFtp ***

Int32

 

ProxyHost

The hostname of the proxy server.

String

 

ProxyPort

The port of the proxy server.

Int32

 

ProxyUserName

A username to submit to the proxy server for authentication.

String

 

ProxyPassword

A password to submit to the proxy server for authentication.

String

 

ProxyAuthenticationMethod

The type of the proxy server authentication method:

0 = Basic (Basic authentication)

1 = Ntlm (NTLM authentication)

2 = Digest (Digest authentication)

Int32

 

ProxyBypassProxyOnLocal

True to bypass the proxy server for local addresses, otherwise false; the default value is false.

Boolean

 

SFtp

True to use SFtp instead of Ftp; default is false (Ftp).

Boolean