Save file Given A File Path

Hello,

I am trying to save a file in a folder given the folder path but I am not sure how to do so.

Thank you in advance for your help!

Hi @Sahil_J_Patel …Could you please explain your query with some example? It would be helpful

If I have the file x and I want to save that to a folder y and I only have y’s folder path how could I save file x into folder y.

Since u had file x, I think u know the path of file too , let say path of file x is stored in a variable. And folder y path is stored in y varaible

So u can use move file activitiy to move the file using below parameters

From : a

To : y+""+Path.GetFileName(a)

Try this way

Let me know if it works

Regards

Nived N :robot:

Happy Automation :relaxed::relaxed::relaxed:

@Sahil_J_Patel

could you tell me where the file x is stored? In a folder / you are saving this from a website / other source

Thanks

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