Topic "How to access path by masking path C://SRC/Scriptversion1.2.3/Version.txt , number changes always"

Author Message
Anuradha

Guest


How to access path by masking path C://SRC/Scriptversion1.2.3/Version.txt , number changes always
I need to always fetch version.txt ...
The version number will be differing from package to package
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25966
Location: Prague, Czechia
That's not trivial, if you do not want to upload the Scriptversion1.2.3 folder itself (then it would be get C://SRC/Scriptversion*).

Otherwise, you have to write a script to find the file.

You can base your script on one of these:
https://winscp.net/eng/docs/library_example_recursive_search_text
https://winscp.net/eng/docs/library_example_recursive_download_custom_error_handling
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