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: .bat file for windows to transfer folders through WinSCP

You have to put the commands to WinSCP script file, not to .bat file.
See FAQ and documentation.
NAV.S.

.bat file for windows to transfer folders through WinSCP

Hi,

I want to make a batch file through which i can transfer some of the directories(allowing only newer files to transferred) from the local windows machine to a Linux FTP server.

I made a bat file as following

cd "Path to the Directories"
winscp usrname:password@IP:port number


Using this batch files we are logged on the FTP directory, but if i pass anyother
command in this batch file it does'nt works.