Skip to main content

tsNetSetFTPPort

Type

command

Summary

Enable or disable the use of active transfers for FTP.

Syntax

tsNetSetFTPPort <pPort>

Description

Enable or disable the use of active transfers for FTP.

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.

Examples

tsNetSetFTPPort "-"
tsNetSetFTPPort "192.168.0.1"
tsNetSetFTPPort ""

library: tsNet

Compatibility and Support

Introduced

LiveCode 8.1

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?