Product Logo

FTPit Pro

Transfer files to and from an FTP server

Functions
FunctionFTPit_AddAccount
FunctionFTPit_Configure
FunctionFTPit_ConfigureAccount
FunctionFTPit_Connect
FunctionFTPit_Disconnect
FunctionFTPit_DownloadDir
FunctionFTPit_DownloadFile
FunctionFTPit_DownloadText
FunctionFTPit_ExportContainer
FunctionFTPit_GetAccountNames
FunctionFTPit_GetAccountOption
FunctionFTPit_GetLastResult
FunctionFTPit_GetQueueList
FunctionFTPit_ImportContainer
FunctionFTPit_IsConnected
FunctionFTPit_LocalChangeDir
FunctionFTPit_LocalChangeDirUp
FunctionFTPit_LocalCopyFile
FunctionFTPit_LocalCurrentDir
FunctionFTPit_LocalDeleteDir
FunctionFTPit_LocalDeleteFile
FunctionFTPit_LocalDirExists
FunctionFTPit_LocalFileExists
FunctionFTPit_LocalFileSize
FunctionFTPit_LocalFileTimestamp
FunctionFTPit_LocalListCount
FunctionFTPit_LocalListItem
FunctionFTPit_LocalMakeDir
FunctionFTPit_LocalMoveFile
FunctionFTPit_LocalPath
FunctionFTPit_LocalReadFile
FunctionFTPit_LocalRenameDir
FunctionFTPit_LocalRenameFile
FunctionFTPit_LocalSelectDirWithDialog
FunctionFTPit_LocalSelectFileWithDialog
FunctionFTPit_LocalWriteFile
FunctionFTPit_QuickDownload
FunctionFTPit_QuickUpload
FunctionFTPit_Register
FunctionFTPit_RemoteChangeDir
FunctionFTPit_RemoteChangeDirUp
FunctionFTPit_RemoteCurrentDir
FunctionFTPit_RemoteDeleteDir
FunctionFTPit_RemoteDeleteFile
FunctionFTPit_RemoteDirExists
FunctionFTPit_RemoteFileExists
FunctionFTPit_RemoteFileSize
FunctionFTPit_RemoteFileTimestamp
FunctionFTPit_RemoteListCount
FunctionFTPit_RemoteListItem
FunctionFTPit_RemoteMakeDir
FunctionFTPit_RemoteRenameDir
FunctionFTPit_RemoteRenameFile
FunctionFTPit_RemoteSendCommand
FunctionFTPit_RemoveAccount
FunctionFTPit_SetAccountOption
FunctionFTPit_StatusWindow
FunctionFTPit_UploadDir
FunctionFTPit_UploadFile
FunctionFTPit_UploadText
FunctionFTPit_Version
FunctionFTPit_VersionNumber

FTPit_UploadDir

NameFTPit_UploadDir
Description

The UploadDir function will upload a complete directory of files from your computer to an FTP server. If the “Recursive” parameter is set to True, it will also upload all subdirectories. The “Wildcard” parameter allows you to only upload certain files. (For instance, you could upload all HTML files in a directory by specifying “*.htm*”.)

Return TypeText
FormatFTPit_UploadDir ( LocalDir ; Recursive ; Wildcard ; CompletedScript ; UseASCIIMode ; CSParameter )
Optional Parameters
LocalDir

The Local Directory to Upload. (Can be a Full Path, a Relative Path, or a Directory Name in the Current Local Directory; Default is the Current Local Directory.)

Recursive

If True, this function will also upload all subdirectories of the Remote Directory. (Default is False.)

Wildcard

Defines a File Name Pattern to match when looking for Files to Upload. (eg. “*.txt” would upload all files with a “txt” file extension; Default is to upload all files.)

CompletedScript

The Name of a Script to call when the Upload is Completed. (If blank, this function will wait until the Upload is Complete before returning; Default is blank.)

UseASCIIMode

If True, this function will Upload the files using ASCII Mode instead of Binary Mode. (Default is False.)

CSParameter

The parameter to send to the completed script.