LocalFile Property
The path to a local file for upload/download.
Object Oriented Interface
public function getLocalFile(); public function setLocalFile($value);
Procedural Interface
inedi_sftp_get($res, 30 ); inedi_sftp_set($res, 30, $value );
Default Value
''
Remarks
The LocalFile property is used by the Upload and Download methods. The file will only be overwritten if the Overwrite property is set to True.
Example (Setting LocalFile)
SFTPControl.Localfile = "C:\localfile.txt" SFTPControl.RemoteFile = "remotefile.txt" SFTPControl.Download() SFTPControl.Localfile = "C:\localfile2.txt" SFTPControl.RemoteFile = "folder/remotefile2.txt" SFTPControl.Download()
Data Type
String