FXP.One:Clients: Difference between revisions

From Lundman Wiki
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==The FXP.One clients==
1. Telnet into the box and change to the /mnt/syb8634/etc directory.


This is a known list of [[FXP.One]] clients. If you make a new one, feel free to add it here.  
2. Jailbreak the ftpuser and move him into the mounting directory:
          ../bin/pure-pw usermod ftpuser -D /opt/sybhttpd/localhost.drives/ -f pureftpd.passwd
3. Re-write the PureFTPd user database:
          ../bin/pure-pw mkdb pureftpd.pdb -f pureftpd.passwd
4. That's it, you can confirm your changes if you want
          ../bin/pure-pw show ftpuser -f pureftpd.passwd


==Newer versions==
A recent upgrade reveals that this method no longer works, as the ftp user file is now created dynamically on startup.


=== WFXP ===
To fix this, telnet into the box and copy to the /mnt/syb8634/etc/ftpserver.sh file to a download directory and edit the following section as below


[[Image:wfxp1.png|right|thumb|100px|WFXP]]
start() {
[[Image:wfxp2.png|right|thumb|100px|WFXP]]
        echo -n "Starting FTP Server..."
        /mnt/syb8634/bin/nmt_services.cgi cmd=ftp_passwd opt=ftpuser > /dev/null 2> /dev/null
        /mnt/syb8634/bin/telnetd telnetd -l /bin/sh -p 23 &
        /mnt/syb8634/bin/pure-ftpd -j -H -lpuredb:/etc/pureftpd.pdb -U 133:022 -c 10 -k 100 -I 1440 -w &
        /mnt/syb8634/bin/pure-pw usermod ftpuser -D /opt/sybhttpd/localhost.drives/ -f /etc/pureftpd.passwd
        /mnt/syb8634/bin/pure-pw mkdb /etc/pureftpd.pdb -f /etc/pureftpd.passwd
}


The HTML5 / WebSockets FTP client. This uses the new key1/key2 style WebSockets, which currently is only supported by Chrome. The other browsers will update their sockets in due time.
==Adding users==
Someone in the NMT forums asked me if there was a way to add additional users. I don't know why you would want multiple users, but here is your solution:


WFXP ships with FXP.One sources, and installs automatically with FXP.Oned daemon. It is currently the most convenience client to use with FXP.One. Simply connect to the HTTP socket of FXP.One (default is port 8886) with '''https://'''. Ie, SSL-HTTP.
Add the following line to your start() script near the usermod line:
(echo NEWUSER PASSWORD; echo NEWUSER PASSWORD) | pure-pw useradd NEWUSER -D /opt/sybhttpd/localhost.drives -u nmt -f /etc/pureftpd.passwd


 
Obviously, you want to replace NEWUSER PASSWORD in both cases with the password for the user you are creating and NEWUSER in the last instance with the username you desire for your new user. You can do this as many times, to add as many users as you like.
------
 
 
=== FXP.cOne ===
 
'''* FXP.cOne (CDK/ncurses client)'''
 
[[Image:fxp.cone.screen1.jpg|right|thumb|100px|FXP.cOne]]
 
This [[FXP.One]] client ships with the FXP.One packages and will be compiled automatically if '''./configure''' can find '''ncurses''' and the special version of '''CDK'''. Download the CDK library from [http://invisible-island.net/cdk/ http://invisible-island.net/cdk/]
 
Until the local site can be added the client, if you wish to create a '''local''' site, please use ''<local>'' as the setting for '''host''', '''user''' and '''pass'''.
 
 
Status: Beta: Completely Functional, but missing much cosmetics. Knowns bugs exist.
 
 
=== clomps ===
 
'''* clomps (console multiple site 'whats new?' query program, with auto-queue support)'''
 
[[Image:clomps.screen1.jpg|right|thumb|100px|clomps]]
 
This [[FXP.One]] client ships with the FXP.One packages and will be compiled automatically. It is a console only application that connects to multiple servers, works out what entries are '''new''' since it last ran, and presents a matrix of where files/directories are, and are missing. It can also automatically '''mirror''' between sites, in multiple ways, using the pass- and skip- lists. It can setup up sequential mirroring (A->B, then B->C) or concurrent mirroring. (A->B and A->C).
 
The latest Windows binary is available here (includes clomps binary):
[http://www.lundman.net/ftp/fxp-one-1.9-win32.zip fxp-one-1.9-win32.zip]
 
Older:
[http://www.lundman.net/ftp/clomps-v1.0.zip clomps-v1.0.zip]
 
 
[[clomps_conf|Example]] configuration file for clomps
 
 
=== clomps-irc ===
 
 
An IRC bot auto trader. This client sits on an IRC channel of your choosing, looking for "New Release" triggers to automatically create queues. Makes trading, and keeping sites synchronised ridiculously easy.
 
[[clomps_irc|Example]] configure file for clomps-irc
 
 
 
=== Ixodes ===
 
This [[FXP.One]] client is a GTK GUI client made on Python by a colleague. This client was never released and was made as a test-case for the '''UFxp''' client.
 
Status: deprecated.
 
 
=== UFxp ===
 
This [[FXP.One]] client is a Ultimate++ GUI client. This is an external client and the most complete GUI client at the moment. This is most likely what new users wants to use, unless they are in a console only environment. Please see the [[UFxp]] home page for more information.
 
Status: beta, fully functional.
 
[[Image:ufxp.screen1.jpg|right|thumb|100px|UFxp]]

Latest revision as of 07:02, 5 April 2012

1. Telnet into the box and change to the /mnt/syb8634/etc directory.

2. Jailbreak the ftpuser and move him into the mounting directory:

         ../bin/pure-pw usermod ftpuser -D /opt/sybhttpd/localhost.drives/ -f pureftpd.passwd

3. Re-write the PureFTPd user database:

         ../bin/pure-pw mkdb pureftpd.pdb -f pureftpd.passwd

4. That's it, you can confirm your changes if you want

         ../bin/pure-pw show ftpuser -f pureftpd.passwd

Newer versions

A recent upgrade reveals that this method no longer works, as the ftp user file is now created dynamically on startup.

To fix this, telnet into the box and copy to the /mnt/syb8634/etc/ftpserver.sh file to a download directory and edit the following section as below

start() {

       echo -n "Starting FTP Server..."
       /mnt/syb8634/bin/nmt_services.cgi cmd=ftp_passwd opt=ftpuser > /dev/null 2> /dev/null
       /mnt/syb8634/bin/telnetd telnetd -l /bin/sh -p 23 &
       /mnt/syb8634/bin/pure-ftpd -j -H -lpuredb:/etc/pureftpd.pdb -U 133:022 -c 10 -k 100 -I 1440 -w &
       /mnt/syb8634/bin/pure-pw usermod ftpuser -D /opt/sybhttpd/localhost.drives/ -f /etc/pureftpd.passwd
       /mnt/syb8634/bin/pure-pw mkdb /etc/pureftpd.pdb -f /etc/pureftpd.passwd

}

Adding users

Someone in the NMT forums asked me if there was a way to add additional users. I don't know why you would want multiple users, but here is your solution:

Add the following line to your start() script near the usermod line:

(echo NEWUSER PASSWORD; echo NEWUSER PASSWORD) | pure-pw useradd NEWUSER -D /opt/sybhttpd/localhost.drives -u nmt -f /etc/pureftpd.passwd

Obviously, you want to replace NEWUSER PASSWORD in both cases with the password for the user you are creating and NEWUSER in the last instance with the username you desire for your new user. You can do this as many times, to add as many users as you like.