Network Automation Software
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
18257 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 6686 on 11/01/2020 at 01:24 AM.
There are currently 969 guests browsing this forum, which makes a total of 969 users using this forum.

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

Sitemap Network Automation Software Blog