Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Hi Martin,

I have modified my script as below and it is working very well:

"synchronize local -filemask="*>=30N" C:\pdfxml_totvs\ /vv447Q/pdfdanfe"

Thank you so much.
martin

Rirbeiro wrote:

I follow your commands but all files were copied and not just the last files modified in the last hour.

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.


Another questions is: Can I use "synchronize local" instead "get"?

Not sure what your question is about. These two commands have a different semantics. So use the one that fits your needs better.
Rirbeiro

Hi Martin,

I follow your commands but all files were copied and not just the last files modified in the last hour.

Another questions is: Can I use "synchronize local" instead "get"?

Thank you in advance,
martin

Re: filemask for several file type

The time-constraint is a part of a specific mask only, not whole set of masks. So you have to repeat it with each mask:

get -filemask=""*.xml>=1H;*.pdf>=1H"" /vv447Q/pdfdanfe/* C:\pdfxml_totvs
Rirbeiro

filemask for several file type

Hello

I'm getting in trouble using filemask with the command line to download several file types in last one hour.

with the command below it get all files and not follow the rule ">1H"

get -filemask=""*.xml;*.pdf>=1H"" /vv447Q/pdfdanfe/* C:\pdfxml_totvs

Thanks in advance