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

git@vger.kernel.org list mirror (unofficial, one of many)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 git git/ https://public-inbox.org/git \
		git@vger.kernel.org
	public-inbox-index git

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.version-control.git
	nntp://ie5yzdi7fg72h7s4sdcztq5evakq23rdt33mfyfcddc5u3ndnw24ogqd.onion/inbox.comp.version-control.git
	nntp://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/inbox.comp.version-control.git
	nntp://news.gmane.io/gmane.comp.version-control.git
 note: .onion URLs require Tor: https://www.torproject.org/

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

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

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git