Topic "Get with wildcard also tranferring files from subdirectories"

Author Message
[View user's profile]

Joined: 2013-10-08
Posts: 1
Location: New Jersey, USA
I have a scripth that is set to download all files from a directory on an FTP server. It is also getting all of the files from a subdirectory in that folder. Why is this?

It is a fairly simple script. See below.

option batch on
option confirm off
open GDTFactura
option transfer binary
get *.* c:\reports\factura\input\
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
All WinSCP file transfer commands are recursive.

To avoid that see:
Martin Prikryl

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