ftp
ftp copied to clipboard
FTP client package for Go
**Describe the bug** getting io.EOF error after running list/stor/retr method the example describes running the mlsd command, but the same issue happens when i try to upload or download a...
I create a FTP connection using below codes. ```go import "github.com/jlaffaye/ftp" conn, err := ftp.Dial("IP:21", ftp.DialWithTimeout(5*time.Second)) ``` Someting is right and I can use the conn to access FTP server....
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7. Release notes Sourced from actions/checkout's releases. v4.1.7 What's Changed Bump the minor-npm-dependencies group across 1 directory with 4 updates by @dependabot in actions/checkout#1739 Bump...
if dial to a tls ftp server, but lack of tls settings, the dial will never timeout and skuck. this fix that issue.
``` func t(filePath string) { c, err := ftp.Dial(ftpServer, ftp.DialWithTimeout(5*time.Second)) if err != nil { log.Fatal(fmt.Sprintf("filePath: %s err: %v", filePath, err)) } err = c.Login(ftpUser, ftpPasswd) if err != nil...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.0.1 to 6.1.0. Release notes Sourced from golangci/golangci-lint-action's releases. v6.1.0 What's Changed Changes feat: allow to skip golangci-lint installation by @ldez in golangci/golangci-lint-action#1079 Documentation docs: add Go...
This pull request adds support for the STAT command to the FTP client, as well as the corresponding tests to ensure its correct functionality. ### Changes: 1. Implemented `Stat` method...
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.1 to 5.0.2. Release notes Sourced from actions/setup-go's releases. v5.0.2 What's Changed Bug fixes: Fix versions check failure by @HarithaVattikuti in actions/setup-go#479 Dependency updates: Bump braces from...
I'm using https://github.com/jlaffaye/ftp to connect FTP server, and attempt to download file, I am more collaborators synchronization when the download, but the download speed is not fast enough