Skip to content

Commit c9f3c5d

Browse files
author
Anton Medvedev
committed
Revert "Fix uploading from Windows to Unix."
This reverts commit 4f16be0.
1 parent 06c958f commit c9f3c5d

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

src/Server/Remote/PhpSecLib.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ public function upload($local, $remote)
124124
{
125125
$this->checkConnection();
126126

127-
$remote = str_replace('\\', '/', $remote);
128-
129127
$dir = dirname($remote);
130128

131129
if (!isset($this->directories[$dir])) {

src/Server/Remote/SshExtension.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ public function upload($local, $remote)
120120
{
121121
$this->checkConnection();
122122

123-
$remote = str_replace('\\', '/', $remote);
124-
125123
$dir = dirname($remote);
126124

127125
if (!isset($this->directories[$dir])) {

0 commit comments

Comments
 (0)