HelpWizard Pages Protocols FTP/en: Unterschied zwischen den Versionen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
Zeile 12: | Zeile 12: | ||
<!-- notice the special (invalid) URL below, which is detected by the help wizard but ignored by browsers --> |
<!-- notice the special (invalid) URL below, which is detected by the help wizard but ignored by browsers --> |
||
As a first example, create a new compound action, and drag (or copy-paste) the |
As a first example, create a new compound action, and drag (or copy-paste) the |
||
<span class="plainlinks"> "[http://:expecco/navigateSplit/*FTP*Connect* <CODE>FTP [Connect]</CODE>" action block] |
<span class="plainlinks"> "[http://:expecco/navigateSplit/*FTP*Connect* <CODE>FTP [ Connect ]</CODE>" action block]</span> |
||
from the standard library into it (you will find it easily via the tree's "Search" tab, where you can type "<CODE>ftp</CODE>" into its text field). |
from the standard library into it (you will find it easily via the tree's "Search" tab, where you can type "<CODE>ftp</CODE>" into its text field). |
||
Zeile 19: | Zeile 19: | ||
Also provide a value for the hostname input pin (eg. as "ftp.somehost.org"). |
Also provide a value for the hostname input pin (eg. as "ftp.somehost.org"). |
||
Then add an "FTP [ Close |
Then add an "<span class="plainlinks"> "[http://:expecco/navigateSplit/*FTP*Close* <CODE>FTP [ Close ]</CODE>" action </span> to the diagram and connect the "ftp-link" output from the connect action to the corresponding input pin of the close action. |
||
<br>(click the right arrow to see the resulting diagram) |
<br>(click the right arrow to see the resulting diagram) |
||
Version vom 23. März 2022, 16:49 Uhr
Protocols - FTP
FTP access can be implemented in two ways:
- by setting up a connection, issuing multiple requests (Get, Put or List) and then closing the connection.
- by using one of the combined Get/Put actions
The first scheme is better if you have to perform multiple operations against the ftp server. The combined actions are better if a single file or a small number of files are to be transferred.
As a first example, create a new compound action, and drag (or copy-paste) the
"FTP [ Connect ]
" action block
from the standard library into it (you will find it easily via the tree's "Search" tab, where you can type "ftp
" into its text field).
Freeze the "user" and "password" input pins (by double clicking on the pin); most public ftp servers will accept "guest" as user and "anonymous" as password.
Also provide a value for the hostname input pin (eg. as "ftp.somehost.org").
Then add an " "[http://:expecco/navigateSplit/*FTP*Close* FTP [ Close ]
" action to the diagram and connect the "ftp-link" output from the connect action to the corresponding input pin of the close action.
(click the right arrow to see the resulting diagram)