File is recognized as folder

Advertisement

waldimort
Donor
Joined:
Posts:
2

File is recognized as folder

Hi
I am experiencing trouble with one external PC which normally exchanged data smoothly the months before. This only change is that there is a new user used with limited rights.

The file 107160.nft is recognized as folder even it has a suffix.

Below is the log with all further required details (i hope)
Thanks in advance
Michael
. 2020-10-29 09:06:37.748 --------------------------------------------------------------------------
. 2020-10-29 09:06:37.748 WinSCP Version 5.17.7 (Build 10640) (OS 10.0.18362 - Windows 10 Enterprise)
. 2020-10-29 09:06:37.764 Configuration: C:\IT\winscp.ini
. 2020-10-29 09:06:37.764 Log level: Normal
. 2020-10-29 09:06:37.764 Local account: COMM\Admin
. 2020-10-29 09:06:37.764 Working directory: C:\OUT
. 2020-10-29 09:06:37.764 Process ID: 1408
. 2020-10-29 09:06:37.764 Command-line: "C:\IT\winscp.exe" /console=5.17.7 /consoleinstance=_6176_261 "/script=C:\IT\ftp.txt" "/log=c:\it\log\COMM_ftp_exchange.ps1_V2020-06-16_TS2020-10-29-0906_SFTP.log" "/parameter" "9464948" "\\NAS\" 
. 2020-10-29 09:06:37.764 Time zone: Current: GMT+0 (Coordinated Universal Time), No DST
. 2020-10-29 09:06:37.764 Login time: Thursday, October 29, 2020 9:06:37
. 2020-10-29 09:06:37.764 --------------------------------------------------------------------------
. 2020-10-29 09:06:37.764 Script: Retrospectively logging previous script records:
> 2020-10-29 09:06:37.764 Script: option batch abort
< 2020-10-29 09:06:37.764 Script: batch           abort     
> 2020-10-29 09:06:37.764 Script: open ftpes://usernamedummy:***@212.60.208.174:2121/
. 2020-10-29 09:06:37.764 --------------------------------------------------------------------------
. 2020-10-29 09:06:37.764 Session name: usernamedummy@212.60.208.174 (Ad-Hoc site)
. 2020-10-29 09:06:37.764 Host name: 212.60.208.174 (Port: 2121)
. 2020-10-29 09:06:37.764 User name: usernamedummy (Password: Yes, Key file: No, Passphrase: No)
. 2020-10-29 09:06:37.764 Transfer Protocol: FTP
. 2020-10-29 09:06:37.764 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2020-10-29 09:06:37.764 Disable Nagle: No
. 2020-10-29 09:06:37.764 Proxy: None
. 2020-10-29 09:06:37.764 Send buffer: 262144
. 2020-10-29 09:06:37.764 UTF: Auto
. 2020-10-29 09:06:37.764 FTPS: Explicit TLS/SSL [Client certificate: No]
. 2020-10-29 09:06:37.764 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2020-10-29 09:06:37.764 Session reuse: Yes
. 2020-10-29 09:06:37.764 TLS/SSL versions: TLSv1.0-TLSv1.2
. 2020-10-29 09:06:37.764 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2020-10-29 09:06:37.764 Cache directory changes: Yes, Permanent: Yes
. 2020-10-29 09:06:37.764 Recycle bin: Delete to: No, Overwritten to: No, Bin path: 
. 2020-10-29 09:06:37.764 Timezone offset: 0h 0m
. 2020-10-29 09:06:37.764 --------------------------------------------------------------------------
. 2020-10-29 09:06:37.764 Connecting to 212.60.208.174:2121 ...
. 2020-10-29 09:06:38.686 Connected with 212.60.208.174:2121, negotiating TLS connection...
< 2020-10-29 09:06:39.608 220 NASFTPD Turbo station 1.3.5a Server (ProFTPD)
> 2020-10-29 09:06:39.608 AUTH TLS
< 2020-10-29 09:06:40.748 234 AUTH TLS successful
. 2020-10-29 09:06:44.889 Verifying certificate for "" with fingerprint fa:e0:fa:79:d9:f0:d0:da:d4:d4:32:57:df:a5:85:0c:d6:22:ea:54 and 20 failures
. 2020-10-29 09:06:44.905 Certificate for "" matches cached fingerprint and failures
. 2020-10-29 09:06:44.905 Using TLSv1.2, cipher TLSv1.2: ECDHE-RSA-AES128-GCM-SHA256, 2048 bit RSA, ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AESGCM(128) Mac=AEAD
. 2020-10-29 09:06:44.905 TLS connection established. Waiting for welcome message...
> 2020-10-29 09:06:44.905 USER usernamedummy
< 2020-10-29 09:06:46.530 331 Password required for usernamedummy
> 2020-10-29 09:06:46.530 PASS ************
< 2020-10-29 09:06:57.217 230 User usernamedummy logged in
> 2020-10-29 09:06:57.217 SYST
< 2020-10-29 09:06:58.092 215 UNIX Type: L8
> 2020-10-29 09:06:58.092 FEAT
< 2020-10-29 09:06:59.045 211-Features:
< 2020-10-29 09:06:59.045  EPRT
< 2020-10-29 09:06:59.045  EPSV
< 2020-10-29 09:06:59.045  MDTM
< 2020-10-29 09:06:59.045  SSCN
< 2020-10-29 09:06:59.045  TVFS
< 2020-10-29 09:06:59.045  MFMT
< 2020-10-29 09:06:59.045  SIZE
< 2020-10-29 09:06:59.045  PROT
< 2020-10-29 09:06:59.045  CCC
< 2020-10-29 09:06:59.045  PBSZ
< 2020-10-29 09:06:59.045  AUTH TLS
< 2020-10-29 09:06:59.045  MFF modify;UNIX.group;UNIX.mode;
< 2020-10-29 09:06:59.045  REST STREAM
< 2020-10-29 09:06:59.045  MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
< 2020-10-29 09:06:59.045  UTF8
< 2020-10-29 09:06:59.077  LANG en-US*
< 2020-10-29 09:06:59.249 211 End
> 2020-10-29 09:06:59.249 OPTS UTF8 ON
< 2020-10-29 09:07:00.186 200 UTF8 set to on
> 2020-10-29 09:07:00.186 PBSZ 0
< 2020-10-29 09:07:01.030 200 PBSZ 0 successful
> 2020-10-29 09:07:01.030 PROT P
< 2020-10-29 09:07:01.936 200 Protection set to Private
. 2020-10-29 09:07:01.936 Connected
. 2020-10-29 09:07:01.936 --------------------------------------------------------------------------
. 2020-10-29 09:07:01.936 Using FTP protocol.
. 2020-10-29 09:07:01.952 Doing startup conversation with host.
> 2020-10-29 09:07:01.952 PWD
< 2020-10-29 09:07:02.920 257 "/" is the current directory
. 2020-10-29 09:07:02.920 Getting current directory name.
. 2020-10-29 09:07:02.920 Startup conversation with host finished.
< 2020-10-29 09:07:02.920 Script: Active session: [1] usernamedummy@212.60.208.174
> 2020-10-29 09:07:02.920 Script: option transfer binary
< 2020-10-29 09:07:02.920 Script: transfer        binary    
> 2020-10-29 09:07:02.920 Script: option confirm off
< 2020-10-29 09:07:02.920 Script: confirm         off       
> 2020-10-29 09:07:02.920 Script: option reconnecttime 20
< 2020-10-29 09:07:02.920 Script: reconnecttime   20        
> 2020-10-29 09:07:02.920 Script: cd /usernamedummy/Outgoing/9464948
. 2020-10-29 09:07:02.920 Cached directory change via "/usernamedummy/Outgoing/9464948" to "/usernamedummy/Outgoing/9464948".
. 2020-10-29 09:07:02.920 Getting current directory name.
< 2020-10-29 09:07:02.920 Script: /usernamedummy/Outgoing/9464948
> 2020-10-29 09:07:02.920 Script: lcd \\NAS\filetransfer\usernamedummy\outbound
< 2020-10-29 09:07:02.936 Script: \\NAS\filetransfer\usernamedummy\outbound
> 2020-10-29 09:07:02.936 Script: put * -delete -resume
. 2020-10-29 09:07:02.936 Copying 1 files/directories to remote directory "/usernamedummy/Outgoing/9464948" - total size: 27,279
. 2020-10-29 09:07:02.936   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask: 
. 2020-10-29 09:07:02.936   TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; EncryptNewFiles: Yes; ExcludeHiddenFiles: No; ExcludeEmptyDirectories: No; InclM: ; ResumeL: 0
. 2020-10-29 09:07:02.936   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2020-10-29 09:07:02.936 File: '107160.nft' [2020-10-29T18:00:01.379Z] [27279]
* 2020-10-29 09:07:02.936 (EOSExtException) Error retrieving file list for "107160.nft\*.*".
* 2020-10-29 09:07:02.936 System Error.  Code: 59.
* 2020-10-29 09:07:02.936 An unexpected network error occurred
. 2020-10-29 09:07:02.936 Asking user:
. 2020-10-29 09:07:02.936 Error listing directory '107160.nft\*.*'. ("Error retrieving file list for ""107160.nft\*.*"".","System Error.  Code: 59.","An unexpected network error occurred")
< 2020-10-29 09:07:02.936 Script: Error listing directory '107160.nft\*.*'.
< 2020-10-29 09:07:02.936 Script: Error retrieving file list for "107160.nft\*.*".

< 2020-10-29 09:07:02.936 System Error.  Code: 59.

< 2020-10-29 09:07:02.936 An unexpected network error occurred
* 2020-10-29 09:07:02.936 (ESkipFile) Error listing directory '107160.nft\*.*'.
* 2020-10-29 09:07:02.936 Error retrieving file list for "107160.nft\*.*".
* 2020-10-29 09:07:02.936 System Error.  Code: 59.
* 2020-10-29 09:07:02.936 An unexpected network error occurred
. 2020-10-29 09:07:02.936 Copying finished: Transferred: 0, Elapsed: 0:00:00, CPS: 0/s
. 2020-10-29 09:07:02.936 Script: Failed
. 2020-10-29 09:07:02.936 Script: Exit code: 1
. 2020-10-29 09:07:02.952 Disconnected from server

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,442
Location:
Prague, Czechia

Re: File is recognized as folder

The file server probably reports wrong information about the file. What "NAS" is that?

If you want us to investigate further, I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.

Reply with quote

Advertisement

You can post new topics in this forum