You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -71,6 +71,24 @@ import TabItem from '@theme/TabItem';
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint ftp ВыполнитьПроизвольнуюКоманду \
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}" \
|
||||
--cmd "PWD"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint ftp ВыполнитьПроизвольнуюКоманду ^
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}" ^
|
||||
--cmd "PWD"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
|
||||
@@ -77,6 +77,24 @@ import TabItem from '@theme/TabItem';
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint ftp ВыполнитьНестандартнуюКоманду \
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}" \
|
||||
--cmd "UMASK"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint ftp ВыполнитьНестандартнуюКоманду ^
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}" ^
|
||||
--cmd "UMASK"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
|
||||
@@ -74,18 +74,14 @@ import TabItem from '@theme/TabItem';
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint ftp ПолучитьКонфигурациюСоединения \
|
||||
--set "{'domain':'172.33.0.11','port':'21','passive':true,'read_timeout':'120','write_timeout':'120','advanced_resolve':true,'login':'bayselonarrend','password':'***'}" \
|
||||
--proxy "{'server':'127.0.0.1','port':'1080','proxy_type':'socks5','login':'proxyuser','password':'***'}" \
|
||||
--tls "{'use_tls':true,'accept_invalid_certs':true}"
|
||||
--set "{'domain':'127.0.0.1','port':'21','passive':true,'read_timeout':'120','write_timeout':'120','advanced_resolve':true,'login':'bayselonarrend','password':'***'}"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint ftp ПолучитьКонфигурациюСоединения ^
|
||||
--set "{'domain':'172.33.0.11','port':'21','passive':true,'read_timeout':'120','write_timeout':'120','advanced_resolve':true,'login':'bayselonarrend','password':'***'}" ^
|
||||
--proxy "{'server':'127.0.0.1','port':'1080','proxy_type':'socks5','login':'proxyuser','password':'***'}" ^
|
||||
--tls "{'use_tls':true,'accept_invalid_certs':true}"
|
||||
--set "{'domain':'127.0.0.1','port':'21','passive':true,'read_timeout':'120','write_timeout':'120','advanced_resolve':true,'login':'bayselonarrend','password':'***'}"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
@@ -52,7 +52,7 @@ import TabItem from '@theme/TabItem';
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint ftp ПолучитьНастройкиСоединения \
|
||||
--host "172.33.0.11" \
|
||||
--host "127.0.0.1" \
|
||||
--port 21 \
|
||||
--login "bayselonarrend" \
|
||||
--pass "***"
|
||||
@@ -62,7 +62,7 @@ import TabItem from '@theme/TabItem';
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint ftp ПолучитьНастройкиСоединения ^
|
||||
--host "172.33.0.11" ^
|
||||
--host "127.0.0.1" ^
|
||||
--port 21 ^
|
||||
--login "bayselonarrend" ^
|
||||
--pass "***"
|
||||
|
||||
@@ -77,7 +77,7 @@ import TabItem from '@theme/TabItem';
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint ftp ПолучитьРазмерОбъекта \
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'172.33.0.11','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'},'tls':{'accept_invalid_certs':true,'ca_cert_path':null,'use_tls':true},'proxy':{'login':'proxyuser','password':'***','port':'1080','proxy_type':'socks5','server':'127.0.0.1'}}" \
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}" \
|
||||
--path "new_dir/big.bin"
|
||||
```
|
||||
</TabItem>
|
||||
@@ -85,7 +85,7 @@ import TabItem from '@theme/TabItem';
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint ftp ПолучитьРазмерОбъекта ^
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'172.33.0.11','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'},'tls':{'accept_invalid_certs':true,'ca_cert_path':null,'use_tls':true},'proxy':{'login':'proxyuser','password':'***','port':'1080','proxy_type':'socks5','server':'127.0.0.1'}}" ^
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}" ^
|
||||
--path "new_dir/big.bin"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
@@ -71,6 +71,22 @@ import TabItem from '@theme/TabItem';
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint ftp ПолучитьСписокРасширенийПротокола \
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint ftp ПолучитьСписокРасширенийПротокола ^
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
|
||||
@@ -72,14 +72,14 @@ import TabItem from '@theme/TabItem';
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint ftp ПолучитьПриветственноеСообщение \
|
||||
--conn "{'set':{'domain':'172.33.0.11','port':'21','passive':true,'read_timeout':'120','write_timeout':'120','advanced_resolve':true,'login':'bayselonarrend','password':'***'},'proxy':{'server':'127.0.0.1','port':'1080','proxy_type':'socks5','login':'proxyuser','password':'***'},'tls':{'use_tls':true,'accept_invalid_certs':true}}"
|
||||
--conn "{'set':{'domain':'127.0.0.1','port':'21','passive':true,'read_timeout':'120','write_timeout':'120','advanced_resolve':true,'login':'bayselonarrend','password':'***'}}"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint ftp ПолучитьПриветственноеСообщение ^
|
||||
--conn "{'set':{'domain':'172.33.0.11','port':'21','passive':true,'read_timeout':'120','write_timeout':'120','advanced_resolve':true,'login':'bayselonarrend','password':'***'},'proxy':{'server':'127.0.0.1','port':'1080','proxy_type':'socks5','login':'proxyuser','password':'***'},'tls':{'use_tls':true,'accept_invalid_certs':true}}"
|
||||
--conn "{'set':{'domain':'127.0.0.1','port':'21','passive':true,'read_timeout':'120','write_timeout':'120','advanced_resolve':true,'login':'bayselonarrend','password':'***'}}"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
16
docs/ru/md/FTP/Common-methods/Ping.mdx
vendored
16
docs/ru/md/FTP/Common-methods/Ping.mdx
vendored
@@ -71,6 +71,22 @@ import TabItem from '@theme/TabItem';
|
||||
```
|
||||
|
||||
|
||||
<Tabs>
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint ftp Пинг \
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint ftp Пинг ^
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
|
||||
@@ -80,7 +80,7 @@ import TabItem from '@theme/TabItem';
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint ftp ИзменитьПуть \
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'172.33.0.11','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'},'tls':{'accept_invalid_certs':true,'ca_cert_path':null,'use_tls':true},'proxy':{'login':'proxyuser','password':'***','port':'1080','proxy_type':'socks5','server':'127.0.0.1'}}" \
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}" \
|
||||
--old "new_dir/giant.bin" \
|
||||
--new "new_dir/big.bin"
|
||||
```
|
||||
@@ -89,7 +89,7 @@ import TabItem from '@theme/TabItem';
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint ftp ИзменитьПуть ^
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'172.33.0.11','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'},'tls':{'accept_invalid_certs':true,'ca_cert_path':null,'use_tls':true},'proxy':{'login':'proxyuser','password':'***','port':'1080','proxy_type':'socks5','server':'127.0.0.1'}}" ^
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}" ^
|
||||
--old "new_dir/giant.bin" ^
|
||||
--new "new_dir/big.bin"
|
||||
```
|
||||
|
||||
@@ -72,27 +72,15 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
# JSON данные также могут быть переданы как путь к файлу .json
|
||||
|
||||
oint ftp ОчиститьДиректорию \
|
||||
--set "{'domain':'172.33.0.11','port':'21','passive':'***','read_timeout':'120','write_timeout':'120','advanced_resolve':'True','login':'bayselonarrend','password':'***'}" \
|
||||
--proxy "{'server':'127.0.0.1','port':'1080','proxy_type':'socks5','login':'proxyuser','password':'***'}" \
|
||||
--tls "{'use_tls':'True','accept_invalid_certs':'True'}" \
|
||||
--conn "{'set':{'domain':'172.33.0.11','port':'21','passive':'***','read_timeout':'120','write_timeout':'120','advanced_resolve':'True','login':'bayselonarrend','password':'***'},'proxy':{'server':'127.0.0.1','port':'1080','proxy_type':'socks5','login':'proxyuser','password':'***'},'tls':{'use_tls':'True','accept_invalid_certs':'True'}}" \
|
||||
--path "."
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
:: JSON данные также могут быть переданы как путь к файлу .json
|
||||
|
||||
oint ftp ОчиститьДиректорию ^
|
||||
--set "{'domain':'172.33.0.11','port':'21','passive':'***','read_timeout':'120','write_timeout':'120','advanced_resolve':'True','login':'bayselonarrend','password':'***'}" ^
|
||||
--proxy "{'server':'127.0.0.1','port':'1080','proxy_type':'socks5','login':'proxyuser','password':'***'}" ^
|
||||
--tls "{'use_tls':'True','accept_invalid_certs':'True'}" ^
|
||||
--conn "{'set':{'domain':'172.33.0.11','port':'21','passive':'***','read_timeout':'120','write_timeout':'120','advanced_resolve':'True','login':'bayselonarrend','password':'***'},'proxy':{'server':'127.0.0.1','port':'1080','proxy_type':'socks5','login':'proxyuser','password':'***'},'tls':{'use_tls':'True','accept_invalid_certs':'True'}}" ^
|
||||
--path "."
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
@@ -78,7 +78,7 @@ import TabItem from '@theme/TabItem';
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
oint ftp ПолучитьСписокОбъектов \
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'172.33.0.11','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'},'tls':{'accept_invalid_certs':true,'ca_cert_path':null,'use_tls':true},'proxy':{'login':'proxyuser','password':'***','port':'1080','proxy_type':'socks5','server':'127.0.0.1'}}" \
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}" \
|
||||
--path "." \
|
||||
--rcv true
|
||||
```
|
||||
@@ -87,7 +87,7 @@ import TabItem from '@theme/TabItem';
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
oint ftp ПолучитьСписокОбъектов ^
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'172.33.0.11','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'},'tls':{'accept_invalid_certs':true,'ca_cert_path':null,'use_tls':true},'proxy':{'login':'proxyuser','password':'***','port':'1080','proxy_type':'socks5','server':'127.0.0.1'}}" ^
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'127.0.0.1','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'}}" ^
|
||||
--path "." ^
|
||||
--rcv true
|
||||
```
|
||||
|
||||
@@ -94,6 +94,9 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```json title="Результат"
|
||||
{
|
||||
"result": true
|
||||
"result": true,
|
||||
"close_connection": {
|
||||
"result": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
25
docs/ru/md/FTP/File-management/Save-file.mdx
vendored
25
docs/ru/md/FTP/File-management/Save-file.mdx
vendored
@@ -82,29 +82,19 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
<TabItem value="bash" label="Bash" default>
|
||||
```bash
|
||||
# JSON данные также могут быть переданы как путь к файлу .json
|
||||
|
||||
oint ftp СохранитьФайл \
|
||||
--set "{'domain':'172.33.0.11','port':'21','passive':'***','read_timeout':'120','write_timeout':'120','advanced_resolve':'True','login':'bayselonarrend','password':'***'}" \
|
||||
--proxy "{'server':'127.0.0.1','port':'1080','proxy_type':'socks5','login':'proxyuser','password':'***'}" \
|
||||
--tls "{'use_tls':'True','accept_invalid_certs':'True'}" \
|
||||
--conn "{'set':{'domain':'172.33.0.11','port':'21','passive':'***','read_timeout':'120','write_timeout':'120','advanced_resolve':'True','login':'bayselonarrend','password':'***'},'proxy':{'server':'127.0.0.1','port':'1080','proxy_type':'socks5','login':'proxyuser','password':'***'},'tls':{'use_tls':'True','accept_invalid_certs':'True'}}" \
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'172.33.0.11','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'},'tls':{'accept_invalid_certs':true,'ca_cert_path':null,'use_tls':true},'proxy':{'login':'proxyuser','password':'***','port':'1080','proxy_type':'socks5','server':'127.0.0.1'}}" \
|
||||
--path "new_dir/big.bin" \
|
||||
--file "/tmp/rkdg1avi.4vz.bin"
|
||||
--file "/tmp/rrzfwedt.fmb.bin"
|
||||
```
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="bat" label="CMD/Bat" default>
|
||||
```batch
|
||||
:: JSON данные также могут быть переданы как путь к файлу .json
|
||||
|
||||
oint ftp СохранитьФайл ^
|
||||
--set "{'domain':'172.33.0.11','port':'21','passive':'***','read_timeout':'120','write_timeout':'120','advanced_resolve':'True','login':'bayselonarrend','password':'***'}" ^
|
||||
--proxy "{'server':'127.0.0.1','port':'1080','proxy_type':'socks5','login':'proxyuser','password':'***'}" ^
|
||||
--tls "{'use_tls':'True','accept_invalid_certs':'True'}" ^
|
||||
--conn "{'set':{'domain':'172.33.0.11','port':'21','passive':'***','read_timeout':'120','write_timeout':'120','advanced_resolve':'True','login':'bayselonarrend','password':'***'},'proxy':{'server':'127.0.0.1','port':'1080','proxy_type':'socks5','login':'proxyuser','password':'***'},'tls':{'use_tls':'True','accept_invalid_certs':'True'}}" ^
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'172.33.0.11','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'120','write_timeout':'120'},'tls':{'accept_invalid_certs':true,'ca_cert_path':null,'use_tls':true},'proxy':{'login':'proxyuser','password':'***','port':'1080','proxy_type':'socks5','server':'127.0.0.1'}}" ^
|
||||
--path "new_dir/big.bin" ^
|
||||
--file "/tmp/rkdg1avi.4vz.bin"
|
||||
--file "/tmp/rrzfwedt.fmb.bin"
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
@@ -113,7 +103,10 @@ import TabItem from '@theme/TabItem';
|
||||
```json title="Результат"
|
||||
{
|
||||
"bytes": 335944730,
|
||||
"filepath": "/tmp/oir5hsr4.vlm.bin",
|
||||
"result": true
|
||||
"filepath": "/tmp/rrzfwedt.fmb.bin",
|
||||
"result": true,
|
||||
"close_connection": {
|
||||
"result": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -88,7 +88,7 @@ import TabItem from '@theme/TabItem';
|
||||
```bash
|
||||
oint ftp ЗагрузитьФайл \
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'172.33.0.11','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'1000','write_timeout':'1000'},'tls':{'accept_invalid_certs':true,'ca_cert_path':null,'use_tls':true},'proxy':{'login':'proxyuser','password':'***','port':'1080','proxy_type':'socks5','server':'127.0.0.1'}}" \
|
||||
--file "/tmp/jqhbtpjz.ns0" \
|
||||
--file "/tmp/sbr00pj1.h04" \
|
||||
--path "new_dir/big.bin"
|
||||
```
|
||||
</TabItem>
|
||||
@@ -97,7 +97,7 @@ import TabItem from '@theme/TabItem';
|
||||
```batch
|
||||
oint ftp ЗагрузитьФайл ^
|
||||
--conn "{'set':{'advanced_resolve':true,'domain':'172.33.0.11','login':'bayselonarrend','passive':true,'password':'***','port':'21','read_timeout':'1000','write_timeout':'1000'},'tls':{'accept_invalid_certs':true,'ca_cert_path':null,'use_tls':true},'proxy':{'login':'proxyuser','password':'***','port':'1080','proxy_type':'socks5','server':'127.0.0.1'}}" ^
|
||||
--file "/tmp/jqhbtpjz.ns0" ^
|
||||
--file "/tmp/sbr00pj1.h04" ^
|
||||
--path "new_dir/big.bin"
|
||||
```
|
||||
</TabItem>
|
||||
@@ -107,6 +107,9 @@ import TabItem from '@theme/TabItem';
|
||||
```json title="Результат"
|
||||
{
|
||||
"bytes": 2114023,
|
||||
"result": true
|
||||
"result": true,
|
||||
"close_connection": {
|
||||
"result": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
17950
service/dictionaries/en.json
vendored
17950
service/dictionaries/en.json
vendored
File diff suppressed because it is too large
Load Diff
@@ -73,7 +73,7 @@ Function ExecuteTestCLI(Val Library, Val Method, Val Options, Val Record = True)
|
||||
|
||||
For Each Option In Options Do
|
||||
|
||||
If Option.Value = Undefined Or String(Option.Value) = "" Then
|
||||
If Option.Value = Undefined Then
|
||||
Continue;
|
||||
EndIf;
|
||||
|
||||
@@ -10841,7 +10841,11 @@ EndFunction
|
||||
|
||||
Function Check_FTP_Ping(Val Result, Val Option)
|
||||
|
||||
ExpectsThat(Result).Равно(True);
|
||||
If IsCLITest() Then
|
||||
ExpectsThat(Result).Равно(Lower("true"));
|
||||
Else
|
||||
ExpectsThat(Result).Равно(True);
|
||||
EndIf;
|
||||
|
||||
If StrFind(Option, "HTTP") Then
|
||||
OPI_Tools.Pause(5);
|
||||
|
||||
@@ -73,7 +73,7 @@ Function ExecuteTestCLI(Val Library, Val Method, Val Options, Val Record = True)
|
||||
|
||||
For Each Option In Options Do
|
||||
|
||||
If Option.Value = Undefined Or String(Option.Value) = "" Then
|
||||
If Option.Value = Undefined Then
|
||||
Continue;
|
||||
EndIf;
|
||||
|
||||
@@ -10841,7 +10841,11 @@ EndFunction
|
||||
|
||||
Function Check_FTP_Ping(Val Result, Val Option)
|
||||
|
||||
ExpectsThat(Result).Равно(True);
|
||||
If IsCLITest() Then
|
||||
ExpectsThat(Result).Равно(Lower("true"));
|
||||
Else
|
||||
ExpectsThat(Result).Равно(True);
|
||||
EndIf;
|
||||
|
||||
If StrFind(Option, "HTTP") Then
|
||||
OPI_Tools.Pause(5);
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
Для Каждого Опция Из Опции Цикл
|
||||
|
||||
Если Опция.Значение = Неопределено Или Строка(Опция.Значение) = "" Тогда
|
||||
Если Опция.Значение = Неопределено Тогда
|
||||
Продолжить;
|
||||
КонецЕсли;
|
||||
|
||||
@@ -10841,7 +10841,11 @@
|
||||
|
||||
Функция Проверка_FTP_Пинг(Знач Результат, Знач Вариант)
|
||||
|
||||
ОжидаетЧто(Результат).Равно(Истина);
|
||||
Если ЭтоТестCLI() Тогда
|
||||
ОжидаетЧто(Результат).Равно(нРег("true"));
|
||||
Иначе
|
||||
ОжидаетЧто(Результат).Равно(Истина);
|
||||
КонецЕсли;
|
||||
|
||||
Если СтрНайти(Вариант, "HTTP") Тогда
|
||||
OPI_Инструменты.Пауза(5);
|
||||
|
||||
Reference in New Issue
Block a user