Topic "How to send current days files only without creating sub-directories on receivers server"

Author Message
LoancareHD
[View user's profile]

Joined: 2015-09-02
Posts: 2
Location: Tidewater Virginia
Need to know how to send most recent files in directories and sub-directories to a receivers server without creating the additional sub-directories.

For example, I have files in 2014\reports and then 2014\reports\1, 2014\reports\2, etc. I want to send these to the receivers /import/reports folder. I don't want the 2014\reports\1, 2014\reports\2 folders create on their end, just the files transferred.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
There's no simple solution for this.

You can write a PowerShell script that iterates the local files and uploads them.
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