pyftpdlib Capabilities

15 views
Skip to first unread message

Ron Tsoref

unread,
Jan 24, 2012, 2:32:00 PM1/24/12
to pyft...@googlegroups.com
Hi.  I just discovered pyftpdlib and I'm wondering if it's suitable for a little project I want to create. It would be great to have your opinion.

Basically I want to create a server that will have some virtual ftp accounts, but the main thing here is that I need to "watch" this folders to see when uploads are done and completed. Does pyftpdlib provides any API that can help keep track the file upload process?

Thanks for your time,

Ron.

Giampaolo Rodolà

unread,
Jan 24, 2012, 2:42:45 PM1/24/12
to pyft...@googlegroups.com
Hey there.
Yes, pyftpdlib provides a set of event callbacks.
You're looking for FTPHandler.on_file_received.
See here for an example usage:

Ron Tsoref

unread,
Jan 24, 2012, 2:54:07 PM1/24/12
to pyft...@googlegroups.com
Great!  That's exactly what I was looking for.

Thanks a lot!

--
You received this message because you are subscribed to the "Python FTP server library" project group:
http://code.google.com/p/pyftpdlib/
To post to this group, send email to pyft...@googlegroups.com
To unsubscribe from this group, send email to pyftpdlib-...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/pyftpdlib

Reply all
Reply to author
Forward
0 new messages