Forum «BizCrypto» - EldoS Corporation
For Software Developers
For Business Integrators
Callback File System
SolFS (Solid File System)
SFTP Net Drive
Time to Rest
My Control Center
Config for SFTP Command Task
Also by EldoS Corporation:
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Basic support level
I need to Copy and Delete files on remote SFTP server and am struggling to get this to work.
In a folder called "/outgoing" on the remote server there can be any number of files of any type. I download the files successfully. Now I want to copy the files to "/outgoing/archive" folder and then delete all the files in "/outgoing". I dont know what the file names are at runtime.
1. I created BizCrypto SFTP Command Task
2. I added a "CopyFile" action to the Actions collection
3. I created variables called "varRemotePath" and "varRemoteArchivePath"
4. I set the variables see below
varRemotePath = "/outgoing/*.*"
varRemoteArchivePath = /outgoing/archive/*.*
BUT this does not seem to work. I keep getting -> "Error: 0x0 at BizCrypto SFTP Command Task, SFTP Command Task: The SFTP command failed to execute: Operation unsupported"
Can you please tell me how to configure to the command to copy all files from one folder to another OR do you have example code or screen shot on-line.
Back to top
Thank you for contacting us.
Remote copy command is not supported by most SFTP servers, as it has only been introduced in SFTP version 5. Please try to use the Rename command instead, providing old and new names for the files to be moved.
Back to top
Topic viewed 574 times
Number of guests:
, registered members:
, in total hidden:
Copyright (c) 1998-2013, EldoS Corporation