Hello!
I am not aware with the ftp protocol neither the ftplib. A brief check of the documentation tells me that you have to pass a string to the rest not an integer. Print the type of rest_pos to see what ftp_dot_size() returns
I am not aware with the ftp protocol neither the ftplib. A brief check of the documentation tells me that you have to pass a string to the rest not an integer. Print the type of rest_pos to see what ftp_dot_size() returns