Skip to content

Commit bc0117f

Browse files
committed
2 parents 986f46b + 68c5ff6 commit bc0117f

File tree

4 files changed

+48
-0
lines changed

4 files changed

+48
-0
lines changed

FTP Directory Listing/README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# FTP Directory Listing
2+
3+
## Description
4+
5+
The "**FTP Directory Listing**" custom steps creates a table with the FTP directory contents, specified on the properties tab.
6+
7+
## SAS Viya Version Support
8+
9+
Created and tested on Viya 4, Stable 2023.01
10+
11+
## Important
12+
This custom step is created and tested for an FTP server installed on Linux.
13+
14+
## Typical usage
15+
If you have a requirement to retrieve files from an FTP server, this custom step can be a starting point of your implementation.
16+
17+
## User Interface
18+
19+
### Tab: Properties
20+
21+
![Properties](img/UI_Properties.PNG)
22+
- **FTP Host**: Specifiy the FTP host name or IP address. As you can see, this also can be a macro variable which can be defined, for example, in an initialization script.
23+
- **Directory**: Here you can enter the directory on the FTP server for which you want a directory listing. The default value is **/**. Please note that this value is case sensitive.
24+
- **File filter**: Here you can specify the file filter. The default value is **'*'**.
25+
- **Passive mode**: Specifies that a connection to the FTP server is passive.
26+
- **Debug Information**: Here you can set the debug option where the complete process is logged.
27+
- **User name**: Specifies the user name with which you want to connect to the FTP server.
28+
- **Password**: The password for the user name with which you want to connect to the FTP server. Note that here you can use a SAS encrypted password.
29+
30+
## Usage
31+
32+
Download the .step file, upload it into your environment and start using it, for example, as shown:
33+
34+
![Usage](img/Usage_01.PNG)
35+
36+
Note that the FTP host-, User name- and password settings are defined as macro variables in the initialization step.
37+
38+
## Output port
39+
40+
The output tables contains, after running the custom step, two columns, the directory name and the filename of the file(s) found on the FTP server.
41+
42+
![Result](img/Output_01.PNG)
43+
44+
## Change Log
45+
46+
Version 1.1 (14AUG2024): Published externally.
47+
48+
Version 1.0 (14APR2023): Initial version. Published internally.
19.2 KB
Loading
22.1 KB
Loading
12.6 KB
Loading

0 commit comments

Comments
 (0)