File Management

The File Transfer control can be used to manage remote files when connected to an FTP server. File name syntax must be that of the remote system.

Change Directory

The ChangeDirectory method changes the current working directory on the remote server.

FileTransfer1.ChangeDirectory "/user/myDirectory"

Create Directory

The MakeDirectory method creates a new directory on the remote FTP host.

FileTransfer1.MakeDirectory "/user/myNewDirectory"

Remove Directory

The RemoveDirectory method removes a directory on the remote FTP server.

FileTransfer1.RemoveDirectory "/user/myUnwantedDirectory"

Delete File

The DeleteFile method deletes an existing file from the remote FTP server.

FileTransfer1.DeleteFile "myFile"

Rename File

The RenameFile method changes the name of an existing file on the FTP server.

FileTransfer1.RenameFile "OldName", "NewName"


Copyright © 2008 Catalyst Development Corporation. All rights reserved.