<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">I need one clarification on this,<br>my appplication is of&nbsp; server-client application, so when server receives a file through socket, will that file will be saved in&nbsp; /temp/workfile ?<br>or&nbsp; should&nbsp; i use a socket handler with file object to receive that file ?<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Jean-Paul Calderone &lt;exarkun@divmod.com&gt;<br>To: Twisted general discussion &lt;twisted-python@twistedmatrix.com&gt;<br>Sent: Tuesday, 19 February, 2008 7:26:43 PM<br>Subject: Re: [Twisted-Python] save an received file<br><br>On 
Tue, 
19 
Feb 
2008 
19:14:26 
+0530 
(IST), 
Raj 
kumar 
&lt;<a ymailto="mailto:k_r_a_j_kumar@yahoo.co.in" href="mailto:k_r_a_j_kumar@yahoo.co.in">k_r_a_j_kumar@yahoo.co.in</a>&gt; 
wrote:<br>&gt;Hi 
all,<br>&gt;My 
application 
receiving 

file 
through 

socket.<br>&gt;How 
can 

save 
that 
file 
to 
my 
own 
folder 
or 
path.<br>&gt;Should 

create 
an 
object 
of 
that?<br>&gt;How 
to 
check 
whether 

received 
complete 
file 
or 
not?<br>&gt;and 
what 
about 
the 
original 
copy 
of 
the 
file 
which 

received?<br>&gt;should 

destroy 
it?<br>&gt;Thanks 
in 
advance.<br>&gt;<br><br>The 
Python 
tutorial 
covers 
files 
i/o:<br><br>&nbsp; 
<a href="http://www.python.org/doc/tut/node9.html#SECTION009200000000000000000" target="_blank">http://www.python.org/doc/tut/node9.html#SECTION009200000000000000000</a><br><br>If 
that's 
not 
what 
you're 
asking 
about, 
you 
need 
to 
be 
more 
specific.<br><br>Jean-Paul<br><br>_______________________________________________<br>Twisted-Python 
mailing 
list<br><a ymailto="mailto:Twisted-Python@twistedmatrix.com" href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br><a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br></div><br></div></div><br>


      <!--1--><hr size=1></hr> Bollywood, fun, friendship, sports and more. You name it, <a href="http://in.rd.yahoo.com/tagline_groups_1/*http://in.promos.yahoo.com/groups"> we have it.</a></body></html>