Post a reply

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: Could not retrieve file information. File cannot be listed

I'm pretty sure that http://somesite.de/test/somefile.xml is not correct "path". That's URL, not path. Login with GUI to see what path you should use.
Bullcommander

Could not retrieve file information. File cannot be listed

I am using WinSCP to download a file from an FTP Server. Login and Handshake are sucessful but I get the error message stating: Could not retrieve file information
'/http:/somesite.de/test/somefile.xml' cannot be listed

Here is the full Log File:

[code]. 2018-08-01 08:59:57.164 WinSCP Version 5.13.3 (Build 8565) (OS 10.0.15063 - Windows 10 Pro)
. 2018-08-01 08:59:57.164 Configuration: nul
. 2018-08-01 08:59:57.164 Log level: Normal
. 2018-08-01 08:59:57.164 Local account: bullcommander
. 2018-08-01 08:59:57.164 Working directory: C:\Users\bullcommander\source\repos\FTP v1\FTP v1 v1\bin\Debug
. 2018-08-01 08:59:57.164 Process ID: 9296
. 2018-08-01 08:59:57.165 Command-line: "C:\Users\bullcommander\source\repos\FTP v1\FTP v1\bin\Debug\winscp.exe" /xmllog="C:\Users\bullcommander\AppData\Local\Temp\wscp32D8.021538BB.tmp" /xmlgroups /xmllogrequired /nointeractiveinput /dotnet=1.0.0 /ini=nul /log="C:\winscp.log" /console /consoleinstance=_13016_46071449_743
. 2018-08-01 08:59:57.165 Time zone: Current: GMT+2, Standard: GMT+1 (Mitteleuropäische Zeit), DST: GMT+2 (Mitteleuropäische Sommerzeit), DST Start: 25.03.2018, DST End: 28.10.2018
. 2018-08-01 08:59:57.165 Login time: Mittwoch, 1. August 2018 08:59:57
. 2018-08-01 08:59:57.165 --------------------------------------------------------------------------
. 2018-08-01 08:59:57.165 Script: Retrospectively logging previous script records:
> 2018-08-01 08:59:57.165 Script: option batch on
< 2018-08-01 08:59:57.165 Script: batch on
< 2018-08-01 08:59:57.165 Script: reconnecttime 120
> 2018-08-01 08:59:57.165 Script: option confirm off
< 2018-08-01 08:59:57.165 Script: confirm off
> 2018-08-01 08:59:57.165 Script: option reconnecttime 120
< 2018-08-01 08:59:57.165 Script: reconnecttime 120
> 2018-08-01 08:59:57.165 Script: open ftp://u1643120:***@somesite.de -passive=1 -timeout=15 -rawsettings ProxyMethod="2" ProxyHost="socks.frq.ag" ProxyPort="1080" ProxyUsername="socksftp" ProxyPassword=***
. 2018-08-01 08:59:57.165 --------------------------------------------------------------------------
. 2018-08-01 08:59:57.165 Session name: u1643120@somesite.de (Ad-Hoc site)
. 2018-08-01 08:59:57.165 Host name: somesite.de (Port: 21)
. 2018-08-01 08:59:57.165 User name: u1643120 (Password: Yes, Key file: No, Passphrase: No)
. 2018-08-01 08:59:57.165 Transfer Protocol: FTP
. 2018-08-01 08:59:57.165 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2018-08-01 08:59:57.165 Disable Nagle: No
. 2018-08-01 08:59:57.165 Proxy: SOCKS5
. 2018-08-01 08:59:57.165 HostName: socks.frq.ag (Port: 1080); Username: socksftp; Passwd: Yes
. 2018-08-01 08:59:57.165 Send buffer: 262144
. 2018-08-01 08:59:57.165 UTF: Auto
. 2018-08-01 08:59:57.165 FTPS: None [Client certificate: No]
. 2018-08-01 08:59:57.165 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2018-08-01 08:59:57.165 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2018-08-01 08:59:57.165 Cache directory changes: Yes, Permanent: Yes
. 2018-08-01 08:59:57.165 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2018-08-01 08:59:57.165 Timezone offset: 0h 0m
. 2018-08-01 08:59:57.165 --------------------------------------------------------------------------
. 2018-08-01 08:59:57.174 Connecting to somesite.de ...
. 2018-08-01 08:59:57.388 Connection with proxy established, performing handshake...
. 2018-08-01 08:59:57.412 Connected with somesite.de. Waiting for welcome message...
< 2018-08-01 08:59:57.452 220 FTP Server ready.
> 2018-08-01 08:59:57.452 USER u1643120
< 2018-08-01 08:59:57.470 331 Password required for u1643120
> 2018-08-01 08:59:57.470 PASS ***************
< 2018-08-01 08:59:57.518 230 User u1643120 logged in
> 2018-08-01 08:59:57.518 SYST
< 2018-08-01 08:59:57.534 215 UNIX Type: L8
> 2018-08-01 08:59:57.534 FEAT
< 2018-08-01 08:59:57.551 211-Features:
< 2018-08-01 08:59:57.551 LANG zh-TW;zh-CN;fr-FR;ru-RU;ja-JP;en-US;bg-BG;it-IT;ko-KR;es-ES
< 2018-08-01 08:59:57.551 MDTM
< 2018-08-01 08:59:57.551 TVFS
< 2018-08-01 08:59:57.551 MFMT
< 2018-08-01 08:59:57.551 SIZE
< 2018-08-01 08:59:57.551 MFF modify;UNIX.group;UNIX.mode;
< 2018-08-01 08:59:57.551 REST STREAM
< 2018-08-01 08:59:57.551 MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
< 2018-08-01 08:59:57.551 UTF8
< 2018-08-01 08:59:57.551 EPRT
< 2018-08-01 08:59:57.551 EPSV
< 2018-08-01 08:59:57.591 211 End
> 2018-08-01 08:59:57.591 OPTS UTF8 ON
< 2018-08-01 08:59:57.608 200 UTF8 set to on
. 2018-08-01 08:59:57.608 Connected
. 2018-08-01 08:59:57.608 --------------------------------------------------------------------------
. 2018-08-01 08:59:57.608 Using FTP protocol.
. 2018-08-01 08:59:57.608 Doing startup conversation with host.
> 2018-08-01 08:59:57.609 PWD
< 2018-08-01 08:59:57.625 257 "/" is the current directory
. 2018-08-01 08:59:57.625 Getting current directory name.
. 2018-08-01 08:59:57.625 Startup conversation with host finished.
< 2018-08-01 08:59:57.625 Script: Active session: [1] u1643120@somesite.de
> 2018-08-01 08:59:57.974 Script: pwd
< 2018-08-01 08:59:57.974 Script: /
> 2018-08-01 08:59:58.037 Script: get -nopermissions -preservetime -transfer="binary" -- "http://somesite.de/test/somefile.xml" "somefile.xml"
. 2018-08-01 08:59:58.037 Listing file "http://somesite.de/test/somefile.xml".
. 2018-08-01 08:59:58.038 Retrieving file information...
> 2018-08-01 08:59:58.038 MLST /http:/somesite.de/test/somefile.xml
< 2018-08-01 08:59:58.055 550 '/http:/somesite.de/test/somefile.xml' cannot be listed
. 2018-08-01 08:59:58.055 Could not retrieve file information
< 2018-08-01 08:59:58.055 Script: Can't get attributes of file '/http:/somesite.de/test/somefile.xml'.
< 2018-08-01 08:59:58.055 Could not retrieve file information

< 2018-08-01 08:59:58.055 '/http:/somesite.de/test/somefile.xml' cannot be listed
. 2018-08-01 08:59:58.055 Script: Failed
> 2018-08-01 08:59:58.134 Script: exit
. 2018-08-01 08:59:58.134 Script: Exit code: 1
. 2018-08-01 08:59:58.138 Disconnected from server