[Twisted-Python] save an received file

Jean-Paul Calderone exarkun at divmod.com
Tue Feb 19 06:56:43 MST 2008


On Tue, 19 Feb 2008 19:14:26 +0530 (IST), Raj kumar <k_r_a_j_kumar at yahoo.co.in> wrote:
>Hi all,
>My application receiving a file through a socket.
>How can i save that file to my own folder or path.
>Should i create an object of that?
>How to check whether i received complete file or not?
>and what about the original copy of the file which i received?
>should i destroy it?
>Thanks in advance.
>

The Python tutorial covers files i/o:

  http://www.python.org/doc/tut/node9.html#SECTION009200000000000000000

If that's not what you're asking about, you need to be more specific.

Jean-Paul




More information about the Twisted-Python mailing list