Parallel downloads with Multiprocessing and PySftp
问题 I'm trying to create a code to download N files at the same type using pysftp and multiprocessing libs. I made a basic python training, got pieces of codes and combined them into one, but I can't get it work out. I'd appreciate if somebody helps me with that. The error occurs after the vFtp.close() command. In the part that suppose to start simultaneous downloads. from multiprocessing import Pool import pysftp import os vHost='10.11.12.13' vLogin='admin' vPwd='pass1234' vFtpPath='/export/home