Topic "'Download most recent file' File not found"

Author Message


Hi All,

When I run this javascript, I get an error (apparently) on line (41,1): File not found. This refers to the log .xml file. Can anyone shed some light on this?

[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 21740
Location: Prague, Czech republic
Do you refer to this line

var logfile = filesys.GetFile(logfilepath);

of this code: ?

Chances are that you use some obsolete version of WinSCP that cannot produce an XML file. Make sure you use the latest one.

Anyway, I recommend you to use WinSCP .NET assembly instead, possible from PowerShell script:

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License