Topic "Path masking for windows path"

Author Message
Anuradha

Guest


I have a path as
C:\CI-CD_setup\Softs\TC20E_54_23.0.3.1\TC20E_54_23.0.3.1\move.txt
_54_23.0.3.1 number will be changing how to mask that and reirect to a file

C:\Program Files (x86)\WinSCP\WinSCP.exe /log=C:\CI-CD_setup\log.txt /command "open sftp://root:password123@1.1.1.1" "put C:\CI-CD_setup\Softs\TC20E_54_23.0.3.1\TC20E_54_23.0.3.1\*.txt %DestnPathPEF14%" "exit"
Advertisements
Anuradha

Guest


Can anyone help me please.....
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26706
Location: Prague, Czechia
Sorry, but this is too vague.
What do you want to do exactly?
Do you want to download all *.txt files from the C:\CI-CD_setup\Softs directory tree to a single folder?
Or is there always only one file? Show us some concrete example.
Guest




martin wrote:
Sorry, but this is too vague.
What do you want to do exactly?
Do you want to download all *.txt files from the C:\CI-CD_setup\Softs directory tree to a single folder?
Or is there always only one file? Show us some concrete example.


Every time i need to extract *.txt file from the directory .. .The directory path changes
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26706
Location: Prague, Czechia
If I understand correctly, you are looking for this:
https://winscp.net/eng/docs/script_download_files_to_same_folder
Advertisements

You can post new topics in this forum

Search

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