Topic "File mask and hours"

Author Message
Snorky

Guest


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 :
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

Advertisements
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
It should be ../../usr4/account/TAXA*.DAT>10H

See https://winscp.net/eng/docs/file_mask#size_time
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...
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
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.
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!
Advertisements

You can post new topics in this forum

Search

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