<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 server-client application, so when server receives a file through socket, will that file will be saved in /temp/workfile ?<br>or should 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 <exarkun@divmod.com><br>To: Twisted general discussion <twisted-python@twistedmatrix.com><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
<<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>>
wrote:<br>>Hi
all,<br>>My
application
receiving
a
file
through
a
socket.<br>>How
can
i
save
that
file
to
my
own
folder
or
path.<br>>Should
i
create
an
object
of
that?<br>>How
to
check
whether
i
received
complete
file
or
not?<br>>and
what
about
the
original
copy
of
the
file
which
i
received?<br>>should
i
destroy
it?<br>>Thanks
in
advance.<br>><br><br>The
Python
tutorial
covers
files
i/o:<br><br>
<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>