FTPS - Transfer channel cant be opened PS error - GUI works
Hello
I have as script that is using FTPS and powershell.
The script connects, is able to list contents, but then i keep getting the error below.
Gui mode of winscp connects no issues, just power shell code has issues.
I believe it has to do with list-a issues, but that all i know so far.
Any help would be appreciated.
PS code - that has issues
GUI logs that worked
I have as script that is using FTPS and powershell.
The script connects, is able to list contents, but then i keep getting the error below.
Gui mode of winscp connects no issues, just power shell code has issues.
I believe it has to do with list-a issues, but that all i know so far.
Any help would be appreciated.
PS code - that has issues
> 2016-02-29 11:52:32.960 CWD /FLDR/ < 2016-02-29 11:52:33.069 250 CWD command successful. > 2016-02-29 11:52:33.069 PWD < 2016-02-29 11:52:33.178 257 "/FLDR" is current directory. > 2016-02-29 11:52:33.178 TYPE A < 2016-02-29 11:52:33.288 200 Type set to A. > 2016-02-29 11:52:33.288 PASV < 2016-02-29 11:52:33.381 227 Entering Passive Mode (199,242,62,246,38,180).[b] > 2016-02-29 11:52:33.381 LIST -a < 2016-02-29 11:52:33.490 150 Opening ASCII mode data connection. . 2016-02-29 11:52:54.440 Transfer channel can't be opened. Reason: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.[/b] . 2016-02-29 11:52:54.472 Could not retrieve directory listing > 2016-02-29 11:53:03.940 TYPE I . 2016-02-29 11:53:43.485 Timeout detected. . 2016-02-29 11:53:43.485 LIST with -a failed, walling back to pure LIST < 2016-02-29 11:53:43.485 Script: Lost connection.
GUI logs that worked
< 2016-02-29 12:10:53.625 257 "/FLDR" is current directory. . 2016-02-29 12:10:53.626 Retrieving directory listing... > 2016-02-29 12:10:53.626 TYPE A < 2016-02-29 12:10:53.731 200 Type set to A. > 2016-02-29 12:10:53.732 PASV < 2016-02-29 12:10:53.839 227 Entering Passive Mode (199,242,62,246,38,193). > 2016-02-29 12:10:53.839 LIST -a . 2016-02-29 12:10:53.839 Connecting to XX.XX.XX.XX:9921 ... < 2016-02-29 12:10:53.944 150 Opening ASCII mode data connection. . 2016-02-29 12:10:54.043 Session ID reused . 2016-02-29 12:10:54.043 TLS connection established . 2016-02-29 12:10:54.147 02-19-16 04:01AM file.xls < 2016-02-29 12:10:54.782 226 Transfer complete.