Topic "How can I copy the file name to an text-file"

Author Message
badmadz

Guest


Hello everyone
First....sorry if my english is bad.

Now my problem.
I have to write a little program(with autoit and winscp) to get the latest files from an server to an local hdd. The file name is something like that: name-2009-09-04.
How can i copy the complete file name so i can check which one is the file with the latest.
Or is there a script code in winscp to detect the latest file?

The latest file doesnt have to be the file with the date of day Im looking at the server, e.g. today is 2009-09-04 so the latest file could also be from 2009-08-31

I hope someone understands me Smile
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Please read documentation. If that does not help, come back.
_________________
Martin Prikryl
Guest




prikryl wrote:
Please read documentation. If that does not help, come back.


Basicaly I think this would help but I have to use the console window of winscp (winscp.com file). Is there a method like the discribed one but as direct input?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Sorry, I do not understand. The example uses the winscp.com
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