Topic ".bat file for windows to transfer folders through WinSCP"

Author Message
NAV.S.

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
You have to put the commands to WinSCP script file, not to .bat file.
See FAQ and documentation.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License