Plugin FTP
With this wiki plugin, introduced with Tiki3, create a button for downloading a file from an ftp server.
Prerequisite
The PHP ftp
extension needs to be enabled for this plugin to work.
Parameters
Create a button for downloading a file from an FTP serverIntroduced in Tiki 3. Required parameters are in
bold
.Go to the source code
Preferences required: wikiplugin_ftp
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
(body of plugin) | File name on the server | |||
password |
text | Password for the FTP account | 3.0 | |
server |
text | Name of the server for the FTP account. Example: ftp.myserver.com |
3.0 | |
user |
username | Username for the FTP account | 3.0 | |
title |
text | Label for the FTP download button | 3.0 | |
ftpMode |
passive active |
Defines how data connections are initiated. Please use the passive mode to avoid data connections errors in case the client is behind firewall. | passive | 26.0 |
Basic Syntax
Copy to clipboard
{FTP(server="ftp.myserver.com" user="myuser" password="mypassword")}test.txt{FTP}
The data of the plugin contains the file name on the server.