# How to use Downloads.download() with SFTP?

**URL:** <https://discourse.julialang.org/t/how-to-use-downloads-download-with-sftp/76480>\
**Category:** Web Stack\
**Tags:** question\
**Created:** [February 15, 2022, 10:22am UTC](https://discourse.julialang.org/t/how-to-use-downloads-download-with-sftp/76480 "2022-02-15T10:22:03Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Fred](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fred/32/14175_2.png) [@Fred](https://discourse.julialang.org/u/Fred)\
**Post date:** [February 15, 2022, 10:22am UTC](https://discourse.julialang.org/t/how-to-use-downloads-download-with-sftp/76480/1 "2022-02-15T10:22:03Z")

</div>

Hi,  
Is it possible to do SFTP with Julia ? I use filezilla to download files on a remote computer but I do not manage to access it with Julia. Is there something wrong in the URL format ?  
Thanks for your reply !

```julia
using Downloads
WARNING: using Downloads.download in module Main conflicts with an existing identifier.

Downloads.download("sftp://user@xx.xx.xx.xx:22/home/user/file.csv")
ERROR: Error in the SSH layer while requesting user@xx.xx.xx.xx:22/home/user/file.csv
Stacktrace:
  [1] (::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int64, Bool, Bool})(easy::Downloads.Curl.Easy)
    @ Downloads ~/Documents/logiciels/julia-1.7.1/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:369
  [2] with_handle(f::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int64, Bool, Bool}, handle::Downloads.Curl.Easy)
    @ Downloads.Curl ~/Documents/logiciels/julia-1.7.1/share/julia/stdlib/v1.7/Downloads/src/Curl/Curl.jl:64
  [3] #8

```

---

_[View the full topic](https://discourse.julialang.org/t/how-to-use-downloads-download-with-sftp/76480)._
