ScpSettings.EnablePutFilesRemotePathWorkaround Property
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9147)
EnablePutFilesRemotePathWorkaround
Enables workaround for an SCP quirk. Makes Rebex.
Declaration
public bool EnablePutFilesRemotePathWorkaround { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
By default, when uploading a directory, the SCP server behavior differs depending on whether the target directory already exists or not: a) If it does, the source directory is uploaded as a subdirectory of the target directory. b) If it does not, the target directory is created and the contents of the source directory is uploaded.