+
Skip to content

Copy-WinSCPItem fails with null path #157

@krylon

Description

@krylon

Please fill in the following fields:

Issue Description

Copy-WinSCPItem fails when attempting to copy a file

Example

Copy-WinSCPItem -Path /tmp/test1.txt -Destination /tmp/test2.txt

Expected Output

A copy of /tmp/test1.txt is made and written to /tmp/test2.txt

Actual Output

Cannot bind argument to parameter 'Path' because it is null.

WinSCP-PowerShell Version

6.1.2.0

Environment

Windows 10
PowerShell 5.1
WinSCP session is SCP
Session option also includes SSHhoskeypolicy = 'AcceptNew'

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载