Call Toll Free: 1-888-484-3535    

 Automation Anywhere - The Automation Software

Automate System Administration Tasks -> T14 - Automated FTP Upload

Task Description: Upload files from a folder on FTP server if file name contain today's date in it.

Solution
1.Create new task Click Tools -> Task Editor.
2.Loop through all the files in a folder Insert a Loop command and select option 'Each file in a folder' and select folder name from where you want to upload the files.
3.Check if the filename has today's date in it.
  • Under Conditions / Loops category, double-click on If command
  • Select the option Variable
  • Click on Edit button
  • From the first drop down box select the System variable name FilenName
  • Select the Operator 'Includes'
  • In the Fix option specify the value $Day$-$Month$-$Year$

(Screenshot 1)

4Upload the files on FTP server
  • From the Internet Category double-click on FTP command.
  • Insert a FTP connect command to connect to your FTP server.
  • Similarly insert a FTP 'Put File' command to upload the qualifying files on FTP server.
  • To get the path of the entire file use the variables $CurrentDirectory$\$FileName$.$Extension$
  • Insert a FTP Disconnect command.

(Screenshot 2)

 
When you run this task, it will loop through all the files of the folder specified by you. For each file it will check if the filename contains today's date and if it does then will upload the file on the FTP server specified.

Screenshot 1:

Screenshot 2:

 

E-Mail: Enter your email address to receive information about new products & offers from Tethys Solutions.


 PRODUCTS

 Automation Anywhere
   Standard & Premier
   Enterprise
 Workspace Macro Pro
 Workspace Macro
 Launch-n-Go
 Free Downloads
 Compare Products
 

 SOLUTIONS FOR

 Home & Home Office
 Business & IT
 Partners
 Developers
 

 SERVICES

 Ask The Expert
 Consulting Service
 

 PURCHASE

 BUY NOW
 Pricing
 Upgrades
 Our Guarantee

 SUPPORT

 FAQ & Examples
 Have a Question?
 Open A Support Case
 Forums
 

 QUICK LINKS

 Productivity Essentials
 Pre-defined Templates
 

 GENERAL

 Tell A Friend, Win a CD
 Affiliates
 Articles: Macro &
 Automation

 Get RSS Feeds

 Press & News
 Contact Us
Home |Site Map |Privacy Policy |About Us |Contact Us

Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved. Trademarks