{"thread":{"id":"54061","subject":"Problems with FTP PUSH","startedAt":"2020-08-18T11:51:57Z","lastAt":"2020-08-18T20:08:47Z","messageCount":2,"participants":["Ian S. Worthington","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"403924","messageId":"196yHRLtV8416Set.1597751181@web13.cms.usa.net","threadId":"54061","inReplyTo":null,"subject":"Problems with FTP PUSH","fromName":"Ian S. Worthington","fromEmail":"ianworthington@usa.net","sentAt":"2020-08-18T11:46:21Z","receivedAt":"2020-08-18T11:51:57Z","isPatch":false,"sender":{"key":"ianworthington@usa.net","avatar":null},"body":"Hi guys -- \n\nI have a server without https and so I'm trying to establish if I can host a\nrepository there using ftp.  The manuals suggest that I can, but when I try: \n\n>git push -v ftp://user:pw@host//u/path/repos/test/.git/ \nPushing to ftp://user:pw@host//u/path/repos/test/.git/ \nfatal: unable to access 'ftp://host//u/path/repos/test/.git/': RETR response:\n550 \n\nLooking at it with wireshark, I can see the SIZE and the RETR of\n.../test/.git/info/refs reports the file does not exist, which is correct and,\nas far as I can see, normal(?), but that the RETR failure terminates the push:\n\n\n<image deleted> \n\nHave I made an error in the setup of my repos, or some other foolish mistake?\n\n\n\nBest wishes, \n\ni \n... \n\nIan S Worthington \n\n"},{"id":"403969","messageId":"xmqqeeo3yawr.fsf@gitster.c.googlers.com","threadId":"54061","inReplyTo":"196yHRLtV8416Set.1597751181@web13.cms.usa.net","subject":"Re: Problems with FTP PUSH","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2020-08-18T20:08:36Z","receivedAt":"2020-08-18T20:08:47Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Ian S. Worthington\" <ianworthington@usa.net> writes:\n\n> I have a server without https and so I'm trying to establish if I can host a\n> repository there using ftp.  The manuals suggest that I can, but when I try: \n\nWhich manuals?\n\nIIUC, a dumb HTTP(S) server that accepts only GET can still serve\n\"git fetch\", and an FTP(s) server would be able to do the same using\nsimilar codepath, but I do not think these can accept \"git push\".  A\ndumb HTTP(S) may be able to accept \"git push\" if it does WebDAV, but\nI do not think there is corresponding FTP support at all.\n\n"}]}