HelpWizard Pages Protocols FTP/en: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<strong>Protocols - FTP</strong>
<strong>Protocols - File Transfer with FTP</strong>


[[Datei:arrowleft.png|link=HelpWizard_Pages_Start Protocols/en|back]]
[[Datei:arrowleft.png|link=HelpWizard_Pages_Start Protocols/en|back]]
[[Datei:arrowright.png|link=HelpWizard Pages Protocols FTP2/en|next]]
[[Datei:arrowright.png|link=HelpWizard Pages Protocols FTP2/en|next]]


FTP access can be implemented in two ways:
[[Glossary#FTP|FTP]]<span> </span> 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 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
* by using one of the combined Get/Put actions
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<span> </span>
As a first example, create a new compound action, and drag (or copy-paste) the<span> </span>
<span class="plainlinks"> "[http://:expecco/navigateSplit/*FTP*Connect* <CODE>FTP [Connect&#93;</CODE>"]</span> action block&nbsp;
<span class="plainlinks"> "[http://:expecco/navigateSplit/*FTP*Connect* <CODE>FTP [Connect&#93;</CODE>"]</span> <span> </span>action block
&nbsp;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).


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.
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.
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> </span><span class="plainlinks"> "[http://:expecco/navigateSplit/*FTP*Close* <CODE>FTP [Close&#93;</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&#93;</CODE>"]</span><span> </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)



Aktuelle Version vom 23. März 2022, 16:59 Uhr

Protocols - File Transfer with FTP

back next

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)



Copyright © 2014-2024 eXept Software AG