proxychains-ng icon indicating copy to clipboard operation
proxychains-ng copied to clipboard

proxychains4 cannot download file completly

Open Enivel opened this issue 8 years ago • 3 comments

image

proxychains3.1 && proxychains4.11 same error

my python code image

the code run well on other system .

Enivel avatar Jul 17 '16 14:07 Enivel

import urllib2, urllib
import sys


# show download progress
def reporthook(blocks_read,block_size,total_size):
    if not blocks_read:
        print ("Connection opened")
    if total_size <0:
        #print "\rRead %d blocks"  % blocks_read
        sys.stdout.write("\rRead %d blocks   "  % blocks_read)
        sys.stdout.flush()
    else:
        #print "\rdownloading: %d KB, totalsize: %d KB" % (blocks_read*block_size/1024.0,total_size/1024.0)
        sys.stdout.write("\rdownloading: %d KB, totalsize: %d KB   " % (blocks_read*block_size/1024.0,total_size/1024.0))
        sys.stdout.flush()


urllib.urlretrieve('http://hanguo3.tumblr.com/video_file/146969728436/tumblr_o7hekgP1bv1umyqgn','aa.mp4',reporthook);

Enivel avatar Jul 17 '16 14:07 Enivel

image image

but if append before proxychains use "time" or "strace" work well.

Enivel avatar Jul 17 '16 14:07 Enivel

the code run well on other system .

does it run well on other system also if used with proxychains4 ?

rofl0r avatar Jul 18 '16 08:07 rofl0r