Skip to content

New WinSCPTransferResumeSupport

Thomas Malkewitz edited this page Aug 9, 2019 · 10 revisions

New-WinSCPTransferResumeSupport

SYNOPSIS

Configures automatic resume/transfer to temporary filename.

SYNTAX

New-WinSCPTransferResumeSupport [-Confirm] [-State <TransferResumeSupportState>] [-Threshold <Int32>] [-WhatIf]
 [<CommonParameters>]

DESCRIPTION

Configures automatic resume/transfer to temporary filename.

EXAMPLES

EXAMPLE 1

PS C:\> New-WinSCPTransferResumeSupport

  State Threshold
  ----- ---------
Default

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-State

Sets what files will be transferred with resume support/to temporary filename. Use TransferResumeSupportState.Default for built-in default (currently all files above 100 KB), TransferResumeSupportState.On for all files, TransferResumeSupportState.Off for no file (turn off) or TransferResumeSupportState.Smart.

Type: TransferResumeSupportState
Parameter Sets: (All)
Aliases:
Accepted values: Default, On, Off, Smart

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Threshold

Threshold (in KB) for TransferResumeSupportState.Smart mode. Setting the Threshold automatically sets the State to the TransferResumeSupportState.Smart.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

WinSCP.TransferResumeSupport

NOTES

RELATED LINKS

WinSCP reference