summaryrefslogtreecommitdiff
path: root/doc/bugs/problem_to_addurl_--file_with_ftp.mdwn
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawmdbVIGiDH8KarAGAy8y2FHJD_F990JzXI <Franois@web>2014-03-27 15:06:45 +0000
committerGravatar admin <admin@branchable.com>2014-03-27 15:06:45 +0000
commitbb96cd5b6dd3d772489f541de6b58e4205299436 (patch)
treef2dda4432de12ed04c51764fd1b023a809fb88ec /doc/bugs/problem_to_addurl_--file_with_ftp.mdwn
parent365dfffa3d003ee6fedbf111c5819330fbc247db (diff)
Diffstat (limited to 'doc/bugs/problem_to_addurl_--file_with_ftp.mdwn')
-rw-r--r--doc/bugs/problem_to_addurl_--file_with_ftp.mdwn66
1 files changed, 66 insertions, 0 deletions
diff --git a/doc/bugs/problem_to_addurl_--file_with_ftp.mdwn b/doc/bugs/problem_to_addurl_--file_with_ftp.mdwn
new file mode 100644
index 000000000..88616f5df
--- /dev/null
+++ b/doc/bugs/problem_to_addurl_--file_with_ftp.mdwn
@@ -0,0 +1,66 @@
+### Please describe the problem.
+I want to addurl using ftp protocol.
+`git annex addurl ftp://...` works fine, but `git annex addurl --file` fails with an error "failed to verify url exists".
+
+### What steps will reproduce the problem?
+
+* setting up a new repo
+
+ % alias ga
+ ga=/home/applis/git-annex.linux/git-annex
+ % ga init
+ init ok
+ (Recording state in git...)
+
+* addurl --file works with http
+
+ % wget http://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz
+ [...]
+ 2014-03-27 15:25:06 (10,1 MB/s) - ‘git-annex-standalone-amd64.tar.gz’ saved [30689438/30689438]
+ % ga add git-annex-standalone-amd64.tar.gz
+ add git-annex-standalone-amd64.tar.gz ok
+ (Recording state in git...)
+ % ga addurl http://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz --file git-annex-standalone-amd64.tar.gz
+ addurl git-annex-standalone-amd64.tar.gz ok
+ (Recording state in git...)
+
+* addurl works with ftp:
+
+ % ga addurl ftp://ftp.belnet.be/debian-cd/7.4.0-live/i386/iso-hybrid/debian-live-7.4-i386-lxde-desktop.iso.log
+ addurl ftp.belnet.be_debian_cd_7.4.0_live_i386_iso_hybrid_debian_live_7.4_i386_lxde_desktop.iso.log (downloading ftp://ftp.belnet.be/debian-cd/7.4.0-live/i386/iso-hybrid/debian-live-7.4-i386-lxde-desktop.iso.log ...)
+ [...]
+ 2014-03-27 15:27:47 (11,1 MB/s) - ‘/data/annex/.git/annex/tmp/URL--ftp&c%%ftp.belnet.be%debian-cd%7.4.0-live%i386%iso-hybrid%debian-live-7.4-i386-lxde-desktop.iso.log’ saved [1235181]
+ ok
+ (Recording state in git...)
+
+* addurl --file doesn't work with ftp
+
+ % wget ftp://ftp.belnet.be/debian-cd/7.4.0-live/i386/iso-hybrid/debian-live-7.4-i386-standard.iso.zsync
+ [...]
+ 2014-03-27 15:29:32 (19,4 MB/s) - ‘debian-live-7.4-i386-standard.iso.zsync’ saved [1932014]
+ % ga add debian-live-7.4-i386-standard.iso.zsync
+ add debian-live-7.4-i386-standard.iso.zsync ok
+ (Recording state in git...)
+ % ga addurl ftp://ftp.belnet.be/debian-cd/7.4.0-live/i386/iso-hybrid/debian-live-7.4-i386-standard.iso.zsync --file debian-live-7.4-i386-standard.iso.zsync
+ addurl debian-live-7.4-i386-standard.iso.zsync
+ failed to verify url exists: ftp://ftp.belnet.be/debian-cd/7.4.0-live/i386/iso-hybrid/debian-live-7.4-i386-standard.iso.zsync
+ failed
+ git-annex: addurl: 1 failed
+
+### What version of git-annex are you using? On what operating system?
+
+I am using current git-annex binary linux version on Fedora 19.
+
+ % which git ; git --version
+ /usr/bin/git
+ git version 1.8.3.1
+ % which ga ; ga version
+ ga=/home/applis/git-annex.linux/git-annex
+ git-annex version: 5.20140320-g63535e3
+ build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV Inotify DBus XMPP DNS Feeds Quvi TDFA CryptoHash
+ key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
+ remote types: git gcrypt S3 bup directory rsync web webdav tahoe glacier hook external
+ local repository version: 5
+ supported repository version: 5
+ upgrade supported from repository versions: 0 1 2 4
+