UiPath - Download File From URL | How to download file from website using UiPath

Sdílet
Vložit
  • čas přidán 11. 07. 2024
  • Learn the best way to download a file from any website using UiPath while minimizing user interface interactions.
    ________ 👇 Content👇 ________
    00:00 Intro
    00:36 File to download
    02:00 Step 1- Get URL (Get Attribute)
    06:14 Step 2- Download File
    09:00 Step 3- Verification (Wait for download)
    12:08 Troubleshoot Href Attribute
    ________ 👇 Websites👇 ________
    rpachallenge.com/
    ________ 👇 Code 👇 ________
    Using w As New System.Net.WebClient()
    w.DownloadFile(Url,Path)
    End Using
    ________ 👇Live Stream UiPath Robots👇 ________
    • Live Stream UiPath Rob...
    ________ 👇 Speed Up your UiPath Process👇 ________
    • RPA Challenge in 66 Mi...
    ________ 👇 RPA Challenge Level 1👇 ________
    • UiPath RPA Challenge S...
    ________ 👇 Optimize your UiPath Process👇 ________
    • Optimize your UiPath P...
    ________ 👇 Unleash the Power of UiPath and ChatGPT for PDF Data Extraction 👇 ________
    • Unleash the Power of U...
    ________ 👇 how to download and install UiPath👇 ________
    • Video
    ________ 👇 How to Integrate ChatGPT in UiPath👇 ________
    • How to Integrate ChatG...
    ________ 👇 Email Trigger UiPath Process👇 ________
    • Trigger UiPath Process...

Komentáře • 21

  • @SrdjanS_Automations
    @SrdjanS_Automations Před 10 měsíci +2

    The last part is why I watched the video. Amazing tip!

    • @redamarzouk
      @redamarzouk  Před 10 měsíci

      Yep, it's definitely so useful as an activities and not a lot of people talk about it.
      Glad you enjoyed the video!

  • @mohibkhann
    @mohibkhann Před 3 měsíci +1

    You explain very good my friend. Was a very helpful video. Thanks and keep up the good work :)

  • @amineachalhi3216
    @amineachalhi3216 Před rokem +1

    thank you for the last tip ;)

  • @KevinRamirez-vw5kv
    @KevinRamirez-vw5kv Před 5 měsíci +1

    Great stuff, really appreciate it.

  • @hemenths.k9009
    @hemenths.k9009 Před 17 dny

    Hey, I am getting Invoke Code: Exception has been thrown by the target of an invocation. Error when ran this.

  • @thejewbacabra4926
    @thejewbacabra4926 Před 8 měsíci +1

    THANK YOU

  • @UiPath_ESP
    @UiPath_ESP Před 11 měsíci

    great video

  • @mineshchande9824
    @mineshchande9824 Před 8 měsíci +1

    Hi. Thanks a lot for the video. If I have urls but they download files with different extensions i.e. PDF, JPEG, PNG, etc. How can I achieve that?

    • @redamarzouk
      @redamarzouk  Před 8 měsíci

      You’re welcome.
      In that case you just change the extension at the end of the argument “path” to .jpg or .png etc
      If you only have URLs without knowing what’s inside of them look for an indication inside of the url to extract the extension.
      If you don’t have any indication you will have to go to the source of the urls and extract the extension.
      Hope that helps.

  • @user-bb6kt6gm8s
    @user-bb6kt6gm8s Před 8 měsíci +1

    What if same file name xlsx is already present in the folder?
    I guess wait for download activity will wait for forever. correct me if I am wrong.

    • @redamarzouk
      @redamarzouk  Před 8 měsíci

      Hello,
      Yes you're right, it's necessary to have a unique name for every file you download.
      You can do that using the date of the download (now.tostring("yyyy-MM-dd__HH-mm-ss")) as a string added to the name of the file.

  • @Marieloureiro
    @Marieloureiro Před 8 měsíci +1

    What f I need to log in to the website to perform the download?

    • @redamarzouk
      @redamarzouk  Před 8 měsíci

      Hello,
      Maybe I'm missing something but I don't see the difficulty in that.
      You will automate the log in action in UiPath, retrieve the URL and then download the file using the method I've shown.

  • @redamarzouk
    @redamarzouk  Před rokem

    Here is the code guys enjoy :)
    _________ 👇 Code 👇 _________
    Using w As New System.Net.WebClient()
    w.DownloadFile(Url,Path)
    End Using