Welcome, Guest! Log In | Create Account

Welcome to the Cs-ObexFtp

Cs-ObexFtp

The GUI application Cs-ObexFtp is a graphical user interface for obexftp and openobex.
See http://www.openobex.org for more info about it.

All release can be found here :

For impatient people they can try SVN version (most recent than the release) at

http://cs-obexftp.svn.sourceforge.net/viewvc/cs-obexftp/

or

svn co https://cs-obexftp.svn.sourceforge.net/svnroot/cs-obexftp cs-obexftp

It is write in C# using .NET technology, you need at least the 2.0 framework for the windows platform (see windowsupdate.com). Otherwise the MONO framework from http://mono.ximian.com/daily/
At the time of writing this, my mono version for Linux is:
http://mono.ximian.com/daily/mono-20070821.tar.bz2
This version solves most of the bugs I encountered.

Also a best thing is to update often as possible with the last version from here :
http://mono.ximian.com/daily/mono-latest.tar.bz2

For both platforms, windows and linux/unix you need the openobex and obexftp DLLs for C#, the latest version are included with the installer. If you want to check for updates, download obexftp-x.xx-csharp.tar.bz2 from http://triq.net/obexftp/

To create the obexftp.dll (for C#) run the following commands:
(With MONO use gmcs, mcs doesn't understand generics; with MS .NET use Csc.exe)

under windows :
C:\WINDOWS\Microsoft.NET\Frameworkv2.0.50727\Csc.exe
in a console add /? to see help

for example :
C:\WINDOWS\Microsoft.NET\Frameworkv2.0.50727\Csc.exe /noconfig /unsafe+ /checked+ /nowarn:1701,1702 /nostdlib- /platform:AnyCPU /warn:4 /baseaddress:4194304 /main:CObexFtp.!MainForm /reference:C:\WINDOWS\Microsoft.NET\Frameworkv2.0.50727\Microsoft.!VisualBasic.dll /reference:.\obexftp.dll /reference:C:\WINDOWS\Microsoft.NET\Frameworkv2.0.50727\System.Configuration.dll /reference:C:\WINDOWS\Microsoft.NET\Frameworkv2.0.50727\System.Data.dll /reference:C:\WINDOWS\Microsoft.NET\Frameworkv2.0.50727\System.dll /reference:C:\WINDOWS\Microsoft.NET\Frameworkv2.0.50727\System.Drawing.dll /reference:C:\WINDOWS\Microsoft.NET\Frameworkv2.0.50727\System.Windows.Forms.dll /reference:C:\WINDOWS\Microsoft.NET\Frameworkv2.0.50727\System.Xml.dll /debug- /filealign:4096 /optimize+ /out:obj\Release\Cs-!ObexFtp.exe /resource:obj\Release\CObexFtp.About.resources /resource:obj\Release\CObexFtp.!MainForm.resources /resource:obj\Release\CObexFtp.Options.resources /resource:objReleaseCObexFtp.Properties.Resources.resources /target:winexe /warnaserror- /win32icon:ico01015.ico About.cs About.Designer.cs !AssemblyInfo.cs !MainForm.cs !MainForm.Designer.cs Options.cs Options.Designer.cs !ObexFunc.cs Properties\Resources.Designer.cs Properties\Settings.Designer.cs TreeXML.cs !XmlReadWrite.cs XPathNav.cs ./ZanyClient.cs ./XmlDataPhone.cs

All related CS files are located in the obexftp-x.xx\swig\csharp dir of the archive so you need to go there and use:
'my compiler (gmcs, mcs or Csc.exe) /out:obexftp.dll /target:library client.cs obexftp.cs obexftpPINVOKE.cs'
Be careful with the name, don't forget Linux/Unix is case sensitive and the name is really important. Cs-ObexFtp loads those by the name and directory, the DLL needs to be placed in the same dir as Cs-ObexFtp.exe.

- Using Linux/Unix, you need all the latest Linux library, so go to the root dir of extraction of obexftp-x.xx-csharp.tar.bz2 archive and as usualy:
./configure (often better do change the default /usr/local prefix to --prefix=/usr)
make
make install

- Using windows, you need the newest windows port of openobex/obexftp from http://triq.net/obexftp/obex-win32.zip. In the archive are the windows DLLs of the Linux openobex stuff and also libusb. You must place all those DLLS in the same dir as Cs-ObexFtp.exe.
The DLLs are include with the windows installer.

I wish you a great time playing with Cs-ObexFtp and your mobile phone.

Contact : mailto:surfzoid@…

The End.