Mar-12-2018, 12:55 PM
Hi,
I'm trying to move a file called: "Rec1_20180122.avi" into a folder named '20180122' with no success.
I've googled a bit, and I came to the conclusion that I should do it with ftp.rename(src, dst).
Could you please help me out with this issue? It just doesn't work. I tried this as well:
I'm trying to move a file called: "Rec1_20180122.avi" into a folder named '20180122' with no success.
I've googled a bit, and I came to the conclusion that I should do it with ftp.rename(src, dst).
Could you please help me out with this issue? It just doesn't work. I tried this as well:
f = 'Rec1_20180122.avi' d = '20180122' ftp.rename(f, ftp.cwd(d))