You don't need to download a file from HTTP server, zsync file can be stored locally. When the file is stored locally you can easily test this issue but you will not see how long zsync needs to get file from HTTP server before it fails. Demo with local file:
$ ls -l lucid-alternate-i386.iso* -rw------- 1 psl psl 673048576 2010-03-14 13:33 lucid-alternate-i386.iso -rw-r--r-- 1 psl psl 1314731 2010-03-14 08:39 lucid-alternate-i386.iso.zsync $ zsync lucid-alternate-i386.iso Bad line - not a zsync file? "" Correct command is this one: $ # wget http://cdimage.ubuntu.com/daily/current/lucid-alternate-i386.iso.zsync $ zsync lucid-alternate-i386.iso.zsync My point is that zsync could verify if it is downloading correct metafile ASAP, to report "Bad line - not a zsync file?" error ASAP, not after downloaded MB or GB of data... Alternatively, it should store downloaded data to the filesystem (zsync "degraded" to to wget). Exampe, zsync with wrong URL (file is small, about 2MB): $ zsync http://cdimage.ubuntu.com/daily/current/lucid-alternate-i386.template #################### 100.0% 469.4 kBps DONE Bad line - not a zsync file? "JigsawDownload template 1.1 JTE/1.15" -- zsync doesn't check metafile during download https://bugs.launchpad.net/bugs/538717 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
