tsNetSetFTPPort

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
tsNetSetFTPPort <pPort>
Associationstsnet
Summary

Enable or disable the use of active transfers for FTP.

EditionIndy
Introduced8.1
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
pPort

This can be set to an IP address or hostname for FTP to use when specifying the local address for the FTP server to connect to. To specific a port number (or range of ports separated by a '-') to be used, append a ':' after the address and put the port number(s) at the end. This can also be simply set to '-' to let tsNet guess the IP address and port(s) to use. If this parameter is empty, all FTP transfers will use passive mode, otherwise active mode is used.

Example
tsNetSetFTPPort "-"
tsNetSetFTPPort "192.168.0.1"
tsNetSetFTPPort ""
RelatedLibrary: tsNet
Description

Enable or disable the use of active transfers for FTP.

Tagsexternals