import os
import subprocess

def write_destination_ftp(params, state):
    output_file = state['output_file']
    url = params['url']
    cmd = ['wput', '-v', '--binary', '-u', '-nc', output_file, url]
    print(' '.join(cmd))
    out = subprocess.check_output(cmd)
    print("ftp: {}".format(out))
    return True

c2915f9e14049b4d25f42d8b59a960ce96942353
<mask token>

<mask token>


def write_destination_ftp(params, state):
    output_file = state['output_file']
    url = params['url']
    cmd = ['wput', '-v', '--binary', '-u', '-nc', output_file, url]
    print(' '.join(cmd))
    out = subprocess.check_output(cmd)
    print('ftp: {}'.format(out))
    return True

import os
import subprocess


def write_destination_ftp(params, state):
    output_file = state['output_file']
    url = params['url']
    cmd = ['wput', '-v', '--binary', '-u', '-nc', output_file, url]
    print(' '.join(cmd))
    out = subprocess.check_output(cmd)
    print('ftp: {}'.format(out))
    return True

import os
import subprocess

def write_destination_ftp(params, state):
    output_file = state['output_file']
    url = params['url']
    cmd = ['wput', '-v', '--binary', '-u', '-nc', output_file, url]
    print(' '.join(cmd))
    out = subprocess.check_output(cmd)
    print("ftp: {}".format(out))
    return True
