ETP/FTP Server Help

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

ETP/FTP Server Help

Post by void »

What is the Everything ETP/FTP server?
The Everything ETP/FTP server is a FTP server that allows you to search and access your files from a Everything client or FTP client.

How do I start the ETP/FTP server?
From the Tools menu, click Start ETP/FTP server.

How do I connect to a ETP/FTP server?
  • In Everything, from the Tools menu, click Connect to ETP/FTP server....
  • Type in the host (this can be the computer name or IP address).
  • Click OK.
What are ETP link types?
There are four link types that change the way the Everything client accesses files on the ETP server.
When connecting to an ETP server you can specify the link type.

1). C:
No change, the paths are the same as they are on the server.
This is useful if you index a subst'ed drive on the server and are using mapped network drives on the client.

2). \\Server\C
Use Windows shares (this is the default link type).
By default these shares do not exist, you will need to create them on the server if you wish to use this method.

3). \\Server\C$
Use the default admin drive shares.

4). ftp://host/C:
Use ftp links.

How do I fix the Unable to start ETP/FTP server: bind failed 10048 error?
There is already another service running on port 21.
Please try changing the Everything ETP/FTP server port to another port.

To change the ETP/FTP server port:
  • In Everything, from the Tools menu, click Options
  • Click the ETP/FTP server tab.
  • Change Listen on port to a new port, for example 5485.
  • Click OK
Please make sure to specify this port when connecting to the web server with your web browser, for example:

Code: Select all

ftp://localhost:5485
How do I set a username and password?

To change the ETP/FTP server username and password
  • In Everything, from the Tools menu, click Options
  • Click the ETP/FTP server tab.
  • Type in a new username and password.
  • Click OK
Can I disable file downloading?

You can disable file downloading and allow clients to list results only.

To disable ETP/FTP file downloading:
  • In Everything, from the Tools menu, click Options
  • Click the ETP/FTP server tab.
  • Uncheck Allow file download.
  • Click OK
Is the ETP server/client compatible with Everything 1.2
No, the ETP server or ETP client is not compatible with Everything 1.2.

Everything FTP extension
The Everything ETP/FTP server extends FTP with the command EVERYTHING.
The Everything client uses this extension to request search results.
You can use the FEAT command to check if the ETP/FTP server supports the EVERYTHING extension.

EVERYTHING CASE x (Match case if x is nonzero)
EVERYTHING WHOLE_WORD x (Match whole words if x is nonzero)
EVERYTHING PATH x (Match whole paths if x is nonzero)
EVERYTHING DIACRITICS x (Match diacritics if x is nonzero)
EVERYTHING REGEX x (perform regex search if x is nonzero)
EVERYTHING SEARCH abc (set the search to abc)
EVERYTHING FILTER_SEARCH abc (set the secondary search to abc)
EVERYTHING FILTER_CASE x (Match case with the secondary search if x is nonzero)
EVERYTHING FILTER_WHOLE_WORD x (Match wholewords with the secondary search if x is nonzero)
EVERYTHING FILTER_PATH x (Match path with the secondary search if x is nonzero)
EVERYTHING FILTER_DIACRITICS x (Match diacritics with the secondary search if x is nonzero)
EVERYTHING FILTER_REGEX x (Match regex with the secondary search if x is nonzero)
EVERYTHING SORT x (where x is the sort name, see below)
EVERYTHING OFFSET n (return results from the nth item)
EVERYTHING COUNT x (return no more than x results)
EVERYTHING SIZE_COLUMN x (return the result's size if x is nonzero)
EVERYTHING DATE_CREATED_COLUMN x (return the result's creation date if x is nonzero)
EVERYTHING DATE_MODIFIED_COLUMN x (return the result's modified date if x is nonzero)
EVERYTHING ATTRIBUTES_COLUMN x (return the result's attributes if x is nonzero)
EVERYTHING PATH_COLUMN x (return the result's path if x is nonzero)
EVERYTHING FILE_LIST_FILENAME_COLUMN x (return the result's file list filename if x is nonzero)
EVERYTHING QUERY (executes the query with the above settings)

Default values:
EVERYTHING CASE 0
EVERYTHING WHOLE_WORD 0
EVERYTHING PATH 0
EVERYTHING DIACRITICS 0
EVERYTHING REGEX 0
EVERYTHING SEARCH
EVERYTHING FILTER_SEARCH
EVERYTHING FILTER_CASE 0
EVERYTHING FILTER_WHOLE_WORD 0
EVERYTHING FILTER_PATH 0
EVERYTHING FILTER_DIACRITICS 0
EVERYTHING FILTER_REGEX 0
EVERYTHING SORT 0
EVERYTHING OFFSET 0
EVERYTHING COUNT 0
EVERYTHING SIZE_COLUMN 0
EVERYTHING DATE_CREATED_COLUMN 0
EVERYTHING DATE_MODIFIED_COLUMN 0
EVERYTHING ATTRIBUTES_COLUMN 0
EVERYTHING PATH_COLUMN 0
EVERYTHING FILE_LIST_FILENAME_COLUMN 0

For example, find the first 100 items that contain abc:
EVERYTHING SEARCH abc
EVERYTHING COUNT 100
EVERYTHING PATH_COLUMN 1
EVERYTHING QUERY

Sort names
NAME_ASCENDING
NAME_DESCENDING
PATH_ASCENDING
PATH_DESCENDING
SIZE_ASCENDING
SIZE_DESCENDING
EXTENSION_ASCENDING
EXTENSION_DESCENDING
DATE_CREATED_ASCENDING
DATE_CREATED_DESCENDING
DATE_MODIFIED_ASCENDING
DATE_MODIFIED_DESCENDING
ATTRIBUTES_ASCENDING
ATTRIBUTES_DESCENDING
FILE_LIST_FILENAME_ASCENDING
FILE_LIST_FILENAME_DESCENDING
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: ETP/FTP Server Help

Post by void »

ETP server ini settings

etp_server_welcome_message
ETP Welcome message.
Empty = Welcome to Everything ETP/FTP
%n = newline
%v = version
%% = %

etp_server_port
The server port

etp_server_username
The required username for logging in.
Empty = Ignored.

etp_server_password
The required password for logging in.
Empty = Ignored.

etp_server_log_file_name
The filename of the log file.
Empty = Logs\ETP_Server_Log.txt

etp_server_logging_enabled
1 = Enables logging.
0 = Disable logging.

etp_server_log_max_size
The maximum size of the log file in bytes.

etp_server_log_delta_size
How much data is removed from the log when the maximum size is reached.

etp_server_auto_start
1 = starts the server when Everything is started.
0 = server must be started manually.

etp_server_allow_file_download
1 = Allow files to be downloaded from the server.
0 = Files can not be downloaded, users can only search or list.

etp_server_bindings
Listen on the specified list of adaptors. Semi-colon delimited.
Example: 127.0.0.1

ETP client ini settings

last_etp_host
The host value in the last connect attempt (successful or not).

last_etp_port
The port number in the last connect attempt (successful or not).

last_etp_username
The username in the last connect attempt (successful or not).

last_etp_link_type
The link type in the last connect attempt (successful or not).
0 = C:
1 = \\Server\C (default)
2 = \\Server\C$
3 = ftp://server/C:

auto_connect
Automatically connect to an ETP server when starting Everything, set this ini setting to the following:
Empty = no auto connect.
[username[:password]@]host[:port]
Example: localhost
Example: username:password@localhost:21

auto_connect_link_type
Specify the link type for the auto_connect ini setting.
0 = C:
1 = \\Server\C
2 = \\Server\C$
3 = ftp://server/C:
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: ETP/FTP Server Help

Post by void »

ETP Client command line options:

-connect [username[:password]@]host[:port]
Connect to an ETP server with optional username, password and/or port.
Example: -connect localhost
Example: -connect username:password@localhost:21

-drive-links
Use C: links for ETP connections.

-server-share-links
Use \\Server\C links for ETP connections.

-admin-server-share-links
Use \\Server\C$ links for ETP connections.

-ftp-links
Use ftp://host/C: links for ETP connections.
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: ETP/FTP Server Help

Post by void »

Run an ETP server with a different index using Multiple instances

You can run more than one instance of Everything by using ''multiple instances''.
Using multiple instances you can run one instance as you would normally and another to index folders for the ETP Server.

To run a new instance of Everything with a different index:
  • Copy Everything.exe to a new folder and run:

    Code: Select all

    Everything.exe -instance "HTTP Server"
    This does not have to be HTTP Server you can use any name you like.
  • Run this shortcut and setup the new index.
  • Start the ETP server.
To distinguish which instance is which:
You can tell which instance is which by either of the following:
  • Hovering over the tray icon.
  • Checking the search window caption.
Post Reply