Table of Contents

Class LocalPaths

Namespace
FluentFTP.Helpers
Assembly
FluentFTP.dll

Extension methods related to FTP tasks

public static class LocalPaths
Inheritance
LocalPaths
Inherited Members

Methods

CombineLocalPath(string, string)

Combine the given base path with the relative path

public static string CombineLocalPath(this string path, string fileOrFolder)

Parameters

path string
fileOrFolder string

Returns

string

EnsureDirectory(string)

Ensures the given directory exists.

public static bool EnsureDirectory(this string localPath)

Parameters

localPath string

Returns

bool

IsLocalFolderPath(string)

Returns true if the given path is a directory path.

public static bool IsLocalFolderPath(string localPath)

Parameters

localPath string

Returns

bool