Creating a Local Folder (CreateLocalFolder)

Use the CreateLocalFolder method to create a new folder (directory) on your local hard drive.

Syntax

Object.CreateLocalFolder(BSTR strName)

Parameters

BstrName

This contains the folder's relative or absolute path.

Example

Set MySite = CreateObject("CuteFTPPro.TEConnection")

MySite.CreateLocalFolder "c:\temp\New Folder"

'now check to see if it was created

MySite.LocalFolder = "c:\temp\New Folder"

currentdir = MySite.LocalFolder

MsgBox currentdir