git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Fw: How do I git-push to an FTP server?

From
JHJunio C Hamano <gitster-e+axbwqsrlaavxtiumwx3w@public.gmane.org>
Date
Oct 7, 2012, 20:46 UTC
Message-ID
<7vvcemovrh.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20121007172754.GA29560-fcEM2ccDkbL2nhBuCrrZHw@public.gmane.org>
Jonathan Nieder <jrnieder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
Show 23 quoted lines
> Ramkumar Ramachandra wrote:
>>> Thomas Ferris Nicolaisen <tfnico-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
>>>> At least according to the documentation[1], "Git natively supports [...] ftp".
>>>>
>>>> This could need some clarification if pushing over ftp is not supported.
> [...]
>> -Git natively supports ssh, git, http, https, ftp, ftps, and rsync
>> -protocols. The following syntaxes may be used with them:
>> +Git natively supports ssh, git, http, https, and rsync protocols. The
>> +following syntaxes may be used with them:
>
> Perhaps the initial list should not be exhaustive, in which case we
> could say:
>
> 	Git natively supports ssh, git, http, and https protocols.  The
> 	following syntaxes may be used with them:
>
> 	...
>
> 	Git also has (less efficient) support for fetching and pushing
> 	over rsync protocol and fetching over ftp or ftps, using the
> 	same "protocol://host/path/to/repo.git/" syntax.

Yeah, that, possibly with "These are deprecated; do not use them.", would be a better way forward. As we deprecated "rsync" long time ago, perhaps we should remove it at Git 2.0 or somewhere around that.

By the way, that old patch by Ram in question was *not* incorrect per-se back then when dumb http was still more prevalent option between the two http transports. Fetching over dumb http and dumb ftp were both equally bad ;-) It just has become less relevant as more people start equating http with the smart http, where there is no equivalent "smart ftp".

-- 
You received this message because you are subscribed to the Google Groups "Git for human beings" group.
To post to this group, send email to git-users-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to git-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Previous: Jonathan NiederNext: Ramkumar Ramachandra
Message 8 of 14 in “Fw: How do I git-push to an FTP server?”
  1. Konstantin KhomoutovOct 5, 2012
  2. Philippe VaucherOct 5, 2012
  3. Thomas Ferris NicolaisenOct 5, 2012
  4. Konstantin KhomoutovOct 5, 2012
  5. Junio C HamanoOct 5, 2012
  6. Ramkumar RamachandraOct 7, 2012
  7. Jonathan NiederOct 7, 2012
  8. Junio C HamanoOct 7, 2012
  9. Ramkumar RamachandraOct 8, 2012
  10. Jonathan NiederOct 8, 2012
  11. Junio C HamanoOct 8, 2012
  12. Junio C HamanoOct 8, 2012
  13. Jonathan NiederOct 8, 2012
  14. Junio C HamanoOct 8, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.