Fill out this form to subscribe to news, tips and information about updates.

Read more
Search known errors
From date:
To date:

Follow us
Facebook    Twitter    LinkedIn

G&R » Support » Known Errors  

Known Errors

These are the known errors in our products, logged as reported with versions and platforms affected as well as corrections and work-arounds.

This list is largely historical, since it records all problems that have been reported throughout G&R history. Only the most recently reported problems still exist, unless you are using a very old copy of the product, in which case you should update the product to the most recent version.

E1198: GUFTsrv, the -CMD parameter failed to insert file name

Product: GUFTsrv
Platform: Windows
Status: Fixed in Host Links 6.5, fix available for 6.4
Last updated: 2008-11-20 15:42:45

When transferring files to the GUFT server on Windows or UNIX/Linux
there is a need to be able to execute a user-written program or utility
after the transfer. The GUFTsrv start command offers two possibilities:

-CMD cmdline    Execute 'command line' after a transfer request
                completes. The name of the local file can be inserted
                into the command line at a point marked by a %

-ECMD cmdline   Execute 'command line' after a transfer request
                completes. GUFTsrv appends the local filename, status
                (0 good, 1 error), direction (S sender, R receiver) and
                node names (local then remote) as space separated

The -CMD command was not working on Windows platforms when using the % to
insert the local file name into the command e.g.:

   guftsrv.exe -cmd "c:Auftuftcmd.bat %" -li DSA

This command can be pre-started or started on-demand. At the termination
of each file transfer the command "c:Auftuftcmd.bat %" is executed, and
the local file name is inserted in the command at the point where the %
character is placed. Note that the command must be in quotes. The local
file name is then accessible in the .bat as a parameter, in the example as
parameter 1 (%1).

Work around is to use -ECMD so that a .bat file (or your program) can
access all the parameters:

%1	local file name
%2	status (0 good, 1 error)
%3	direction (S sender, R receiver)
%4	local node name
%5	remote node name

(c) Copyright 1982-2019 Gallagher & Robertson AS. Webmaster: webmaster@gar.no

URL: http://www.gar.no/support/errors