PLBFTP_USER Keyword
10.4
PLBFTP_USER_{username}={password},{permissions}[,{path}]
This keyword defines a user name, password, permissions, and optional path for accessing the PWS FTP Server.
These keywords can be added, modified, or removed real time without having to restart the PWS server. This gives a dynamic mode of usage when managing FTP users who can access the PWS FTP Server.
Where:
Note:
1. The {permission} control characters are defined as follows:
|
Character |
Allows ... |
|
D |
the download of files to the FTP client. |
|
L |
a list of files to be sent to the FTP client. |
|
R |
rename and remove of files at the PWS FTP Server. |
|
U |
upload of files to the server. |
|
P |
path change path at the server. |
|
M |
ake or remove of directories at the server. |
2. The {password} is a SHA-1 hashed string of twenty (20) bytes provided as forty (40) hexadecimal characters. See this link to get SHA-1 Hash encrypted string:
https://md5decrypt.net/en/Sha1/
This is an example of PL/B code that creates the.forty (40) character hexadecimal string for the {password}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HashHex=8BE3C943B1609FFFBFC51AAD666D0A04ADF83C9D
3. This is an example for a user named 'Test' with a password of 'Password':
In this case, the user named 'TEST' with a password of 'Password' has permissions to download files and list files when accessing a PWS FTP Server.
See Also: PLBWEBSRV Keywords, Server Command Line
![]() |