FXP.One: Difference between revisions

From Lundman Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Image:synology_logo.gif|Synoogy Inc. logo]] <br>
FXP.One is a whole new system to FTP and FXP. It is not just another
<p>The Synology NAS can host the [[llink]] media streaming server. If you don't compile it yourself, please note below which binary you should use for your model. The binary packages are not made to be integrated with the admin web interface.</p>
[[FXP.One:Clients|FTP client]]. It is in fact a very flexible FTP/FXP engine. This engine does
all the hard work with dealing with FTP sites. Built into that is
a very simple but powerful API protocol. The idea is then, if someone
wants to do an FTP, or FXP, client they can then make one without
the FTP hassles. Currently there already are multiple [[FXP.One:Clients|clients]]. They
all talk to the FXP.One engine, and you can interchange the [[FXP.One:Clients|clients]].


That is, use one client to create and queue up some items and start the
queue process. At a later time, a different client, from a different location
can connect and check on the progress of that queue, change it, add to it and
so on.
<paypal></paypal>




=== Binaries ===
'''FXP.One V2 released! Now comes with HTML5 WebSocket FTP Client! IRC Auto-trader bot! '''


'''Latest binaries'''<br>
The FXP.One engine features:
This contains a [[Llink:synology_autostart|startup script]], a Synology installation guide ([[Llink:synology_readme|README-Synology.txt]]) and a prepared llink.conf that points to the Synology default /volume1/video share. Place this binary in the /volume1 directory, untar and open the <code>README-synology.txt</code> file with a text editor for further assistance. Note: the startup script and the installation guide was written for the synology_x06_ppc in mind.
* Full FTP and FXP capabilities.
* SSL/TLS support, auto-sensing and forced.
* SSL/TLS data support, auto-sensing and forced.
* SSCN secure data FXP support.
* CCSN secure data FXP support.
* XDUPE aware for faster queue processing.
* Auto resume, or overwrite options
* Resume last (re-queue all resume items last for faster queue processing)
* FXP direction control (if one site is firewalled)
* PRET Pre-transfer support for ring-sites.
* Skip lists for both files and directories
* Pass lists for both files and directories (opposite to skip list)
* Move-first for both files and directories
* Automatic skip of empty files and directories.
* Encodes all file and directory names as to handle any locale.


[http://forum.synology.com/wiki/index.php/Is_my_NAS_an_ARM_or_a_PowerPC_CPU_model] Is_my_NAS_an_ARM_or_a_PowerPC_CPU_model


The following models uses ''x06_ppc'' version per default: (PowerPC ppc_6xx Freescale MPC8245 603e core MPC8241 603e core)
DS-101g+, DS-106j, DS-106e, DS-106, DS-106x , CS-406, RS-406 and CS-406e


The following x07-models share the same cpu family as x06 and should also use the ''x06_ppc''-version of llink:
[[Image:ufxp.screen1.jpg|right|thumb|100px|UFxp]]
DS-107e, DS-107, DS-207, DS-207.128 and CS-407e


Optware feed: http://ipkg.nslu2-linux.org/feeds/optware/ds101g/cross/unstable/


==Getting Sources==


The following models should use the ''x07_arm'': (ARM armv5tejl Marvell Orion 88F5281)
Latest tarball.
  DS-107+, DS-107+.128, DS-207+, CS-407 and RS-407
  [http://www.lundman.net/ftp/fxp-one-2.0.tar.gz FXP.One-2.0.tar.gz]


Optware feed: http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/
Windows binary
[http://www.lundman.net/ftp/FXP.One-v2.01-win32.zip FXP.One-v2.0-win32.zip] FXP.One, clomps and clomps-irc for Win32


                         
Older versions:
[http://www.lundman.net/ftp/fxp-one-1.9.tar.gz FXP.One-1.9.tar.gz]
[http://www.lundman.net/ftp/fxp-one-1.7.tar.gz FXP.One-1.7.tar.gz]
[http://www.lundman.net/ftp/fxp-one-1.6.tar.gz FXP.One-1.6.tar.gz]
[http://www.lundman.net/ftp/fxp-one-1.4.tar.gz FXP.One-1.4.tar.gz]
[http://www.lundman.net/ftp/fxp-one-1.3.tar.gz FXP.One-1.3.tar.gz]
[http://www.lundman.net/ftp/fxp-one-1.2.tar.gz FXP.One-1.2.tar.gz]
[http://www.lundman.net/ftp/FXP.One.v1.1.b737.tgz FXP.One.v1.1.b737.tgz]
[http://www.lundman.net/ftp/FXP.One.v1.1.b735.tgz FXP.One.v1.1.b735.tgz]
[http://www.lundman.net/ftp/FXP.One-v1.0.b598.tgz FXP.One-v1.0.b598.tgz]


The following models should use the ''e500_ppc'': (PowerPC ppc_85xx Freescale MPC8543 e500v2 core)
DS-508 RS-408 DS-408 DS-209+




The following models should use the '''x10_arm''':
[[CVS]] Use CVS for cutting-edge version.
DS210j DS410j DS110j


The following models should use the '''D510_x86''':
[[Compile]] FXP.One
1010+


[[FXP.Oned_Changelog|Changelog]]


[http://www.lundman.net/unix/FXP.One_commitlog.txt Old CVS Changelog]


'''Download binary'''
==Clients==
[http://www.lundman.net/ftp/llink/llink-2.3.2-synology_x10_arm.tar.gz llink-2.3.2-synology_x10_arm.tar.gz] (libdvdnav,ClinkC) for x10 models
[http://www.lundman.net/ftp/llink/llink-2.3.2-synology_D510_x86.tar.gz llink-2.3.2-synology_D510_x86.tar.gz] (clinkc) 2011-12-27
[[Media:Llink-2.2.4-synology_x06_ppc.tar.gz|llink-2.2.4-synology_x06_ppc.tar.gz]] build 1756 (Thu Jul 29 11:50:38 2010) (libdvdnav), added 2010-12-06
[http://www.lundman.net/ftp/llink/llink-2.3.2-synology_x07_arm.tar.gz llink-2.3.2-synology_x07_arm.tar.gz]  (libdvdnav,ClinkC) for x07 ARM
[http://www.lundman.net/ftp/llink/llink-2.2.2-synology_e500_ppc.tar.gz llink-2.2.2-synology_e500_ppc.tar.gz] build 1609 (libdvdnav) for x09 models


[[FXP.One:Clients|Clients]]


'''Older binaries'''
[http://www.lundman.net/ftp/llink/llink-2.2.3-synology_x10_arm.tar.gz llink-2.2.3-synology_x10_arm.tar.gz] build 1609 (libdvdnav) for x10 models
[http://www.lundman.net/ftp/llink/llink-2.2.4-synology_x10_arm.tar.gz llink-2.2.4-synology_x10_arm.tar.gz] build 1609 (libdvdnav) for x10 models
[[Media:Llink-2.2.0-synology_x06_ppc.tar.gz|llink-2.2.0-synology_x06_ppc.tar.gz]] build 1305 (Mon Oct 27 12:30:29 2008) (libdvdnav), added 2008-11-02
[http://www.lundman.net/ftp/llink/llink-2.2.0-synology_e500_ppc.tar.gz llink-2.2.0-synology_e500_ppc.tar.gz] build 1305 (libdvdnav)
[[Media:Llink-2.1.1-synology_x07_arm.tar.gz|llink-2.1.1-synology_x07_arm.tar.gz]] build 1000 (Tue Aug 12 11:09:44 2008) (libdvdread), added 2008-08-08
[[Media:Llink-2.1.2-synology_x06_ppc.tar.gz|llink-2.1.2-synology_x06_ppc.tar.gz]] build 1103 (Fri Aug 29 20:51:03 2008) (libdvdnav), added 2008-09-01
[[Media:Llink-2.1.1-synology_x06_ppc.tar.gz|llink-2.1.1-synology_x06_ppc.tar.gz]] build 1000 (Tue Aug 12 11:09:44 2008) (libdvdread), added 2008-08-08
[[Media:Llink-2.1.0-synology_x06_ppc.tar.gz|llink-2.1.0-synology_x06_ppc.tar.gz]] build 961 (Fri Aug  8 11:09:44 2008) (libdvdread), added 2008-08-08
[[Media:Llink-2.1.0-synology_x07_arm.tar.gz|llink-2.1.0-synology_x07_arm.tar.gz]] build 961 (Fri Aug  8 11:09:44 2008) (libdvdread), added 2008-08-08
[http://www.lundman.net/ftp/llink/llink-2.0.6-synology_x07_arm.tar.gz llink-2.0.6-synology_x07_arm.tar.gz] build 750 (Fri May 21 16:17:40 2008), added 2008-05-21
[http://www.lundman.net/wiki/images/1/1f/Llink-2.0.8-synology_x06_ppc.tar.gz llink-2.0.8-synology_x06_ppc.tar.gz‎]] build 904 (Fri Jun 20 12:40:12 2008) (libdvdread), added 2008-06-20
[[Media:Llink-2.0.7-synology_x06_ppc.tar.gz|llink-2.0.7-synology_x06_ppc.tar.gz]] build 830 (Mon Jun  2 11:09:44 2008) (libdvdread), added 2008-06-06
[[Media:Llink-2.0.6-syno_x06.tar.gz|llink-2.0.6-syno_x06.tar.gz]] build 750 (Fri May 16 16:17:45 2008), added 2008-05-17
[[Media:Llink-2.0.4-syno_x06.tar.gz|llink-2.0.4-syno_x06.tar.gz]] build 709 (Mon Apr 21 10:06:04 2008), added 2008-04-24 
[[Media:Llink-2.0.3-syno_x06.tar.gz|llink-2.0.3-syno_x06.tar.gz]] build 709 added 2008-04-21
[[Media:Llink-2.0.2-syno_x06.tar.gz|llink-2.0.2-syno_x06.tar.gz]]
[http://www.lundman.net/ftp/llink/llink-1.9.2-synology.tar.gz llink-1.9.2-synology.tar.gz]




Once you've installed the binary you have to update the llink.conf file so it points to your media files, uses the right port etc.
==General tech specs==


=== Installation pre-requisites ===
[[Error Codes]] For Protocol error codes and definitions.
Telnet/SSH-patch installed on the NAS.


If you want to autostart llink from boot, you can use this [[Llink:synology_autostart|script]].<br>
[[YNA Type]] Yes, No and Auto type
Otherwise you must enter via telnet and start manually after shutdown or restart.


If you have ''Optware'' enabled you can use the appropriate feed to automagically download and install llink, from version 2.0.9. See feed links above.
[[Encoding]] The directory and file encoding scheme used.


=== Toolchains ===
[[Site Definition]] Current SITE definition and its members.
==== x06 ====
For the synology_x06 compiles, the toolchain for the DS1010g has been used successfully, found  at [http://www.nslu2-linux.org/wiki/DS101/HomePage NSLU2-linux.org].


==== x07 ====
[[Extra Site]] members also understood by the engine.
If you use a Synology NAS from the x07-series there is a toolchain available for compiling source at [http://www.synology.com/wiki/index.php/Mods_for_Marvell_mv5281_ARM-based_Synology_Products#Toolchain Synology.com]


Unfortunately, this toolchain is missing the Linux headers required. asm->asm-arm, linux and asm-generic. One way to solve this is go download Linux-2.6.15 linux kernel. (There is one on NMT forum, probably one in my ftp somewhere - anyway, it is GPL and available everywhere).
[[Client Site]] recommendations.


Issue the following commands:
[[Phases]] required to do a file transfer. (need to do directory listing some day)


# sudo bash
==API COMMANDS==
# cd /usr/local/arm-marvell-linux-gnu/arm-marvell-linux-gnu/include/
# rsync -arv $YOUR_PATH/linux-2.6.15/include/asm-arm/ asm/
# rsync -arv $YOUR_PATH/linux-2.6.15/include/asm-generic/ asm-generic/
# rsync -arv $YOUR_PATH/linux-2.6.15/include/linux/ linux/


==== e500 ====
[[Protocol]] definition and specifications.


[http://sourceforge.net/project/downloading.php?group_id=238526&filename=gcc343_glibc234_854x.tar.gz&a=89364623 e500 gcc for toolchain]]


==== x10 ====


DS410j etc. Toolchain here: [http://downloads.sourceforge.net/project/dsgpl/Tool%20Chain/Marvell%2088F6281%20Linux%202.6.24/gcc421_glibc25_88f6281.tar.gz?use_mirror=jaist]
== Local transfers ==


=== Additional resources and references ===
[[FXPOne:local|local]]
NSLU2-Linux.org [http://www.nslu2-linux.org/wiki/Optware/Packages?from=Unslung.Packages]<br>
 
flipflip's Diskstation site [http://oinkzwurgl.org/diskstation]<br>
 
Synology's official forum [http://www.synology.com/enu/forum/]
 
== Help ==
 
[[FXPOne|FAQ]]

Revision as of 06:58, 4 August 2012

FXP.One is a whole new system to FTP and FXP. It is not just another FTP client. It is in fact a very flexible FTP/FXP engine. This engine does all the hard work with dealing with FTP sites. Built into that is a very simple but powerful API protocol. The idea is then, if someone wants to do an FTP, or FXP, client they can then make one without the FTP hassles. Currently there already are multiple clients. They all talk to the FXP.One engine, and you can interchange the clients.

That is, use one client to create and queue up some items and start the queue process. At a later time, a different client, from a different location can connect and check on the progress of that queue, change it, add to it and so on. <paypal></paypal>


FXP.One V2 released! Now comes with HTML5 WebSocket FTP Client! IRC Auto-trader bot!

The FXP.One engine features:
* Full FTP and FXP capabilities.
* SSL/TLS support, auto-sensing and forced.
* SSL/TLS data support, auto-sensing and forced.
* SSCN secure data FXP support.
* CCSN secure data FXP support.
* XDUPE aware for faster queue processing.
* Auto resume, or overwrite options
* Resume last (re-queue all resume items last for faster queue processing)
* FXP direction control (if one site is firewalled)
* PRET Pre-transfer support for ring-sites.
* Skip lists for both files and directories
* Pass lists for both files and directories (opposite to skip list)
* Move-first for both files and directories
* Automatic skip of empty files and directories.
* Encodes all file and directory names as to handle any locale.


UFxp


Getting Sources

Latest tarball.

FXP.One-2.0.tar.gz 

Windows binary

FXP.One-v2.0-win32.zip FXP.One, clomps and clomps-irc for Win32


Older versions:

FXP.One-1.9.tar.gz 
FXP.One-1.7.tar.gz 
FXP.One-1.6.tar.gz 
FXP.One-1.4.tar.gz 
FXP.One-1.3.tar.gz 
FXP.One-1.2.tar.gz 
FXP.One.v1.1.b737.tgz 
FXP.One.v1.1.b735.tgz 
FXP.One-v1.0.b598.tgz 


CVS Use CVS for cutting-edge version.

Compile FXP.One

Changelog

Old CVS Changelog

Clients

Clients


General tech specs

Error Codes For Protocol error codes and definitions.

YNA Type Yes, No and Auto type

Encoding The directory and file encoding scheme used.

Site Definition Current SITE definition and its members.

Extra Site members also understood by the engine.

Client Site recommendations.

Phases required to do a file transfer. (need to do directory listing some day)

API COMMANDS

Protocol definition and specifications.


Local transfers

local


Help

FAQ