Skip to content

2trde/exftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0e7f4c5 · Dec 6, 2023

History

33 Commits
Dec 6, 2023
Sep 19, 2023
Oct 29, 2018
Jan 12, 2017
Jun 10, 2023
Jun 10, 2023

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