DuplicateFile method not working

Advertisement

dotps1
Contributor
Joined:
Posts:
20
Location:
United States

DuplicateFile method not working

Using FileZilla, and I cannot get DuplicateFile to work:

# Test.txt and Test.Dir both exist.
# after already connecting, and having the WinSCP.Session object already in a variable
$WinSCPSession.DuplicateFile(
     "/Test.txt", "/Test.Dir/Test.txt"
)

it returnes and error everytime:

Exception calling "DuplicateFile" with "2" argument(s): "Operation not supported."

not really sure what the deal is, does FileZilla not support this operation?
[/code]
_________________
https://github.com/dotps1

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum