OK, I see. I'm afraid it won't work. Sorry.
Ah. Thanks for confirming this for me. I understand that the way the zOS handles file paths is different.
OK, I see. I'm afraid it won't work. Sorry.
Session.SessionLogPath
. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.Exception calling "ListDirectory" with "1" argument(s): "Error listing directory ''CSAN.RCS.NSTAR.''.
Could not retrieve directory listing
CWD cmd failed : EDC5129I No such file or directory."
$session.ListDirectory("'AAAA.AAA.AAAA.'")
PS C:\Users\rtbt\Documents\FTP PowerShell Scripts> $session.ListDirectory("`'`AAA.AAA.AAAA.`'")
Exception calling "ListDirectory" with "1" argument(s): "Error listing directory ''AAA.AAA.AAAA.''.
Could not retrieve directory listing
CWD cmd failed : EDC5129I No such file or directory."
At line:1 char:1
+ $session.ListDirectory("`'`AAAA.AAA.AAAA.`'")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : SessionRemoteException