Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: FTP download with multiple file mask
Topic Summary:
Created On: 04/23/2018 01:26 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 04/23/2018 01:26 AM
User is offline View Users Profile Print this message

Author Icon
EddyLau
n00b (>6 posts)

Posts: 1
Joined: 04/23/2018

Hi Guys, new to the forum. i was wondering if someone can give me some pointers to how i can setup automate to download from FTP server with 2 filemasks?

the files i am looking at will looking something like this. name_yyyymmdd.csv e.g (hello_20180422.csv)

Ideally, i would like to download using a file mask hello_* but i would also like to have something setup to represent the date, so i was thinking perhaps i can put this in as well "%format(Date()-1, "yyyymmdd")%"

Now, how do i put everything together so that Automate recognise what i wanted to do?

Appreciate your help.
 04/25/2018 02:21 PM
User is offline View Users Profile Print this message

Author Icon
Justin Aucoin
HelpSystems

Posts: 360
Joined: 02/15/2016

Hi Eddy,

The easiest method would be to use the Text format date/time action to specify the format you want for the date and store the output in a variable. Then combine that either in the mask or in a variable. This is illustrated in the steps below.


Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


-------------------------

Justin Aucoin | Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 569 guests browsing this forum, which makes a total of 569 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2019 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog