Copy files/folder in two steps

Dani_S 4,896 Reputation points
2023-12-07T07:47:54.9566667+00:00

Hi,

I have maui app that user select files and/or folder from source drive I want to copy the selections into destination in two steps.

1.Step 1 :Move first to temp folder

2.Step 2 : from temp folder to destination.

How is can be done ?

Thanks,

User's image

Developer technologies | .NET | .NET MAUI
Developer technologies | .NET | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,156 Reputation points Microsoft External Staff
    2023-12-08T02:01:46.12+00:00

    Hello,

    Copying files and folders in MAUI is done in the same way as the C# Standard Library.

    You could refer to the following C# provides a detailed example of how to make a copy.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.