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:
@@ -31,10 +31,10 @@ FTP Command: `SIZE`
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Host = "172.33.0.10";
|
||||
Port = "21";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Host = FunctionParameters["FTP_IP"];
|
||||
Port = FunctionParameters["FTP_Port"];
|
||||
Login = FunctionParameters["FTP_User"];
|
||||
Password = FunctionParameters["FTP_Password"];
|
||||
|
||||
UseProxy = True;
|
||||
FTPS = True;
|
||||
@@ -46,12 +46,12 @@ FTP Command: `SIZE`
|
||||
|
||||
If UseProxy Then
|
||||
|
||||
ProxyType = "http"; // http, socks5, socks4
|
||||
ProxyType = FunctionParameters["Proxy_Type"]; // http, socks5, socks4
|
||||
|
||||
ProxyAddress = "127.0.0.1";
|
||||
ProxyPort = "8071";
|
||||
ProxyLogin = "proxyuser";
|
||||
ProxyPassword = "12we...";
|
||||
ProxyAddress = FunctionParameters["Proxy_IP"];
|
||||
ProxyPort = FunctionParameters["Proxy_Port"];
|
||||
ProxyLogin = FunctionParameters["Proxy_User"];
|
||||
ProxyPassword = FunctionParameters["Proxy_Password"];
|
||||
|
||||
ProxySettings = OPI_FTP.GetProxySettings(ProxyAddress, ProxyPort, ProxyType, ProxyLogin, ProxyPassword);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user