File mask and hours

Advertisement

Snorky
Guest

File mask and hours

Hi.
What a wonderfull tool you made!

I need to get back somes DAT files created within 10 hours from a FTP. My files are named like this TAXAxxxxx.DAT, I checked I've got somes, but I can't figure what I did wrong because there is no any files in my destination folder...

Here is my code :
WinSCPPortable.exe /command ^
    "open ftp://user:pass@myftp/" ^
    "get ../../usr4/account/TAXA*.DAT|*<10H C:\tmpftp\" ^
    "exit"

Thank you!
  • ScreenShot189.jpg (62.02 KB, Private file)
Description: Remote server list of files

Reply with quote

Advertisement

Snorky
Guest

Hi.
Thank you.
But, sorry it doesn't match...
With this filter, it download a month of.DAT files. (From 06/10/2017 to now), not just 10h...

Reply with quote

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

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Snorky
Guest

My bad!
I wasn't using the proper version of the exe... With the exe up to date it's work just fine!
Thank you again for your wonderfull product!

Reply with quote

Advertisement

You can post new topics in this forum