f_string_array | public subroutine f_string_array (string arg_string, ref string arg_arr[], string arg_separator) |
public function long ftp_changedir (string dir) | Change to another directory on the ftp server |
public function long ftp_connect (string server, long port, string user, string pwd) | Connect to a ftp server
server: IP or hostname of the server to connect to
port: Port number the server is listening on
user: Account name to login as
pwd: Password for the account specified |
public function integer ftp_directorylist (ref s_ftp arr[]) | List of directories |
public function long ftp_disconnect () | Closes all connections to the ftp server |
public function long ftp_dodownload (ref long perc, ref long size) | Download |
public function long ftp_doupload (ref long perc, ref long size) | Upload |
ftp_download | Opens a file for download
remote_filename: The name of the file on the FTP server
local_filename: The name of the file to save as (Can include path to file)
resume: > 0 attempt resume if exists
|
public function integer ftp_filelist (ref s_ftp arr[]) | public function integer ftp_filelist (ref s_ftp arr[]) |
public function string ftp_geterror () | public function string ftp_geterror () |
public function string ftp_getfiledate (string filename) | String with the DateTime of the Input FileName |
public function long ftp_getfilesize (string filename) | Get the size of the file specified by filename |
public function string ftp_getworkingdirectory () | public function string ftp_getworkingdirectory () |
public function boolean ftp_isconnected () | public function boolean ftp_isconnected () |
public function long ftp_list (ref s_ftp arr[]) | |
public function long ftp_makedir (string dir) | Create a directory on the ftp server |
public function long ftp_opendownload (string remote_filename, string local_filename, long resume) | Open a file for download
remote_filename: The name of the file on the FTP server
local_filename: The name of the file to save as (Can include path to file)
resume: > 0 attempt resume if exists
|
public function long ftp_openupload (string filename, string remote_filename, long resume) | Open an upload with resume support
filename: Local file to upload (include path to file)
remote_filename: Filename to store file as on ftp server
resume: > 0 attempt resume if exists
|
public function long ftp_removedir (string dir) | Remove a directory from the ftp server |
public function long ftp_removefile (string filename) | Remove a file from the ftp server |
public function long ftp_upload (string filename, long resume) | Open an upload with resume support
filename: Local file to upload (include path to file)
remote_filename: Filename to store file as on ftp server
resume: > 0 attempt resume if exists
|
public function string getdirectoryname (string rootfolder) | Download |