FTPFileDownload¶
- MacroModule¶
genre
author
Wolf Spindler
package
definition
see also
keywords
Purpose¶
FTPFileDownload downloads a file from an ftp site.
Details¶
Troublehsooting
If you receive timeouts as exception messages in the console, then you may want to try a higher Timeout, especially if you really suspect a slow connection as reason.
Otherwise, if all parameters look fine, and especially if the example network has the same error, then you may want to check whether connections using the ftp protocol might be blocked on you system. Check whether proxy and firewall allow usage of ftp downloads or contact your IT.
Windows¶
Default Panel¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Full Url¶
- name: fullUrl, type: String¶
A full url to anf ftp file can be specified here can here, and then decomposed with
Decompose Urlto fillFtp Server,Ftp Directory, andFtp Fileautomatically.Full Urlis not used directly; it can be left empty or undefined ifFtp Server,Ftp Directory, andFtp Fileare set up otherwise.
Decompose Url¶
- name: decomposeUrl, type: Trigger¶
Decomposes
Full UrlintoFtp Server,Ftp Directory, andFtp File; seeFull Urlfor details.
Ftp Server¶
- name: ftpServer, type: String¶
The ftp server to download from.
Ftp Directory¶
- name: ftpDirectory, type: String¶
The directory on
Ftp Serverin which the file to download is located.
Ftp File¶
- name: ftpFile, type: String¶
The ftp file to download from directory
Ftp DirectoryonFtp Server.
User Name¶
- name: userName, type: String¶
Can be left empty if
Ftp Serverdoes not require credentials for the connection, otherwise fill in the needed user name.
Password¶
- name: password, type: String¶
Can be left empty if
Ftp Serverdoes not require credentials for the download connection, otherwise fill in the needed password.
Target Directory¶
- name: targetDirectory, type: String¶
The directory into which the downloaded
Target File Nameshall be stored.
Target File Name¶
- name: targetFileName, type: String¶
The file name to be used for the downloaded file, and which is to be stored in
Target Directory.
Full Target File Name¶
- name: fullTargetFileName, type: String¶
Displays the full path of the file to be stored.
Timeout¶
- name: timeout, type: Integer, default: 3, minimum: 1¶
The number of seconds to wait for slower connections.
Download¶
- name: download, type: Trigger¶
Starts a download if all fields are set up appropriately.
Stop¶
- name: stop, type: Trigger¶
Stops a download if one is active; the field is insensitive if no download is ongoing.
Status¶
- name: status, type: String, persistent: no¶
Shows status information about the current download process.