Move downloaded attachment to network folder

Discuss email problems

Move downloaded attachment to network folder

Postby melvin » Fri Dec 12, 2014 8:46 am

User support request:
I got the email attachment running so far but I wanted to know get a little help so that I can easily migrate all our email attachment tasks. After downloading the attachment, I want to copy it to a network folder base on a daily basis where it save to the correct location. Let say, for the file today, it should copy the attachment to \\Folder remove\2014\FolderXXX\1214\filename is = 1211.xls. Thanks in advance for your help.
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california

Re: Move downloaded attachment to network folder

Postby melvin » Fri Dec 12, 2014 8:47 am

You would need to use a copy task (new task / archive folder) with the following entries :
Target Directory = \FolderXXX\$%DATE::YY%$\FolderXXXX\$%DATE::ppyy%$\$%DATE::ppdd%$.xls
Source Directory= your check email task download directory
filename = your check email task filename or part of filename.

$%DATE::YY%$ date variable for 4 digit year (2014)
$%DATE::ppyy%$ date variable for 2 digit month + 2 digit year (1214)
$%DATE::ppdd%$ date variable for 2 digit month + 2 digit date (1211)
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california


Return to Email

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron