ftp

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

README

vfs-ftp Go Report Card GoDoc

A vfs implementation for ftp. This implementation may not work with all ftp servers, because it assumes that cwd is not needed anymore and each command works with absolute paths. This increases the performance a lot.

ftp.Connect()

import github.com/worldiety/vfs-ftp

CTS Check Result
Empty
Write any
Read any
Write and Read
Rename
Attributes
Close

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(adr string, login string, password string, pathPrefix string) (vfs.DataProvider, error)

Connect connects to the ftp and performs a login. pathPrefix can be empty and is added to any path before resolving. You can use it to simply mount a sub folder. This FTP implementation is NOT thread safe, because it only ever uses a single connection which is stateful.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL