Topic "Downloading the most recent file"

Author Message
Sowmya@...

Guest


Hi SupportTeam,

My requirement is to get the Latest files from a remote AIX server to Windows machine.

I have used he WINSCP example written in JS: https://winscp.net/eng/docs/script_download_most_recent_file

But i get the error Error listing Directory : No such file or directory.
I have given the REMOTEPATH as : apps/home/XXXX/ in which fetching files of type *.csv.

Please refer attached file for more details.

Thanks
Sowmya
example.txt (2.92 KB) [Download]

Description: (none)

example.txt (2.92 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Are you sure your remote path does not start with slash? E.g. /apps/dome/idiusr/...
_________________
Martin Prikryl
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