[Vortex] When I use vortex_payload_feeder_pause(feeder, axl_true) to cancel an upload, how can I know on server side this upload is cancelled not done?

Scott Zhang macromarship at gmail.com
Sat May 26 08:22:38 CEST 2012


Thanks.
I tried to read the code and finally I came to same way send the file size
first yesterday.


Regards.
Scott

2012/5/25 Francis Brosnan Blazquez <francis at aspl.es>

> > Hello. All.
>
> Hi Scott,
>
> >    I am using vortex_payload_feeder to upload file from client to
> > server. The problem I get is when I cancel the upload on client side.
> > How can I know on server side this upload is cancelled so I need to
> > remove the already saved part of file.
>
> There is no way to distinguish a canceled transfer from a finished
> transfer if your application do not provide that information (payload
> feeder just transfer and tries to leave the channel in an usable state
> after pausing/canceling)...
>
> There are many ways, but I would recommend sending the amount of content
> to be sent to the server before proceeding to the transfer on the client
> so, in the server if you detect a transfer completed and size doesn't
> match, proceed to cancel...
>
> > Thanks.
> > Regards.
> > Scott
> > _______________________________________________
> > Vortex mailing list
> > Vortex at lists.aspl.es
> > http://lists.aspl.es/cgi-bin/mailman/listinfo/vortex
>
> --
> Francis Brosnan Blázquez <francis.brosnan at aspl.es>
> ASPL
> 91 134 14 22 - 91 134 14 45 - 91 116 07 57
>
> AVISO LEGAL
>
> Este mensaje se dirige exclusivamente a su destinatario. Los datos
> incluidos en el presente correo son confidenciales y sometidos a secreto
> profesional, se prohíbe divulgarlos, en virtud de las leyes vigentes. Si
> usted no lo es y lo ha recibido por error o tiene conocimiento del mismo
> por cualquier motivo, le rogamos que nos lo comunique por este medio y
> proceda a destruirlo o borrarlo.
>
> En virtud de lo dispuesto en la Ley Orgánica 15/1999, de 13 de
> diciembre, de Protección de Datos de Carácter Personal, le informamos de
> que sus datos de carácter personal, recogidos de fuentes accesibles al
> público o datos que usted nos ha facilitado previamente, proceden de
> bases de datos propiedad de Advanced Software Production Line, S.L.
> (ASPL). No obstante, usted puede ejercitar sus derechos de acceso,
> rectificación, cancelación y oposición dispuestos en la mencionada Ley
> Orgánica, notificándolo por escrito a:
> ASPL - Protección Datos, C/Antonio Suárez 10 A-102, 28802, Alcalá de
> Henares (Madrid).
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.aspl.es/pipermail/vortex/attachments/20120526/63d642ab/attachment.htm>


More information about the Vortex mailing list