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

Re: FTPS - Error listing directory

WinSCP definitely cannot work against a server that does not allow CWD command.
ollieclark81

FTPS - Error listing directory

Hi

Can someone please help with an issue I am having using WinSCP as an FTPS client. The information below I have hashed out any possibly sensitive data and replaced IP address with 000.000.000.000

I am getting the following error

Error listing directory "#######.".
Could not retrieve directory listing
User Exit denies Userid '#######' from using Command 'CWD'


After clicking OK the client appears to connected but I am unable to copy any files across and getting the following error

Copying files to remote side failed.
User Exit denies Userid '#######' from using Command 'CWD'.


I have put the client into passive mode as I have read this has worked for others but this hasn't made any different for me.

Below is the log I am getting.

If anyone could help it would be much appreciated
Thanks



. 2014-06-06 14:15:40.937 --------------------------------------------------------------------------
. 2014-06-06 14:15:40.937 WinSCP Version 4.3.2 (Build 1201) (OS 6.1.7601 Service Pack 1)
. 2014-06-06 14:15:40.937 Login time: 06 June 2014 14:15:40
. 2014-06-06 14:15:40.937 --------------------------------------------------------------------------
. 2014-06-06 14:15:40.937 Session name: FTPS to FD #######@000.000.000.000dou
. 2014-06-06 14:15:40.937 Host name: 000.000.000.000 (Port: 10021)
. 2014-06-06 14:15:40.937 User name: ####### (Password: Yes, Key file: No)
. 2014-06-06 14:15:40.937 Tunnel: No
. 2014-06-06 14:15:40.937 Transfer Protocol: FTP
. 2014-06-06 14:15:40.937 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2014-06-06 14:15:40.937 Proxy: none
. 2014-06-06 14:15:40.937 FTP: FTPS: Explicit SSL; Passive: Yes [Force IP: No]
. 2014-06-06 14:15:40.937 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2014-06-06 14:15:40.937 Cache directory changes: Yes, Permanent: Yes
. 2014-06-06 14:15:40.937 DST mode: 1
. 2014-06-06 14:15:40.937 --------------------------------------------------------------------------
. 2014-06-06 14:15:40.969 Connecting to 000.000.000.000:10021 ...
. 2014-06-06 14:15:40.969 Connected with 000.000.000.000:10021, negotiating SSL connection...
< 2014-06-06 14:15:40.984 220-FTPS1 IBM FTP CS V1R13 at MCA, 14:15:41 on 2014-06-06.
< 2014-06-06 14:15:40.984 220 Connection will close if idle for more than 5 minutes.
> 2014-06-06 14:15:40.984 AUTH SSL
< 2014-06-06 14:15:41.109 234 Security environment established - ready for negotiation
. 2014-06-06 14:15:41.343 SSL connection established. Waiting for welcome message...
> 2014-06-06 14:15:41.343 USER #######
< 2014-06-06 14:15:41.359 331 Send password please.
> 2014-06-06 14:15:41.359 PASS *******
< 2014-06-06 14:15:41.405 230 ####### is logged on. Working directory is "#######.".
> 2014-06-06 14:15:41.405 SYST
< 2014-06-06 14:15:41.421 215 MVS is the operating system of this server. FTP Server is running on z/OS.
> 2014-06-06 14:15:41.421 FEAT
< 2014-06-06 14:15:41.437 211- Extensions supported
< 2014-06-06 14:15:41.437 AUTH TLS
< 2014-06-06 14:15:41.468 PBSZ
< 2014-06-06 14:15:41.468 PROT
< 2014-06-06 14:15:41.468 211 End
> 2014-06-06 14:15:41.468 PBSZ 0
< 2014-06-06 14:15:41.468 200 Protection buffer size accepted
> 2014-06-06 14:15:41.468 PROT P
< 2014-06-06 14:15:41.483 200 Data connection protection set to private
. 2014-06-06 14:15:41.499 Connected
. 2014-06-06 14:15:41.499 Got reply 1 to the command 1
. 2014-06-06 14:15:41.499 --------------------------------------------------------------------------
. 2014-06-06 14:15:41.499 Using FTP protocol.
. 2014-06-06 14:15:41.499 Doing startup conversation with host.
> 2014-06-06 14:15:41.499 PWD
< 2014-06-06 14:15:41.515 257 "'#######.'" is working directory.
. 2014-06-06 14:15:41.515 Got reply 1 to the command 16
. 2014-06-06 14:15:41.515 Getting current directory name.
. 2014-06-06 14:15:41.515 Retrieving directory listing...
> 2014-06-06 14:15:41.515 CWD /'#######.'/'#######.'/
< 2014-06-06 14:15:41.530 500 User Exit denies Userid '#######' from using Command 'CWD'.
. 2014-06-06 14:15:41.530 Could not retrieve directory listing
. 2014-06-06 14:15:41.530 Got reply 4 to the command 2
. 2014-06-06 14:15:41.530 Retrieving directory listing...
> 2014-06-06 14:15:41.530 CWD /'#######.'/'#######.'/
< 2014-06-06 14:15:41.546 500 User Exit denies Userid '#######' from using Command 'CWD'.
. 2014-06-06 14:15:41.546 Could not retrieve directory listing
. 2014-06-06 14:15:41.546 Got reply 4 to the command 2
* 2014-06-06 14:15:41.546 (ECommand) Error listing directory ''#######.''.
* 2014-06-06 14:15:41.546 Could not retrieve directory listing
* 2014-06-06 14:15:41.546 User Exit denies Userid '#######' from using Command 'CWD'.
. 2014-06-06 14:15:42.919 Startup conversation with host finished.
. 2014-06-06 14:15:56.444 Session upkeep
. 2014-06-06 14:15:56.959 Session upkeep
. 2014-06-06 14:15:57.473 Session upkeep
. 2014-06-06 14:15:57.988 Session upkeep
. 2014-06-06 14:15:58.285 Copying 1 files/directories to remote directory "'FTPA107.'/"
. 2014-06-06 14:15:58.285 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2014-06-06 14:15:58.285 TM: M; ClAr: No; CPS: 0; ExclM(No):
. 2014-06-06 14:15:58.285 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2014-06-06 14:15:58.285 File: "C:\Users\oliver.clark\Desktop\FTPS Test Files\Test.txt"
. 2014-06-06 14:15:58.285 Copying "C:\Users\oliver.clark\Desktop\FTPS Test Files\Test.txt" to remote directory started.
. 2014-06-06 14:15:58.285 Ascii transfer mode selected.
. 2014-06-06 14:15:58.285 Starting upload of C:\Users\oliver.clark\Desktop\FTPS Test Files\HBOS\Test.txt
> 2014-06-06 14:15:58.285 CWD /'#######.'/'#######.'/
< 2014-06-06 14:15:58.300 500 User Exit denies Userid '#######' from using Command 'CWD'.
> 2014-06-06 14:15:58.300 CWD /'#######.'/
< 2014-06-06 14:15:58.316 500 User Exit denies Userid '#######' from using Command 'CWD'.
> 2014-06-06 14:15:58.316 CWD /
< 2014-06-06 14:15:58.331 500 User Exit denies Userid '#######' from using Command 'CWD'.
. 2014-06-06 14:15:58.331 Copying files to remote side failed.
. 2014-06-06 14:15:58.331 Got reply 2004 to the command 4
* 2014-06-06 14:15:58.331 (ExtException) Copying files to remote side failed.
* 2014-06-06 14:15:58.331 User Exit denies Userid '#######' from using Command 'CWD'.
. 2014-06-06 14:15:58.331 Asking user:
. 2014-06-06 14:15:58.331 Error transferring file 'C:\Users\oliver.clark\Desktop\FTPS Test Files\Test.txt'. ("Copying files to remote side failed.","User Exit denies Userid '#######' from using Command 'CWD'.")
. 2014-06-06 14:16:52.932 Session upkeep
. 2014-06-06 14:16:53.447 Session upkeep
. 2014-06-06 14:16:53.961 Session upkeep
. 2014-06-06 14:16:54.476 Session upkeep
* 2014-06-06 14:16:54.866 (EScpSkipFile) Error transferring file 'C:\Users\oliver.clark\Desktop\FTPS Test Files\Test.txt'.
* 2014-06-06 14:16:54.866 Copying files to remote side failed.
* 2014-06-06 14:16:54.866 User Exit denies Userid '#######' from using Command 'CWD'.
. 2014-06-06 14:16:54.866 Cached directory not reloaded.
. 2014-06-06 14:16:54.866 Retrieving directory listing...
> 2014-06-06 14:16:54.866 CWD /'#######.'/'#######.'/
< 2014-06-06 14:16:54.882 500 User Exit denies Userid '#######' from using Command 'CWD'.
. 2014-06-06 14:16:54.882 Could not retrieve directory listing
. 2014-06-06 14:16:54.882 Got reply 4 to the command 2
* 2014-06-06 14:16:54.897 (ECommand) Error listing directory ''#######.''.
* 2014-06-06 14:16:54.897 Could not retrieve directory listing
* 2014-06-06 14:16:54.897 User Exit denies Userid '######' from using Command 'CWD'.
. 2014-06-06 14:16:58.579 Session upkeep
. 2014-06-06 14:16:59.094 Session upkeep
. 2014-06-06 14:16:59.609 Session upkeep
. 2014-06-06 14:17:00.123 Session upkeep
. 2014-06-06 14:17:00.638 Session upkeep
. 2014-06-06 14:17:00.966 Session upkeep
. 2014-06-06 14:17:01.028 Got reply 1004 to the command 2
. 2014-06-06 14:17:01.028 Disconnected from server