SAP - word document after download and renaming / moving file is getting corrupted

Hi Folks,

Facing probelm while downloading word document from SAP and moving to the destination path.

its working fine with .xlsx, pdf or .zip files.

Anyone faced similiar issues?

Rename / file move command is working as expected after bot finished its activity.
Killed process, added 1 min wait time, tried with VB.Net code… nothing solved this issue.

Hope issue is with uipath and ms-word.

Appreicate, if any help on this probelm.

Hey!

When we’re dealing with word documents… We have 2 types of extensions

  1. Doc and
  2. Docx

Check the extensions which you’re dealing with and rename the file according to that extension

Regards,
NaNi

Hi Thiru

from downloaded path getting the file extension and saving it as it is.

File is getting created, but leaving original file copy and new file is getting created as given as it and leaving the original copy

Thanks,
Veera

Hey!

Why do we wants to move the file from ource?

We can directly download the file to destination…

Do we really need the copy file?

What error exactly we’re getting while moving?

Regards,
NaNi

1 Like

yea am doing same… but as i mentioned it leaving a copy in temp folder and in destination its getting created with 1 kb file. something strange…

Hey!

Instead of renaming and moving we can use COPY File activity to get the copy of the file…

Here You need set the Source and Destination as well…

Can we try in this way?

This is also works the same as Move File but we’re not renaming the file…

Regards,
NaNi

1 Like

Did not help. Same issue

Hey!

Could you please show me the flow once?

Regards,
NaNi

hi thiru

thanks… able to solve. actually if document type is word… its creates temporary files with ~ in file name.

I queried for lastest files from source folder, since its not visible in file explorer i assumed no other files in that directory (enabled show hidden files as well).

Picked the files without ~, it worked out, so added condition if its ms-word in my flow.

Thanks for your immediate reponses. Appreicate it.

Thanks,
Veera

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.