Permalink
Browse files

download-generic.plugin: wget has flipped ftp passive/active option

  • Loading branch information...
1 parent 1725900 commit 0d2e797ff791c62c5d872210df8725eb3a3ed7bf @Ratler committed Jul 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/download-generic.plugin
@@ -26,8 +26,8 @@ plugin_source_download_generic() {
# this is what the download will be stored as initially:
TMP_FILE=$TMPDIR/$2
- if [ "$FTP_ACTIVE" == "off" -o "$FTP_PASSIVE" == "on" ] ; then
- WGET_OPTS+=" --passive-ftp"
+ if [ "$FTP_ACTIVE" == "on" -o "$FTP_PASSIVE" == "off" ] ; then
+ WGET_OPTS+=" --no-passive-ftp"
fi
if [ "$CONTINUE" == "off" ] ; then

0 comments on commit 0d2e797

Please sign in to comment.