Method and arguments |
Purpose |
sf_Register (seriallist) |
Prevents the demo dialog from coming up after purchase. |
version = sf_Version ( ) |
Returns the version number of the Xtra. |
sf_Send (host, directory,username, password,memberName or vListData, castlibName, remoteFileName, fileType, fileProperties, appendFlag, progressDialogFlag, progressDialogTitle) |
Exports a text member, sound member,image member, or vList member to a standalone file on an FTP server. |
sf_Send ("TODISK", localDirectoryPath,"", "",memberName or vListData, castlibName, fileName, fileType, fileProperties, appendFlag, saveDialogFlag, dialogText ) |
Exports a text member, sound member,image member, or vList member to a standalone file on the local hard drive. |
sf_SendFile (host, directory,username, password,localFilePath,remoteFileName,appendFlag, progressDialogFlag,progressDialogTitle)
|
Sends a file to an FTP server. |
filePath = sf_OpenFileDialog ( ) |
Returns the path to the selected local file. For use with sf_SendFile |
sf_GetFile (host, directory,username, password,localFilePath,remoteFileName, progressDialogFlag,progressDialogTitle) |
Retrieves a file from an FTP server |
filePath = sf_SaveFileDialog (defaultFileName) |
Returns the path to the file to save. For use with sf_GetFile |
sf_TransferStatus ( ) |
Returns the status of the current file transfer. |
sf_RequestFileList (host, directory,username, password) |
Requests a file listing from the remote FTP server. |
sf_FileListToLingoList (listType) |
Converts a file listing retrieved by sf_RequestFileList into a Lingo list. |
sf_CreateDirectory (host, directory, username, password, directoryNameToCreate) |
Creates a directory on the remote FTP server. |
sf_Disconnect ( ) |
Breaks the connection with the remote FTP server. |
Firewall / Proxy Methods |
sf_PassiveMode (onOrOffFlag) |
Determines whether the next file transfer or list request will be done using active or passive mode. |
sf_PortNumber (portNumber) |
Determines what port number the next file transfer or list request will use. |