[sip-comm-dev] GSoC File transfer


#1

Hello everybody!

I have just finished my exams this week, and now I can focus completely on
the file transfer for SIP Communicator.

Concerning the file transfer, I think I can use various services already
existing such as the File Access
Service<http://www.sip-communicator.org/index.php/Documentation/FileAccessService>,
the Protocol <tr_1212695216906> Provider
Service<http://www.sip-communicator.org/index.php/Documentation/PPBasics>and
the UI
Service <http://www.sip-communicator.org/index.php/Documentation/UIService>.
The File Access Service will allow me to access to files in order to save
the files transferred, or to read the files to transfer. The Protocol
Provider Service will provide me an access to the different IM protocols.
And with the UI Service, it will be possible to add buttons ("send file")
and add the drag and drop feature directly in the dialog frame.

Most of the present libraries in SC have some methods in order to transfer
files. So I wonder if I just have to implement file transfer in the
different protocols or develop a new service (file transfer…). How YOU see
the implementation of file transfer for SC?

Any suggestion will be welcome!

···

--
Anthony Schmitt


#2

Hi, the mention of drag and drop caught my eye. This last semester I did a
little project that included drag and drop as a means of inputting text
(either directly or as files) to an application that did concurrent
searches. Just a heads up in case you haven't done it before- this is a
platform specific action. Linux (at least Gnome and KDE) provide the URI
while Windows uses the javaFileListFlavor. I've attached the source for the
frame I made with the TransferHandler, though I'd love to know if there's a
better way of handling it. Hope this helps! -Galen

SearchWindow.java (6.1 KB)

···

On Thu, Jun 5, 2008 at 2:42 PM, Anthony Schmitt <anthony.schmittt@gmail.com> wrote:

Hello everybody!

I have just finished my exams this week, and now I can focus completely on
the file transfer for SIP Communicator.

Concerning the file transfer, I think I can use various services already
existing such as the File Access Service<http://www.sip-communicator.org/index.php/Documentation/FileAccessService>,
the Protocol <http://tr_1212695216906> Provider Service<http://www.sip-communicator.org/index.php/Documentation/PPBasics>and the UI
Service<http://www.sip-communicator.org/index.php/Documentation/UIService>.
The File Access Service will allow me to access to files in order to save
the files transferred, or to read the files to transfer. The Protocol
Provider Service will provide me an access to the different IM protocols.
And with the UI Service, it will be possible to add buttons ("send file")
and add the drag and drop feature directly in the dialog frame.

Most of the present libraries in SC have some methods in order to transfer
files. So I wonder if I just have to implement file transfer in the
different protocols or develop a new service (file transfer…). How YOU see
the implementation of file transfer for SC?

Any suggestion will be welcome!
--
Anthony Schmitt


#3

Hi, the mention of drag and drop caught my eye. This last semester I did a
little project that included drag and drop as a means of inputting text
(either directly or as files) to an application that did concurrent
searches. Just a heads up in case you haven't done it before- this is a
platform specific action. Linux (at least Gnome and KDE) provide the URI
while Windows uses the javaFileListFlavor. I've attached the source for the
frame I made with the TransferHandler, though I'd love to know if there's a
better way of handling it. Hope this helps! -Galen

Thank you Damian! I have already learned about javaFileListFlavor, but
nothing are concrete (programmed) for now. If I find something which could
interest you, I will let you know =). I think your source can be very
usefull!

If other people have any suggestion such Damian's suggestion, it will be
welcome!

···

2008/6/6 Damian Johnson <atagar1@gmail.com>:

On Thu, Jun 5, 2008 at 2:42 PM, Anthony Schmitt < > anthony.schmittt@gmail.com> wrote:

Hello everybody!

I have just finished my exams this week, and now I can focus completely on
the file transfer for SIP Communicator.

Concerning the file transfer, I think I can use various services already
existing such as the File Access Service<http://www.sip-communicator.org/index.php/Documentation/FileAccessService>,
the Protocol <http://tr_1212695216906> Provider Service<http://www.sip-communicator.org/index.php/Documentation/PPBasics>and the UI
Service<http://www.sip-communicator.org/index.php/Documentation/UIService>.
The File Access Service will allow me to access to files in order to save
the files transferred, or to read the files to transfer. The Protocol
Provider Service will provide me an access to the different IM protocols.
And with the UI Service, it will be possible to add buttons ("send file")
and add the drag and drop feature directly in the dialog frame.

Most of the present libraries in SC have some methods in order to transfer
files. So I wonder if I just have to implement file transfer in the
different protocols or develop a new service (file transfer…). How YOU see
the implementation of file transfer for SC?

Nobody has suggestions about this one?

Any suggestion will be welcome!
--
Anthony Schmitt

<dev-help@sip-communicator.dev.java.net>