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.

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)


Topic review


"put *.xlsx -filemask=*>=15m" ^

Thank you very much! It really helped me! Now i need to put all files which has been updated/changed last 15 minutes but if they have same name they must be replaced by new.I mean there are files with same name on my computer and on comuputer which I should put it. I've put it and after changed it. And when i'll start a programm again he will put him again but replace by new version. There should be not 2 files (old and new) but only new. I've found this one: put -filemask="*>=1D" *
I need to put *.xlsx files. Can u show me please how it will be correctly written that it worked. I've wrote like this: "put *.xlsx" -filemask="*>=15m" ^. Is it right?

Appreciated for help!

Still waiting for help. I'm not a coder so i really need help with this problem.

Automatic acceptance of a TLS (self-signed) certificate

Hello! I'm trying to connect to ftp server using command prompt. When I connect it requires to accept certificate manually (press (Y),(N) or (C)copy key ). I need it to be accepted automatically without my participation. I've read some topics about that and saw such commands as "certificate-*" etc. But I can't do that automatically. Here is my code:

@echo off

"C:\Program Files (x86)\WinSCP\" ^
/log="C:\Users\skolnieks\Desktop\WinSCP.log" /ini=nul ^
/command "open ftpes://user1:12345@" ^
"lcd C:\Users\skolnieks\Desktop" ^
"cd /" ^
"put *.xlsx" ^


if %WINSCP_RESULT% equ 0 (
echo Success
) else (
echo Error