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

Andy Fundinger Andy at NewWorldElectric.com
Wed Feb 20 09:04:10 EST 2008


Oh, I get it, you're expecting it to work like php where files are
automatically stored somewhere for you, no it won't be saved, you need
to implement your own code to save it if you're using your own
protocols for the rest of your communications.  If you're using http
or another protocol, please mention that and maybe someone will know
if files are handled there, not sure myself.

-Andy

On Wed, Feb 20, 2008 at 12:56 AM, Drew Smathers <drew.smathers at gmail.com> wrote:
> On Feb 19, 2008 11:41 PM, Raj kumar <k_r_a_j_kumar at yahoo.co.in> wrote:
>
> >
> >
> >
> > 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 ?
> >
>
> I would try to help you my friend, but I have no earthly idea what you're
> talking about.  /temp/workfile?  So far as I know, sockets receive bytes,
> not files. Does that help?? Anyhow, if you provided some sample code showing
> what you're trying to do, someone might be able to help you.  It would also
> be apropriate if your question actually had something to do with Twisted.
>
> Cheers,
> --
> \\\\\/\"/\\\\\\\\\\\
> \\\\/ // //\/\\\\\\\
> \\\/  \\// /\ \/\\\\
> \\/ /\/ / /\/ /\ \\\
> \/ / /\/ /\  /\\\ \\
> / /\\\  /\\\ \\\\\/\
> \/\\\\\/\\\\\/\\\\\\
>                d.p.s
> _______________________________________________
>  Twisted-Python mailing list
>  Twisted-Python at twistedmatrix.com
>  http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>



-- 
Blog: http://channel3b.wordpress.com
Second Life Name: Ciemaar Flintoff

I am a sig Virus. Please put me in your sig so that I can continue to replicate.




More information about the Twisted-Python mailing list