git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
* Problems with FTP PUSH
@ 2020-08-18 11:46 Ian S. Worthington
  2020-08-18 20:08 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Ian S. Worthington @ 2020-08-18 11:46 UTC (permalink / raw)
  To: git

Hi guys -- 

I have a server without https and so I'm trying to establish if I can host a
repository there using ftp.  The manuals suggest that I can, but when I try: 

>git push -v ftp://user:pw@host//u/path/repos/test/.git/ 
Pushing to ftp://user:pw@host//u/path/repos/test/.git/ 
fatal: unable to access 'ftp://host//u/path/repos/test/.git/': RETR response:
550 

Looking at it with wireshark, I can see the SIZE and the RETR of
.../test/.git/info/refs reports the file does not exist, which is correct and,
as far as I can see, normal(?), but that the RETR failure terminates the push:


<image deleted> 

Have I made an error in the setup of my repos, or some other foolish mistake?



Best wishes, 

i 
... 

Ian S Worthington 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems with FTP PUSH
  2020-08-18 11:46 Problems with FTP PUSH Ian S. Worthington
@ 2020-08-18 20:08 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2020-08-18 20:08 UTC (permalink / raw)
  To: Ian S. Worthington; +Cc: git

"Ian S. Worthington" <ianworthington@usa.net> writes:

> I have a server without https and so I'm trying to establish if I can host a
> repository there using ftp.  The manuals suggest that I can, but when I try: 

Which manuals?

IIUC, a dumb HTTP(S) server that accepts only GET can still serve
"git fetch", and an FTP(s) server would be able to do the same using
similar codepath, but I do not think these can accept "git push".  A
dumb HTTP(S) may be able to accept "git push" if it does WebDAV, but
I do not think there is corresponding FTP support at all.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-18 20:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-18 11:46 Problems with FTP PUSH Ian S. Worthington
2020-08-18 20:08 ` Junio C Hamano

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).