How to execute the following batch file which has winscp commands

Advertisement

adarshsm
Joined:
Posts:
1
Location:
Mangalore

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
32,114
Location:
Prague, Czechia

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?

Reply with quote

Advertisement

You can post new topics in this forum