I`m using command "echo put C:\myfiles\*.* /root/ | winscp3.com root@mysshserver". And all files, including subdirectories copying on server. How can i copy files only from C:\myfiles\ directory, exclude any subdirectories.
I'm afraid that WinSCP cannot do that easily. Maybe in next version :-)Another question: how can i delete files without subfolder (i use in script: option exclude */;
rm /root/transfer/*.*)? Winscp try delete folder /root/transfer/aaa, and they get error: "Error deleleting file '/root/transfer/aaa'. General failure..." etc.
You can post new topics in this forum