KO
|
EN
gitlite — search
Search
#react
#python
#typescript
#html5
#css3
#javascript
#hacktoberfest
#django
#reactjs
#machine-learning
#css
#android
ftps
★ 29
Open GitHub ↗
Implementation of the FTPS protocol for Golang.
Download README (.md)
Explore Similar Repositories
gin-sessions
:
Session middleware for Gin.
simple_kit
:
C实现的服务端开发框架
react-component-width-mixin
:
React mixin which sets width as state variable and updates as component changes shape
Aruuz
:
No description available.
gitbook-plugin-gtoc
:
[Outdated] [Deprecated] 为GitBook生成目录结构
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
ftps
?
Download (.md)
# FTPS Implementation for Go ## Information This implementation does not implement the full FTP/FTPS specification. Only a small subset. I have not done a security review of the code, yet. Therefore no guarantee is given. It would be nice if somebody could do a security review and report back if the implementation is vulnerable. ## Installation go get github.com/webguerilla/ftps ## Usage ftps := new(FTPS) ftps.TLSConfig.InsecureSkipVerify = true // often necessary in shared hosting environments ftps.Debug = true err := ftps.Connect("localhost", 21) if err != nil { panic(err) } err = ftps.Login("username", "password") if err != nil { panic(err) } directory, err := ftps.PrintWorkingDirectory() if err != nil { panic(err) } log.Printf("Current working directory: %s", directory) err = ftps.Quit() if err != nil { panic(err) } ## Credits This work was inspired by the work of jlaffaye (https://github.com/jlaffaye/ftp) and smallfish (https://github.com/smallfish/ftp).