ABLEä

 

Advanced Bindery Library Exchange

 

 

 

 

 

 

 

Reference Guide

 

 

 

 

 

Volume 23

 

FTP

 

 

 

 

 

 

 

 

 

 

Version 6.6.1

June 9, 2003

     

 

 

 

 

ABLEä Ventures, LLC

     


Copyright by ABLEä Ventures, LLC

 

This reference guide is copyrighted and all rights are reserved.  This document may not, in whole or in part, be copied, photocopied, reproduced translated, reduced to any electronic medium or machine readable form without prior consent, in writing, from the ABLEä Ventures, LLC.

 

The information in this document is subject to change without notice. The ABLEä Ventures, LLC assumes no responsibility for errors that may appear in this document.

 

For more information visit the ABLEä web site:  http://www.programmingconcepts.com/able/

Or contact,

ABLEä Ventures, LLC

c/o Paul Parisi

ACME Bookbinding

100 Cambridge Street

Charlestown, MA  02129

 (800) 242-1821

 

For technical support contact:

 

Programming Concepts, Inc.

                                                                 

web site:               http://www.programmingconcepts.com/able/

e-mail:                   able_support@programmingconcepts.com

telephone:              631-563-3800 x230

fax:                       631-563-3898

                                                                 

 

ABLEä Ventures, LLC

Acme Bookbinding

Information Conservation, Inc.

Kater-Crafts Bookbinders

Lehmann Bookbinding

Mekatronics Inc.

National Library Binding of Georgia

Ocker & Trapp Library Bindery Inc.

Programming Concepts, Inc.

 

 

 

ABLEä is a trademark of Mekatronics, Inc. / Bendror International Inc. 1987-2001

 

 

 


 

Table of Contents

 

1.  INTRODUCTION.................................................................................................................................. 7

2. REQUIREMENTS................................................................................................................................... 7

3. FILES.................................................................................................................................................... 7

4. CONFIGURATION................................................................................................................................. 8

ABLE_HOST............................................................................................................................................... 8

ABLE_LOGON............................................................................................................................................ 8

ABLE_PASSWORD..................................................................................................................................... 8

ABLE_LOCALPATH.................................................................................................................................... 8

ABLE_REMOTEPATH................................................................................................................................. 8

5. USAGE................................................................................................................................................... 9

ABLE_PUT.BAT.......................................................................................................................................... 9

ABLE_GET.BAT......................................................................................................................................... 9

6.      Errors............................................................................................................................................... 9

 

 


Release Notes

 

 

V6.0                  Preliminary release for review.

V6.01                 Changes for ABLEä release 6.01.

V6.02                 Changes for ABLEä release 6.02.

V6.4                  Changed copyright.

 


Volumes

 

The ABLEä Reference Guide is comprised of multiple volumes.  The collection of volumes describes the functional and operational characteristics of ABLEä.  The volumes are:                     

 

 

Volume

Reference Guide

File Name

1

Introduction

r6-intro.htm

2

Library User

r6-library-user.htm

3

User Interface

r6-user.htm

4

Title Composition

r6-title.htm

5

Text Fit Style Guide

R6-style.htm

6

Reports

r6-report.htm

7

Bindery Control Services

r6-control.doc

9

File Maintenance

r6-maint.htm

10

Bindery Transfer

r6-transfer.htm

12

Embosser Control

R6-emboss.htm

13

Help

r6-help.htm

15

Billing Statistics

r6-bill.htm

16

Preventive Maintenance

r6-pm.htm

19

System 3 Services

R6-s3.htm

20

Library Installation

r6-linstall.htm

21

Bindery Installation

r6-binstall.htm

22

EZ-Cut

r6-ezcut.htm

23

FTP

r6-ftp.htm

24

A-Link

r6-alink.htm

25

Z-Link

r6-zlink.htm

27

File Import Service

r6-file-import.htm

 

 


Glossary of Terms

 

 

FTP                   File Transfer Protocol. A method for transferring files between two computers.

FTP Server       A machine configured to interact with others using FTP.


1.  INTRODUCTION

 

The ABLEä FTP batch file provides a simple interface for transferring files between an ABLEä library and ABLEä bindery via a common FTP site.

 

The batch file reads the master file and generates a script file that will be used by the FTP utility to upload all the files for each account.

 

 

2. REQUIREMENTS

 

Machine running Windows 95, 98, or NT 4.0 with TCP/IP installed.

 

 

3. FILES

 

There are eight files involved in transferring files. Only one (ftp_config.bat) is to be edited for configuration purposes.

 

ftp_config.bat

Able_put.bat

Able_get.bat

do_put.bat

do_get.bat

make_dir.bat

make_dir_file.bat

foreach.exe

 


 

4. CONFIGURATION

 

Before the batch files are used, a configuration file must be properly configured.

Using any text editor to edit the file ftp_config.bat

 

Example file:

 

set ABLE_HOST=ftp.mybinder.com

set ABLE_LOGON=anonymous

set ABLE_PASSWORD=<your email address>

set ABLE_LOCALPATH=c:\able\ftp

set ABLE_REMOTEPATH=<library name>

 

 

 

ABLE_HOST

 

This is the name of the FTP server to transfer files  to.

 

 

ABLE_LOGON

 

Once connected to an FTP server, a user name must be supplied. Typically this might be the 'anonymous' user or may be an account set up especially for this purpose.

 

 

ABLE_PASSWORD

 

Along with a user name (see ABLE_LOGON, above) a password must be supplied. Note that the password requested for anonymous FTP is generally just the email address of the user.

 

 

ABLE_LOCALPATH

 

When files are being sent (put, or uploaded) to the FTP server, this item must be set to the full path of the directory that the Bindery Transfer is set to in ABLEä.  When files are being retrieved (get, or downloaded) from the FTP server, this item must be set to the full path of the directory that will contain the files to restore.

 

 

ABLE_REMOTEPATH

 

When files are being sent (put, or uploaded) to the FTP server, this item must be set to the path off the FTP root that will contain the transferred files.  When files are being retrieved (get, or downloaded) from the FTP server, this item must be set to the full path of the directory that contains files to restore.  This variable should be set to a unique library name in order for multiple libraries to share this FTP site.


 

5. USAGE

 

Configure the ftp_config.bat file (see 4. CONFIGURATION above).

 

The ABLEä produced files should be in place, either on the local machine (for a 'put' transfer) or FTP server (for a 'get' transfer).

 

Note that all lots should be produced before running a 'put' transfer--do not run a 'put' transfer between lot productions.

 

Open a Command Prompt window.  Go to the directory where the files are to be transferred to/from.

 

Run one of two batch files:

 

ABLE_PUT.BAT

 

This batch file transfers files from the local machine to the FTP server. To run, type 'able_put'  on the command line. When this command is done files should be placed in the appropriate directories on the FTP server.

 

ABLE_GET.BAT

 

This batch file transfers files from the FTP server to the local machine. To run, type 'able_get'  on the command line. When this command is done files should be placed in the appropriate directories on the local machine.

 

 

 

6.     Errors

 

Certain errors may occur when running the FTP batch files.  The following errors can be ignored:

 

·       “The system cannot find the specified path” – This error occurs when attempting to delete non-existent files on the FTP server.

·       “Cannot create a file when that file already exists” – This error occurs when file(s) already exist on the FTP server.  They will automatically be overwritten.