[Twisted-Python]need clarification on "save an received file"

Raj kumar k_r_a_j_kumar at yahoo.co.in
Tue Feb 19 21:41:06 MST 2008


I need one clarification on this,
my appplication is of  server-client application, so when server receives a file through socket, will that file will be saved in  /temp/workfile ?
or  should  i use a socket handler with file object to receive that file ?

----- Original Message ----
From: Jean-Paul Calderone <exarkun at divmod.com>
To: Twisted general discussion <twisted-python at twistedmatrix.com>
Sent: Tuesday, 19 February, 2008 7:26:43 PM
Subject: Re: [Twisted-Python] save an received file

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

_______________________________________________
Twisted-Python 
mailing 
list
Twisted-Python at twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python






      Get your domain and website for less than Rs.100/month*. Go to http://in.business.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20080220/dc264517/attachment.html>


More information about the Twisted-Python mailing list