Skip to content
This repository has been archived by the owner on Oct 14, 2021. It is now read-only.

Add FTP endpoint pair #14

Closed
npofsi opened this issue Aug 3, 2021 · 1 comment
Closed

Add FTP endpoint pair #14

npofsi opened this issue Aug 3, 2021 · 1 comment

Comments

@npofsi
Copy link

npofsi commented Aug 3, 2021

go-service-ftp now use tcp:// protocol to access to file server which is less precise.
I proposal to add an endpoint pair ftp:// like tcp://, which uses same way to obtain host and port

@Xuanwo
Copy link
Contributor

Xuanwo commented Aug 4, 2021

For now, I don't think we need an ftp protocol. FTP is a protocol based on TCP, so we will use tcp as an endpoint to connect an FTP server. The real problem we meet here is ftp protocol only supports TCP, and itself is a widely used protocol.

Maybe we need to support default protocol for endpoint:

Turn ftp://?endpoint=tcp:127.0.0.1:1080 into ftp://?endpoint=127.0.0.1:1080.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants