Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Meisam wrote:

Having the same problem here. What is the solution?

Are you using the latest version of WinSCP?
Meisam

anyone?
Meisam

Having the same problem here. What is the solution?
martin

Re: Error "Invalid response to PWD command 'EPRT..." then crash

I have sent you an email.
josephl

Error "Invalid response to PWD command 'EPRT..." then crash

For only one of the servers I connect to WinSCP can not maintain a stable connection. Everything works fine but it just shows this error message then becomes unresponsive. I have to close the app and reconnect. The longest I have been able to maintain a connection is less than one hour.

First I get this message:
---------------------------
Error
---------------------------
Error getting name of current remote directory.
---------------------------
Invalid response to PWD command 'EPRT
IDLE
MDTM
SIZE
REST STREAM
MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
MLSD
AUTH TLS
PBSZ
PROT
ESTA
PASV
EPSV
SPSV
ESTP
'.
---------------------------
OK Help
---------------------------

Then I click OK and get this message (after a little bit of unresponsiveness from the app)

---------------------------
Error
---------------------------
Error getting name of current remote directory.
---------------------------
Invalid access to memory
---------------------------
OK Help
---------------------------


After that I have to close the app as it becomes 100% unresponsive.

The server being connected to is cpanel based if that helps any.

I turned on logging so here is the tail end of the log were it crashes (I removed any personal info from it):
. 2011-05-10 11:07:39.764 Session upkeep
. 2011-05-10 11:07:40.267 Session upkeep
. 2011-05-10 11:07:40.778 Session upkeep
. 2011-05-10 11:07:41.278 Session upkeep
. 2011-05-10 11:07:41.792 Session upkeep
. 2011-05-10 11:07:42.294 Session upkeep
. 2011-05-10 11:07:42.806 Session upkeep
. 2011-05-10 11:07:43.310 Session upkeep
> 2011-05-10 11:07:43.329 TYPE A
. 2011-05-10 11:07:43.820 Session upkeep
. 2011-05-10 11:07:44.320 Session upkeep
. 2011-05-10 11:07:44.337 Timeout detected.
. 2011-05-10 11:07:44.337 Got reply 1000 to the command 0
* 2011-05-10 11:07:44.338 (ESshFatal) Lost connection.
* 2011-05-10 11:07:44.338 Timeout detected.
* 2011-05-10 11:07:44.338 "/" is your current location
. 2011-05-10 11:07:49.466 Getting current directory name.
. 2011-05-10 11:07:49.486 Connected with XXXXXXXXXXXX.com. Waiting for welcome message...
< 2011-05-10 11:07:49.536 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
< 2011-05-10 11:07:49.536 220-You are user number 1 of 50 allowed.
< 2011-05-10 11:07:49.536 220-Local time is now 13:07. Server port: 21.
< 2011-05-10 11:07:49.536 220-This is a private system - No anonymous login
< 2011-05-10 11:07:49.536 220-IPv6 connections are also welcome on this server.
< 2011-05-10 11:07:49.536 220 You will be disconnected after 15 minutes of inactivity.
> 2011-05-10 11:07:49.536 USER XXXXXXXX
< 2011-05-10 11:07:49.587 331 User XXXXXXXX OK. Password required
> 2011-05-10 11:07:49.587 PASS **********
< 2011-05-10 11:07:49.675 230 OK. Current restricted directory is /
> 2011-05-10 11:07:49.791 SYST
< 2011-05-10 11:07:49.792 215 UNIX Type: L8
> 2011-05-10 11:07:49.792 FEAT
< 2011-05-10 11:07:49.792 211-Extensions supported:
< 2011-05-10 11:07:49.792 EPRT
< 2011-05-10 11:07:49.792 IDLE
< 2011-05-10 11:07:49.792 MDTM
< 2011-05-10 11:07:49.792 SIZE
< 2011-05-10 11:07:49.792 REST STREAM
< 2011-05-10 11:07:49.792 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
< 2011-05-10 11:07:49.792 MLSD
< 2011-05-10 11:07:49.792 AUTH TLS
< 2011-05-10 11:07:49.792 PBSZ
< 2011-05-10 11:07:49.792 PROT
< 2011-05-10 11:07:49.792 ESTA
< 2011-05-10 11:07:49.792 PASV
< 2011-05-10 11:07:49.792 EPSV
< 2011-05-10 11:07:49.792 SPSV
< 2011-05-10 11:07:49.792 ESTP
< 2011-05-10 11:07:49.792 211 End.
. 2011-05-10 11:07:49.792 Connected
. 2011-05-10 11:07:49.792 Got reply 1 to the command 1
* 2011-05-10 11:07:49.792 (ECommand) Error getting name of current remote directory.
* 2011-05-10 11:07:49.792 Invalid response to PWD command 'EPRT
* 2011-05-10 11:07:49.792 IDLE
* 2011-05-10 11:07:49.792 MDTM
* 2011-05-10 11:07:49.792 SIZE
* 2011-05-10 11:07:49.792 REST STREAM
* 2011-05-10 11:07:49.792 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
* 2011-05-10 11:07:49.792 MLSD
* 2011-05-10 11:07:49.792 AUTH TLS
* 2011-05-10 11:07:49.793 PBSZ
* 2011-05-10 11:07:49.793 PROT
* 2011-05-10 11:07:49.793 ESTA
* 2011-05-10 11:07:49.793 PASV
* 2011-05-10 11:07:49.793 EPSV
* 2011-05-10 11:07:49.793 SPSV
* 2011-05-10 11:07:49.793 ESTP
* 2011-05-10 11:07:49.793 '.
. 2011-05-10 11:07:49.989 Session upkeep
. 2011-05-10 11:07:50.404 Session upkeep
. 2011-05-10 11:07:50.918 Session upkeep
. 2011-05-10 11:07:51.417 Session upkeep
. 2011-05-10 11:07:51.932 Session upkeep
. 2011-05-10 11:07:52.436 Session upkeep
. 2011-05-10 11:07:52.946 Session upkeep
. 2011-05-10 11:07:53.445 Session upkeep
. 2011-05-10 11:07:53.960 Session upkeep
. 2011-05-10 11:07:54.459 Session upkeep
. 2011-05-10 11:07:54.974 Session upkeep
. 2011-05-10 11:07:55.489 Session upkeep
. 2011-05-10 11:07:55.990 Session upkeep
. 2011-05-10 11:07:56.503 Session upkeep
. 2011-05-10 11:07:57.002 Session upkeep
. 2011-05-10 11:07:57.516 Session upkeep
. 2011-05-10 11:07:58.016 Session upkeep
. 2011-05-10 11:07:58.530 Session upkeep
. 2011-05-10 11:07:59.033 Session upkeep
. 2011-05-10 11:07:59.545 Session upkeep
. 2011-05-10 11:08:00.045 Session upkeep
. 2011-05-10 11:08:00.559 Session upkeep
. 2011-05-10 11:08:01.058 Session upkeep
. 2011-05-10 11:08:01.573 Session upkeep
. 2011-05-10 11:08:02.072 Session upkeep
. 2011-05-10 11:08:02.587 Session upkeep
. 2011-05-10 11:08:03.087 Session upkeep
. 2011-05-10 11:08:03.601 Session upkeep
. 2011-05-10 11:08:04.100 Session upkeep
. 2011-05-10 11:08:04.615 Session upkeep
. 2011-05-10 11:08:05.114 Session upkeep
. 2011-05-10 11:08:05.629 Session upkeep
. 2011-05-10 11:08:06.129 Session upkeep
. 2011-05-10 11:08:06.643 Session upkeep
. 2011-05-10 11:08:07.142 Session upkeep
. 2011-05-10 11:08:07.657 Session upkeep
. 2011-05-10 11:08:08.156 Session upkeep
. 2011-05-10 11:08:08.671 Session upkeep
. 2011-05-10 11:08:09.170 Session upkeep
. 2011-05-10 11:08:09.685 Session upkeep
. 2011-05-10 11:08:10.186 Session upkeep
. 2011-05-10 11:08:10.699 Session upkeep
. 2011-05-10 11:08:11.200 Session upkeep
. 2011-05-10 11:08:11.713 Session upkeep
. 2011-05-10 11:08:12.212 Session upkeep
. 2011-05-10 11:08:12.727 Session upkeep
. 2011-05-10 11:08:13.227 Session upkeep
. 2011-05-10 11:08:13.741 Session upkeep
. 2011-05-10 11:08:14.242 Session upkeep
. 2011-05-10 11:08:14.755 Session upkeep
. 2011-05-10 11:08:15.254 Session upkeep
. 2011-05-10 11:08:15.769 Session upkeep
. 2011-05-10 11:08:16.270 Session upkeep
. 2011-05-10 11:08:16.783 Session upkeep
. 2011-05-10 11:08:17.283 Session upkeep
. 2011-05-10 11:08:17.797 Session upkeep
. 2011-05-10 11:08:18.297 Session upkeep
. 2011-05-10 11:08:18.811 Session upkeep
. 2011-05-10 11:08:19.313 Session upkeep
. 2011-05-10 11:08:19.825 Session upkeep
> 2011-05-10 11:08:19.843 TYPE A
< 2011-05-10 11:08:19.843 200 TYPE is now ASCII
. 2011-05-10 11:08:20.327 Session upkeep
. 2011-05-10 11:08:20.839 Session upkeep
. 2011-05-10 11:08:21.339 Session upkeep
. 2011-05-10 11:08:21.853 Session upkeep
. 2011-05-10 11:08:22.352 Session upkeep
. 2011-05-10 11:08:22.867 Session upkeep
. 2011-05-10 11:08:23.366 Session upkeep
. 2011-05-10 11:08:23.881 Session upkeep
. 2011-05-10 11:08:24.381 Session upkeep
. 2011-05-10 11:08:24.895 Session upkeep
. 2011-05-10 11:08:25.394 Session upkeep
. 2011-05-10 11:08:25.864 Connecting to apogeegate.com ...
> 2011-05-10 11:08:49.012 PWD
. 2011-05-10 11:08:49.021 Getting current directory name.
< 2011-05-10 11:08:49.385 257 "/" is your current location
> 2011-05-10 11:08:49.402 PWD
< 2011-05-10 11:08:49.571 257 "/" is your current location
. 2011-05-10 11:08:49.571 Got reply 1 to the command 16
* 2011-05-10 11:08:49.571 (ECommand) Error getting name of current remote directory.
* 2011-05-10 11:08:49.571 Invalid access to memory
. 2011-05-10 11:08:49.617 Session upkeep
. 2011-05-10 11:08:49.746 Session upkeep
. 2011-05-10 11:08:50.245 Session upkeep
. 2011-05-10 11:08:50.760 Session upkeep
. 2011-05-10 11:08:51.264 Session upkeep
. 2011-05-10 11:08:51.775 Session upkeep
. 2011-05-10 11:08:52.274 Session upkeep
. 2011-05-10 11:08:52.788 Session upkeep
. 2011-05-10 11:08:53.290 Session upkeep
. 2011-05-10 11:08:53.802 Session upkeep
. 2011-05-10 11:08:54.302 Session upkeep
. 2011-05-10 11:08:54.816 Session upkeep
. 2011-05-10 11:08:55.316 Session upkeep
. 2011-05-10 11:08:55.830 Session upkeep
. 2011-05-10 11:08:56.329 Session upkeep
. 2011-05-10 11:08:56.844 Session upkeep
. 2011-05-10 11:08:57.359 Session upkeep
. 2011-05-10 11:08:57.861 Session upkeep
. 2011-05-10 11:08:58.373 Session upkeep
. 2011-05-10 11:08:58.873 Session upkeep
. 2011-05-10 11:08:59.387 Session upkeep
. 2011-05-10 11:08:59.889 Session upkeep
. 2011-05-10 11:09:00.401 Session upkeep
. 2011-05-10 11:09:00.900 Session upkeep
. 2011-05-10 11:09:01.415 Session upkeep
. 2011-05-10 11:09:01.914 Session upkeep
. 2011-05-10 11:09:02.429 Session upkeep
. 2011-05-10 11:09:02.928 Session upkeep
. 2011-05-10 11:09:03.443 Session upkeep
. 2011-05-10 11:09:03.946 Session upkeep
. 2011-05-10 11:09:04.457 Session upkeep
. 2011-05-10 11:09:04.956 Session upkeep
. 2011-05-10 11:09:05.471 Session upkeep
. 2011-05-10 11:09:05.972 Session upkeep
. 2011-05-10 11:09:06.485 Session upkeep
. 2011-05-10 11:09:06.987 Session upkeep
. 2011-05-10 11:09:07.499 Session upkeep
. 2011-05-10 11:09:07.998 Session upkeep
. 2011-05-10 11:09:08.512 Session upkeep
. 2011-05-10 11:09:09.013 Session upkeep
. 2011-05-10 11:09:09.527 Session upkeep
. 2011-05-10 11:09:10.027 Session upkeep
. 2011-05-10 11:09:10.541 Session upkeep
. 2011-05-10 11:09:11.041 Session upkeep
. 2011-05-10 11:09:11.555 Session upkeep
. 2011-05-10 11:09:12.057 Session upkeep
. 2011-05-10 11:09:12.569 Session upkeep
. 2011-05-10 11:09:13.073 Session upkeep
. 2011-05-10 11:09:13.583 Session upkeep
. 2011-05-10 11:09:14.083 Session upkeep
. 2011-05-10 11:09:14.597 Session upkeep
. 2011-05-10 11:09:15.097 Session upkeep
. 2011-05-10 11:09:15.611 Session upkeep
. 2011-05-10 11:09:16.111 Session upkeep
. 2011-05-10 11:09:16.625 Session upkeep
. 2011-05-10 11:09:17.125 Session upkeep
. 2011-05-10 11:09:17.639 Session upkeep
. 2011-05-10 11:09:18.143 Session upkeep
. 2011-05-10 11:09:18.653 Session upkeep
. 2011-05-10 11:09:19.153 Session upkeep
. 2011-05-10 11:09:19.667 Session upkeep
> 2011-05-10 11:09:19.685 PWD
< 2011-05-10 11:09:19.685 257 "/" is your current location
. 2011-05-10 11:09:20.166 Session upkeep
. 2011-05-10 11:09:20.681 Session upkeep
. 2011-05-10 11:09:21.180 Session upkeep
. 2011-05-10 11:09:21.695 Session upkeep
. 2011-05-10 11:09:22.198 Session upkeep
. 2011-05-10 11:09:22.709 Session upkeep
. 2011-05-10 11:09:23.208 Session upkeep
. 2011-05-10 11:09:23.723 Session upkeep
. 2011-05-10 11:09:24.222 Session upkeep
. 2011-05-10 11:09:24.737 Session upkeep
. 2011-05-10 11:09:25.236 Session upkeep
. 2011-05-10 11:09:25.751 Session upkeep
. 2011-05-10 11:09:26.251 Session upkeep
. 2011-05-10 11:09:26.766 Session upkeep
. 2011-05-10 11:09:27.267 Session upkeep
. 2011-05-10 11:09:27.779 Session upkeep
. 2011-05-10 11:09:28.294 Session upkeep
. 2011-05-10 11:09:28.798 Session upkeep
. 2011-05-10 11:09:29.308 Session upkeep
. 2011-05-10 11:09:29.808 Session upkeep
. 2011-05-10 11:09:30.322 Session upkeep
. 2011-05-10 11:09:30.821 Session upkeep
. 2011-05-10 11:09:31.336 Session upkeep
. 2011-05-10 11:09:31.836 Session upkeep
. 2011-05-10 11:09:32.350 Session upkeep
. 2011-05-10 11:09:32.849 Session upkeep
. 2011-05-10 11:09:33.364 Session upkeep
. 2011-05-10 11:09:33.868 Session upkeep
. 2011-05-10 11:09:34.378 Session upkeep
. 2011-05-10 11:09:34.880 Session upkeep
. 2011-05-10 11:09:35.392 Session upkeep
. 2011-05-10 11:09:35.891 Session upkeep
. 2011-05-10 11:09:36.406 Session upkeep
. 2011-05-10 11:09:36.909 Session upkeep
. 2011-05-10 11:09:37.420 Session upkeep
. 2011-05-10 11:09:37.923 Session upkeep
. 2011-05-10 11:09:38.434 Session upkeep
. 2011-05-10 11:09:38.933 Session upkeep
. 2011-05-10 11:09:39.448 Session upkeep
. 2011-05-10 11:09:39.947 Session upkeep
. 2011-05-10 11:09:40.462 Session upkeep
. 2011-05-10 11:09:40.961 Session upkeep
. 2011-05-10 11:09:41.476 Session upkeep
. 2011-05-10 11:09:41.975 Session upkeep
. 2011-05-10 11:09:42.490 Session upkeep
. 2011-05-10 11:09:42.993 Session upkeep
. 2011-05-10 11:09:43.503 Session upkeep
. 2011-05-10 11:09:44.008 Session upkeep
. 2011-05-10 11:09:44.518 Session upkeep
. 2011-05-10 11:09:45.018 Session upkeep
> 2011-05-10 11:09:49.854 REST 0
. 2011-05-10 11:09:49.863 Session upkeep
< 2011-05-10 11:09:49.903 350 Restarting at 0
. 2011-05-10 11:09:49.906 Retrieving directory listing...
> 2011-05-10 11:09:49.906 TYPE A
< 2011-05-10 11:09:49.956 200 TYPE is now ASCII
> 2011-05-10 11:09:49.956 PASV
< 2011-05-10 11:09:50.003 227 Entering Passive Mode (67,18,217,226,150,240)
> 2011-05-10 11:09:50.004 LIST -a
< 2011-05-10 11:09:50.099 150 Accepted data connection
< 2011-05-10 11:09:50.146 226-Options: -a -l
< 2011-05-10 11:09:50.147 226 66 matches total
**** REMOVED DIRECTORY LISTING OUTPUT *************
. 2011-05-10 11:09:50.152 Directory listing successful
. 2011-05-10 11:09:50.153 Reading symlink "access-logs".
. 2011-05-10 11:09:50.153 Reading symlink "www".
. 2011-05-10 11:09:50.153 Got reply 1 to the command 2
. 2011-05-10 11:09:50.649 Session upkeep
> 2011-05-10 11:10:20.274 TYPE A
. 2011-05-10 11:10:20.379 Session upkeep
< 2011-05-10 11:10:20.390 200 TYPE is now ASCII