IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

LocalFile Property

The path to a local file for download/upload. If the file exists, it is overwritten.

Object Oriented Interface

public function getLocalFile();
public function setLocalFile($value);

Procedural Interface

ipworks_ftp_get($res, 21 );
ipworks_ftp_set($res, 21, $value );

Default Value

''

Remarks

This property is used by the Upload and Download methods to specify the path to a local file to be downloaded/uploaded. See the method descriptions for more information.

Example (Setting LocalFile)


FTPControl.LocalFile = "C:\localfile.txt"
FTPControl.RemoteFile = "remotefile.txt"
FTPControl.Download()

FTPControl.LocalFile = "C:\localfile2.txt"
FTPControl.RemoteFile = "folder/remotefile2.txt"
FTPControl.Download()

Data Type

String

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0