Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

without name

Ok. I use in script file:
option batch continue
option confirm off
it is help.
martin

Re: All files upload form current directory only

without name wrote:

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.

I'm afraid that WinSCP cannot do that easily. Maybe in next version :-)
You may use "call rm *" as workaround.
without name

Re: All files upload form current directory only

Thank You very much, this is work, but in this case i can use script file. 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.
martin

Re: All files upload form current directory only

I hope that "option exclude */" should exclude all subdirectories.
without name

All files upload form current directory only

Hi,
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.
Thanks.