TIP: Click on subject to list as thread! ANSI
echo: bbbs.english
to: ROBERT WOLFE
from: JANIS KRACHT
date: 2016-04-22 14:43:00
subject: Re: FTP Fido via BBBS?

Hi Robert,

> The answer to your question, to the best of my knowledge, is no.  To do this,
> you would need a third party FTP server running and scripts written to move
> mail packets to and from your BBBS machine.

With the Linux version you can do it... I use this method now to deliver and
pick up from a few systems.  Documentation indicates that other OS's should be
able as well using a scripting language like Rexx.

From sysop.gui:

========================================
BBBS BFTP - Batch FTP

BFTP can also be used to transfer FidoNet mail via FTP.  A few items need to
be configured in order to do, but they are rather straightforward.  Edit your
external.bbb's [node_remap] section and add something like:

,1:140/14.0,fb,Edmonton,Vincent_Danen,bbs.freezer-burn.org,300

This tells BBBS that node 1:140/14 is available at the domain name
bbs.freezer-burn.org.  For more information (and other possibilities such as
different flags to use for telnet/binkp/etc. see the [node_remap] section).

An example commandfile:

bbs.freezer-burn.org
example_user
example_pw
cd in
put login.bsy
put 1:140/14
del login.bsy
cd ../out
put login.bsy
getdel *
del login.bsy
quit


To put the above into a working script (commandfile called "fb.ftp") you might
use:

  #!/bin/sh
  cd $BBBSDIR
  if [ -f login.bsy ]; then
    exit 0
  fi
  touch login.bsy
  ./bbbs bftp fb.ftp /ftn/mail/in > /dev/null 2>&1
  rm -f login.bsy
  ./bbbs bogus w

This adds some extra security precautions.  The script will check for a The
script will check for a login.bsy file indicating that an ftp session is
already in place, and if it exists, it will abort the script.  If it doesn't
exist, BFTP is called (with all messages and error message being discarded) and
once it's done, login.bsy is once again removed.

The commandfile itself will upload/remove the login.bsy file on the ftp site to
indicate to the remote system that we are logged in and transferring files
(refer to your uplink for appropriate busy semaphores and where they should be
placed).  The above script is, of course, for linux, but the basic idea is
clear and can easily be adapted to another OS using REXX or batchfile
scripting.

Commands that can be used in FTP scripts are (full command can be used or only
capital letters in command to abbreviate):

  Cd        Change directory
  Dir       List files
  Names     Get list of file names in directory
  Get       Download files
  Quit      Exit FTP
  Site      Site specific commands
  Type      Type (display) file to screen


====

Take care,
Janis

--- BBBS/Li6 v4.10 Dada-2
* Origin: Prism bbs (1:261/38)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.