Skip to main content
Skip table of contents

VISULOX FTP Service

Overview

VISULOX provides a classic FTP server, which is connected to the File Transit Zone.

Usage

If users have to use an FTP client to up- and download files via the application service, this service has to be enabled.

If enabled, the user can connect the VISULOX Node with an FTP client, where the VISULOX FTP Service is enabled.

The user is prompted for his username and a password.

The password is always the user's Transit PIN, which is provided to him either on the Transit Web Page or in the Transit Console.

The username can be <loginuser> <email> <mobile> <surname> <common name>.

Configuration

Enabling the FTP Service:

CODE
visulox config -name layout.<logical server name>.ftpd=true
visulox restart -service monitor


Adjusting the scanning definition of the file list command in /opt/visulox/lib/ft/ftregex.tcl:

CODE
# This file holds the scanning definition from the file list command.
# Each server has a different way to present filename, filetime and filesize
# via a curl.
# 1: scanning result
# 2: regex for scaning
# 3: order of the resulting elements size,date,name
#
############### STANDARD LINUX ######################
lappend ::curl::regdef {isdirectory
                {^d.{9} +[0-9]+ +[^ ]+ +[^ ]+ +([0-9]+) +([A-z]{3} [ 0-9]{2} [0-9]{2}:[0-9]{2}|[A-z]{3} [ 0-9]{2}  [0-9]{4}) (.+)$}
                {size date name}
}
# standard linux file
lappend ::curl::regdef {isfile
                {^-.{9} +[0-9]+ +[^ ]+ +[^ ]+ +([0-9]+) +([A-z]{3} [ 0-9]{2} [0-9]{2}:[0-9]{2}|[A-z]{3} [ 0-9]{2}  [0-9]{4}) (.+)$}
                {size date name}
}
# standard linux symlink
lappend ::curl::regdef {islink
                {^l.{9} +[0-9]+ +[^ ]+ +[^ ]+ +([0-9]+) +([A-z]{3} [ 0-9]{2} [0-9]{2}:[0-9]{2}|[A-z]{3} [ 0-9]{2}  [0-9]{4}) (.+)$}
                {size date name}
}
############### STANDARD WINDOWS ######################
lappend ::curl::regdef {isdirectory
                {^([0-9]{2}-[0-9]{2}-[0-9]{2}  [0-9]{2}:[0-9]{2}..) +(<DIR>) +(.+)$}
                {date size name}
}
lappend ::curl::regdef {isfile
                {^([0-9]{2}-[0-9]{2}-[0-9]{2}  [0-9]{2}:[0-9]{2}..) +([0-9]+) +(.+)$}
                {date size name}
}
CODE
visulox config list -name ftp
    | ftpd.banner  | OPERATION | VISULOX FTP Server: to login with username/pin. You will find your pin in your T ... |
    | ftpd.servers | OPERATION | .+                                                                               ... |
    -------------------------------------------------------------------------------------------------------------------

The VISULOX FTP Service will be started, if the server is in the list of ftpd.servers. This field is a regular expression.

.+On any VISULOX node
<server1>|<server2>On server 1 and server 2
<server>[1-5]+ftpOn server1ftp to server5ftp


Connection with an FTP client

List of tested FTP clients

  • Command line client
  • MobaXterm

After connecting with a FTP client, only a view commands are available or making sense:

CODE
dir / nlist / ascii / binary / passive / get / mget / put / mput


In the directory list additionally the filename, filesize, filetime, file source and the file type is displayed.

File source is from where the file in the Transit Zone was transferred (via Workspace (user), File Exchange, FTP, ...). The file status can be unchecked, checked, pending, rejected or approved.

The FTP server takes care about the File Transfer Policy. This means the direction and the parameters of the files are under control.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.