Hi Community,
I can’t find my downloaded file when using the Gmail Download attachments activity using the integration service, i am searching in C:/Users/Username/AppData/Local/Temp
Regards
Hi Community,
I can’t find my downloaded file when using the Gmail Download attachments activity using the integration service, i am searching in C:/Users/Username/AppData/Local/Temp
Regards
Define a variable for Output property Attachments
. This will be your path where the attachments would be downloaded and saved.
Thanks,
Ashok
Hi @ashokkarale ,
i already did that, its a type of GmailAttachmentLocalItem, should i give a default value to it? i doubt it accepts strings
No need to assign default value.
Use a log message activity to log yourOutputVariable.LocalPath
This will be your local path.
Thanks,
Ashok
I did find the file but, its showing like this
do i need string manipulation in this or we have a separate activity for this too? to correct the extension
It would be collection of the attachments so if the above one don’t work try this to get first attachment
yourOutputVariable(0).LocalPath
It would be as it is file name and extension from the email. Seems it’s a pdf file.
Thanks,
Ashok
Yes it a PDF File but the name is different there in the Email, its just picking up random characters
As your original query has been resolved, kindly mark my answer as solution to close the thread. For any other queries, create new thread so it will reach to wider audience to answer.
Thanks,
Ashok
It might be due to already exist file in that folder. Try downloading some different file with unique name.
Thanks,
Ashok
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.