FTPit Pro

Transfer files to and from an FTP server

<- Back to FTPit Pro function list

FTPit_ChangeLocalDir

Description

This function changes the "current" local directory to the path that you specify.

Return Type
Text
Format
FTPit_ChangeLocalDir ( Dir )
Required Parameters
  • Dir

    The Local Directory to Change to. (Can be a Full Path, a Relative Path, or a Directory Name in the Current Local Directory.)

Related Items
FTPit_ChangeLocalDirUp, FTPit_GetCurrentLocalDir, FTPit_LocalDirExists, FTPit_MakeLocalDir, FTPit_RemoveLocalDir
Examples

Example 1

Code:

FTPit_ChangeLocalDir("c:\myfiles")

Result:

Changes the current local directory to c:\myfiles

Example 2

Code:

FTPit_ChangeLocalDir("/Macintosh HD/myfiles")

Result:

Changes the current local directory to Macintosh HD/myfiles