ct_ftp
Module
Module Summary
Description
FTP client module (based on the ftp application).
Data Types
For target_name, see module ct.
Handle for a specific FTP connection, see module ct.
Exports
Types
Types
Types
Types
Opens an FTP connection and fetches a file from the remote host.
RemoteFile and LocalFile must be absolute paths.
The configuration file must be as for ct_ftp:put/3.
For target_name, see module ct.
See also ct:require/2.
Types
Types
Opens an FTP connection to the specified node.
You can open a connection for a particular Name and use the same name as reference for all following subsequent operations. If you want the connection to be associated with Handle instead (if you, for example, need to open multiple connections to a host), use Key, the configuration variable name, to specify the target. A connection without an associated target name can only be closed with the handle value.
For information on how to create a new Name, see ct:require/2.
For target_name, see module ct.
Types
Opens an FTP connection and sends a file to the remote host.
LocalFile and RemoteFile must be absolute paths.
For target_name, see module ct.
If the target host is a "special" node, the FTP address must be specified in the configuration file as follows:
{node,[{ftp,IpAddr}]}.
If the target host is something else, for example, a UNIX host, the configuration file must also include the username and password (both strings):
{unix,[{ftp,IpAddr}, {username,Username}, {password,Password}]}.
See also ct:require/2.