Lines Matching refs:remote_file
2060 * By default, \phpseclib3\Net\SFTP::put() does not read from the local filesystem. $data is dumped directly into $remote_file.
2064 * Setting $mode to self::SOURCE_LOCAL_FILE will change the above behavior. With self::SOURCE_LOCAL_FILE, $remote_file will
2066 * large $remote_file will be, as well.
2095 * @param string $remote_file
2106 public function put($remote_file, $data, $mode = self::SOURCE_STRING, $start = -1, $local_start = -1, $progressCallback = null)
2112 $remote_file = $this->realpath($remote_file);
2113 if ($remote_file === false) {
2117 $this->remove_from_stat_cache($remote_file);
2132 $stat = $this->stat($remote_file);
2143 $this->remove_from_stat_cache($remote_file);
2145 $packet = Strings::packSSH2('s', $remote_file);
2278 if (!$this->setstat($remote_file, $attr, false)) {
2347 * Returns a string containing the contents of $remote_file if $local_file is left undefined or a boolean false if
2353 * @param string $remote_file
2361 public function get($remote_file, $local_file = false, $offset = 0, $length = -1, $progressCallback = null)
2367 $remote_file = $this->realpath($remote_file);
2368 if ($remote_file === false) {
2372 $packet = Strings::packSSH2('s', $remote_file);
2496 $stat = $this->stat($remote_file);