TMS WebCopy

I need to transfer some files via sftp.

I see that sftp has been added to WebCopy.

I cannot locate any documentation for WebCopy

sFTP mode can be selected via WebCopy.Items[x].Protocol = wpsFTP

OK, but there is no documentation for WebCopy

There is a demo that shows the concept of how it works. Once the concept is understood, it should be all straightforward as it is mainly always the Protocl in the TWebCopyItem that determines what action happens.

I will take a lock at it.

I think I see how to use it to upload files.

Is there a way to get a list of the files in the remote directory?

wpFtpList is the command that does this for FTP.
At this moment, we do not have this for sFTP though.