Downloading the most recent file

Advertisement

Sowmya@...
Guest

Downloading the most recent file

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

Reply with quote

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

Re: Downloading the most recent file

Are you sure your remote path does not start with slash? E.g. /apps/dome/idiusr/...
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum