fp = open(local_path, "rb") # buf_size = 4096 # f.storbinary("STOR {}".format(remote_path), fp, buf_size) f.storbinary("STOR {}".format(remote_path), fp) fp.close()
python ftp upload jpg
猜你喜欢
转载自blog.csdn.net/Hodors/article/details/115074908
今日推荐
周排行