Net::FSP::Util - Utility functions for Net::FSP
This documentation refers to Net::FSP version 0.13
By default Net::FSP ignores the environment. To improve compatibility with other FSP implementations these utility functions are provided.
Get options for Net::FSP::new from environmental variables.
Get the remote host from the appropriate environmental variable.
Get the local directory from the appropriate environmental variable, or else it returns "./";
The following environmental variables are used for access FSP servers:
The name or IP address of the machine with the FSP server.
The port number of the UDP socket used by the FSP server.
Local Address of UDP socket. This IP address must be one of your local IP addresses. This variable is mainly used for multihomed hosts.
The port number of the UDP socket. You may pick any number not currently used for other purposes.
Access password for FSP server. Directories on FSP server can be password protected. FSP server can change your access level if you have provided a correct password. There are 2 access levels: public and owner.
Preferred size of server reply. Default is 1024 which is supported by all servers. Some servers can accept larger packets and you will get some extra speed with them. You can lower that value if you want to get smaller packets from server.
The current working directory of the client in the FSP server.
Minimum wait time before resending packet in milliseconds. This should be set close to expected round trip time.
Maximum wait time before resending packet in milliseconds.
Where to look for local files.
Leon Timmermans, firstname.lastname@example.org
Copyright (c) 2005, 2008 Leon Timmermans. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.