Python Forum
ftplib and pyftpdlib : REST (restart) command not working as expected when uploading
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ftplib and pyftpdlib : REST (restart) command not working as expected when uploading
#2
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
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
RE: ftplib and pyftpdlib : REST (restart) command not working as expected when uploading - by wavic - Mar-05-2017, 09:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to restart another PC on the local network? Kundan 1 2,169 Sep-21-2019, 11:31 AM
Last Post: ThomasL
  ftplib os.listdir function peterkl 1 4,632 Jun-07-2019, 08:21 AM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020