| T14 - Automated FTP Upload |
| Task Description |
Upload files from a folder on FTP server if file name contain today's date in it.
|
| Solutions |
 |
Create a new task
- Click on New -> Task Editor
|

Screenshot 1

Screenshot 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. |
 |
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$
|
 |
Upload 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.
|
|
|
 |
| We started using this product to copy data from legacy system to new system. Now we use it just to do about anything automated. Countless hours saved. Thank you guys. |
- Jack Greenberg
|
| Read Customer Testimonies >> |
|