Connect to the FTP server host with username and password.
If username and password are not specified, user
"anonymous" with no password is used. The returned FTP object
f represents the established FTP connection.
The list of actions for an FTP object are shown below. All functions require an FTP object as the first argument.
| Method | Description |
|---|---|
| ascii | Set transfer type to ascii |
| binary | Set transfer type to binary |
| cd | Change remote working directory |
| close | Close FTP connection |
| delete | Delete remote file |
| dir | List remote directory contents |
| mget | Download remote files |
| mkdir | Create remote directory |
| mput | Upload local files |
| rename | Rename remote file or directory |
| rmdir | Remove remote directory |
Package: octave