Skip to content

Commit

Permalink
download-generic.plugin: wget has flipped ftp passive/active option
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratler committed Jul 28, 2012
1 parent 1725900 commit 0d2e797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/download-generic.plugin
Expand Up @@ -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
Expand Down

0 comments on commit 0d2e797

Please sign in to comment.