Transfer within Remote Directory

Advertisement

dragonslayer53
Joined:
Posts:
1
Location:
Japan

Transfer within Remote Directory

Hi,
I am hoping someone can assist,
There is a folder created each day on the SFTP site, however the contents on this folder has to be in the SFTP root rather than an individual folder,

I basically need to move data from a folder starting with DDE to the root, but the folder name changes daily, however the first 3 characters do not,

I tried something along the lines of mv /DDE*/.* /.* but no luck, any recommendations?

Thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,468
Location:
Prague, Czechia

Re: Transfer within Remote Directory

This cannot be easily done with WinSCP scripting.
I suggest you switch to WinSCP .NET assembly and PowerShell.

Reply with quote

Advertisement

You can post new topics in this forum