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

martin

Re: How to execute the following batch file which has winscp commands

I do not understand your question.
The script looks good.
do you have any problem with it?
adarshsm

How to execute the following batch file which has winscp commands

winscp.com /ini=nul /log=ftp.log /command ^

    "open ftp://username:password@ftp.example.com/" ^
    "rm /remote/path/*<15D" ^
    "exit"

I want to know how to execute the above batch file such that I can delete the files that are older than 15 days in FTP.
I want a step-wise process that should be followed in here to do the same as I am new in this area.
Can anyone guide me on the same