HelpWizard Pages Protocols FTP/en: Unterschied zwischen den Versionen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
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 <span class="plainlinks"> "[http://:expecco/navigateSplit/*FTP*Close* <CODE>FTP [Close]</CODE>"]</span> action to the diagram and connect the "ftp-link" output from the connect action to the corresponding input pin of the close action. |
Then add an<span> </span><span class="plainlinks"> "[http://:expecco/navigateSplit/*FTP*Close* <CODE>FTP [Close]</CODE>"]</span> action 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:53 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 "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)