Topic "Selective file copy does not walk down the folders"

Author Message

Hello, I am trying to download the "index.php" file from all folders of my web server. I setup a custom Transfer Setting, mentioning "Include" rule with "index.php" file.

When I am trying to copy the folders with that transfer setting enabled, it copies the index.php only from the current folder, but does not attempt to walk down any subfolders.

Is there a way to make it do the copy from subfolders too?

Thank you
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26858
Location: Prague, Czechia
You have to explicitly include all directories:
*/; index.php

Please read:
Martin Prikryl

Martin, that's ingenious, but not obvious! Thanks for the tip. +1 to WinSCP, no other FTP client can do that trick.

You can post new topics in this forum


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