Latest File Script "No File Found"

Advertisement

dnaddison
Joined:
Posts:
3
Location:
UK

Latest File Script "No File Found"

Hi,

I'm trying to use the latest file script, I have changed the paths etc but it never downloads a file. When checking, nodes is always = 0 to the latest file variable is never set. however the complete list of files is shown on the output.

What should I be checking?

Many thanks

Neil

Reply with quote

Advertisement

dnaddison
Joined:
Posts:
3
Location:
UK

Looking at the xml output it does not appear to be XML at all which would explain my nodes is returning nothing it s a log on the interactions rather than the contents of the ls. hmmmm.

Any help appreciated.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Latest File Script "No File Found"

I suppose you are trying to parse XML log, aren't you? Make sure you are using the latest version of WinSCP. Also, if you are enabling logging on command line, make sure the filename ends with .xml. If this does not help, you need to provide more details about what you are doing (and how).
_________________
Martin Prikryl

Reply with quote

dnaddison
Joined:
Posts:
3
Location:
UK

Many thanks for the response. It turns out that I was not on the latest version of the software. Once upgraded the script ran as expected.

Kind regards

Reply with quote

Advertisement

You can post new topics in this forum