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

Advertisement

badmadz
Guest

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

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 doesn't 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 :)

Reply with quote

Advertisement

Guest

Re: How can I copy the file name to an text-file

martin 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?

Reply with quote

Advertisement

You can post new topics in this forum