Nelson Kusuma wrote:
> Hello
>
> I have a problem when copy files and directory tree in
> ftp, scripts in here only copy one file:
To transfer an entire directory with ftplib you will have to read the
local directory with os.listdir() and loop to send the files.
There are a few higher-level mod
Hello
I have a problem when copy files and directory tree in
ftp, scripts in here only copy one file:
from ftplib import FTP
rootList = []
session = FTP()
session.connect('workstation', port=21)
session.login(user='saiki', passwd='saiki')
session.retrlines('LIST', rootList.append)
f=open('D:/PARAM