Topic "A simple Windows script. A simple list of commands."

Author Message


We've had 4 of our company's top programmers working for hours on this simple issue:

We can manually execute and connect to our ftp server and execute ls to list remote
files (so we KNOW this can work.)

We need 2 files.
1. A Windows .bat (batch) file
2. All the commands that will execute

But apparently there are many strange (and undocumented) rules about what you can (and can't) mix on the command line.

In which of the 2 files would we place each of these 5 lines? (We've tried every imaginable combination.)

(Apparently we MUST use /explicitssl, but then are forbidden from using /script.)
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26150
Location: Prague, Czechia
You should have started here:

Anyway: /script=script.txt

where the script.txt will contain:

open ftpes://

The ftpes standard for Explicit TLS. Though you can also use open -explicittls (explicitssl is deprecated).

The easiest is to have WinSCP generate the script for you:

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License