POST api/UploadFTPFile/TestFTPConnection
Request Information
URI Parameters
None.
Body Parameters
FtpEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| FTPType | string |
None. |
|
| Host | string |
None. |
|
| Port | integer |
None. |
|
| RemoteDirectory | string |
None. |
|
| UserName | string |
None. |
|
| Password | string |
None. |
|
| TimeoutInSecond | integer |
None. |
|
| RetryCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"FTPType": "sample string 1",
"Host": "sample string 2",
"Port": 1,
"RemoteDirectory": "sample string 3",
"UserName": "sample string 4",
"Password": "sample string 5",
"TimeoutInSecond": 1,
"RetryCount": 1
}
application/xml, text/xml
Sample:
<FtpEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model"> <FTPType>sample string 1</FTPType> <Host>sample string 2</Host> <Password>sample string 5</Password> <Port>1</Port> <RemoteDirectory>sample string 3</RemoteDirectory> <RetryCount>1</RetryCount> <TimeoutInSecond>1</TimeoutInSecond> <UserName>sample string 4</UserName> </FtpEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"FTPType":"sample string 1","Host":"sample string 2","Port":1,"RemoteDirectory":"sample string 3","UserName":"sample string 4","Password":"sample string 5","TimeoutInSecond":1,"RetryCount":1}
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>