8000 GitHub - andrelip/exftp: Simple FTP client for elixir
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andrelip/exftp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExFtp

Simple FTP client for Elixir.

Use like this:

pid = ExFtp.open("ftp.targetdomain.com", "foo_user", "bar_password")
ExFtp.cd(pid, "/mydir")
list = ExFtp.ls()

assert list == [%{name: "foobar.txt", type: :file}, %{name: "subdir", type: :directory}]

Installation

If available in Hex, the package can be installed as:

  1. Add ftp to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:exftp, github: 'mlankenau/exftp'}]
end
```
  1. Ensure ftp is started before your application:
```elixir
def application do
  [applications: [:exftp]]
end
```

About

Simple FTP client for elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%
0