Topic "Unexpected directory listing line '-rw-rw-rw- on TS-109"

Author Message
fonzy35
[View user's profile]

Joined: 29 Oct 2007
Posts: 7
Location: Canada
i got winscp version 4.0.5
and my server is QNAP TS-109
firmaware1.1.13
i get Unexpected directory listing line '-rw-rw-rw- 1 admin administ735537152 Oct 16 03:42 16 Blocks 2006.avi'.

but in command console. i got no problem


Listing current directory.
ls -la ; echo "WinSCP: this is end-of-file:$?"
drwxrwxrwx 3 admin everyone 4096 Oct 27 18:30 .
drwxrwxrwx 15 admin administ 4096 Oct 21 22:54 ..
-rw-rw-rw- 1 admin administ735537152 Oct 16 03:42 16 Blocks 2006.avi
-rw-rw-rw- 1 admin administ735145984 Oct 6 11:18 28 Weeks Later 2007.avi
-rw-rw-rw- 1 admin administ734777344 Oct 13 09:56 88 Minutes 2007.avi
-rw-rw-rw- 1 admin administ733945856 Oct 17 14:16 Aeon Flux 2005.avi
-rw-rw-rw- 1 admin administ733986816 Oct 17 12:03 Asterix and the Vikings 2006.avi
-rw-rw-rw- 1 admin administ735350784 Oct 14 01:47 Beerfest 2006.avi
-rw-rw-rw- 1 admin administ733747200 Oct 6 04:31 Blades Of Glory 2007.avi
-rw-rw-rw- 1 admin administ735121408 Oct 13 21:43 Breaking And Entering2006.avi
-rw-rw-rw- 1 admin administ733870080 Oct 14 03:32 Captivity 2007.avi
-rw-rw-rw- 1 admin administ735852544 Oct 17 17:21 Casanova 2005.avi
-rw-rw-rw- 1 admin administ733829120 Oct 15 00:29 Cherry Crush 2007.avi
-rw-rw-rw- 1 admin administ735698944 Oct 14 10:12 Children Of Men 2006.avi
-rw-rw-rw- 1 admin administ734314496 Oct 16 05:07 Clerks 2 2006.avi
-rw-rw-rw- 1 admin administ735815680 Oct 14 06:37 Click 2006.avi
-rw-rw-rw- 1 admin administ731101184 Sep 13 11:17 Curse of Alcatraz .avi
-rw-rw-rw- 1 admin administ734707712 Oct 6 22:01 DOA-Dead Or Alive 2006.avi
-rw-rw-rw- 1 admin administ733777920 Oct 6 07:49 Deck The Halls 2006.avi
-rw-rw-rw- 1 admin administ733407232 Oct 15 04:29 Doctor Strange-The Sorcerer Supreme 2007.avi
-rw-rw-rw- 1 admin administ735784960 Oct 14 17:24 Dreamgirls 2006.avi
-rw-rw-rw- 1 admin administ735696896 Oct 17 14:31 Dungeons and Dragons 2 2005 Wrath of the Dragon God.avi
-rw-rw-rw- 1 admin administ735504384 Oct 13 07:35 Dynamite Warrior 2006.avi
-rw-rw-rw- 1 admin administ735191040 Oct 17 06:22 Elektra 2005.avi
-rw-rw-rw- 1 admin administ734812160 Oct 16 17:06 Employee Of The Month 2006.avi
-rw-rw-rw- 1 admin administ733984768 Oct 13 01:48 Epic Movie 2007 Unrated Edition.avi
-rw-rw-rw- 1 admin administ734601216 Oct 13 03:25 Eragon 2007.avi
-rw-rw-rw- 1 admin administ735299584 Oct 8 05:55 Evan Almighty 2007.avi
-rw-rw-rw- 1 admin administ735225856 Oct 7 14:54 Evening 2007.avi
-rw-rw-rw- 1 admin administ733943808 Oct 9 16:42 Fantastic Four-Rise Of The Silver Surfer 2007.avi
-rw-rw-rw- 1 admin administ733970432 Oct 17 08:38 Final Destination 3 2006.avi
-rw-rw-rw- 1 admin administ735365120 Oct 7 23:02 First Born 2007.avi
-rw-rw-rw- 1 admin administ733693952 Oct 15 08:25 Flushed Away 2006.avi
-rw-rw-rw- 1 admin administ838973440 Oct 16 20:14 Flyboys 2006.avi
-rw-rw-rw- 1 admin administ734894080 Oct 11 21:24 Ghost Rider 2007.avi
-rw-rw-rw- 1 admin administ1467039744 Oct 14 10:46 Gladiator 2000 Extended Edition.avi
-rw-rw-rw- 1 admin administ736012288 Oct 15 11:15 Goal 2-Living The Dream 2007.avi
-rw-rw-rw- 1 admin administ728285184 Sep 10 21:15 Gracie.avi
-rw-rw-rw- 1 admin administ735025152 Oct 6 19:19 Grindhouse-Death Proof 2007 Unrated Editon.avi
-rw-rw-rw- 1 admin administ733786112 Oct 15 05:32 Happily N'Ever After 2007.avi
-rw-rw-rw- 1 admin administ735672320 Oct 17 05:12 Hard Candy 2006.avi
-rw-rw-rw- 1 admin administ733165568 Oct 17 00:02 House of Sand and Fog 2003.avi
-rw-rw-rw- 1 admin administ735887360 Oct 17 16:31 House of Wax 2005.avi
-rw-rw-rw- 1 admin administ733663232 Oct 16 07:53 Idiocracy 2006.avi
-rw-rw-rw- 1 admin administ734625792 Oct 16 21:05 Jump In! 2007.avi
-rw-rw-rw- 1 admin administ735440896 Oct 17 11:57 Kiss Kiss-Bang Bang 2005.avi
-rw-rw-rw- 1 admin administ735959040 Oct 6 02:23 Knocked Up 2007 Unrated Edition.avi
-rw-rw-rw- 1 admin administ1468147712 Oct 9 02:39 Krrish 2006.avi
-rw-rw-rw- 1 admin administ838971392 Oct 14 13:38 Letters From Iwo Jima 2006.avi
-rw-rw-rw- 1 admin administ838852608 Oct 14 05:55 Little Children 2006.avi
-rw-rw-rw- 1 admin administ735528960 Oct 14 14:57 Little Miss Sunshine 2006.avi
-rw-rw-rw- 1 admin administ733536256 Oct 7 17:51 Meet The Robinsons 2007.avi
-rw-rw-rw- 1 admin administ735946752 Oct 13 23:51 Mission-Impossible 3 2006.avi
-rw-rw-rw- 1 admin administ734552064 Oct 17 02:58 Mr & Mrs Smith 2005 Unrated Edition.avi
-rw-rw-rw- 1 admin administ733302784 Oct 7 23:27 Mr.Bean's Holiday 2007.avi
-rw-rw-rw- 1 admin administ735356928 Oct 8 05:02 Mr.Brooks 2007.avi
-rw-rw-rw- 1 admin administ735178752 Oct 17 04:04 My Super Ex-Girlfriend 2006.avi
-rw-rw-rw- 1 admin administ733931520 Oct 14 07:23 Nacho Libre 2006.avi
drwxr-xr-x 2 admin administ 4096 Oct 27 18:06 New folder
-rw-rw-rw- 1 admin administ733855744 Oct 6 04:29 Next 2007.avi
-rw-rw-rw- 1 admin administ734500864 Oct 13 09:32 Norbit 2007.avi
-rw-rw-rw- 1 admin administ735408128 Oct 9 08:39 Ocean's 13 2007.avi
-rw-rw-rw- 1 admin administ733753344 Oct 15 19:51 Open Season 2006.avi
-rw-rw-rw- 1 admin administ735287296 Oct 14 03:35 Pan's Labyrinth 2006.avi
-rw-rw-rw- 1 admin administ735209472 Oct 13 14:29 Peaceful Warrior 2006.avi
-rw-rw-rw- 1 admin administ944850944 Oct 13 19:19 Pirates Of The Caribbean-The Curse Of The Black Pearl 2003.avi
-rw-rw-rw- 1 admin administ944136192 Oct 13 19:18 Pirates of the Caribbean-Dead Man's Chest 2006.avi
-rw-rw-rw- 1 admin administ733601792 Oct 9 14:48 Prey 2007.avi
-rw-rw-rw- 1 admin administ734937088 Oct 17 13:11 Pulse 2006 Unrated Edition.avi
-rw-rw-rw- 1 admin administ734066688 Oct 17 18:45 RV 2006.avi
-rw-rw-rw- 1 admin administ735610880 Oct 9 18:38 Reign Over Me 2007.avi
-rw-rw-rw- 1 admin administ734451712 Oct 18 02:36 Reincarnation[Rinne]2005.avi
-rw-rw-rw- 1 admin administ733894656 Oct 16 20:19 Revolver 2005.avi
-rw-rw-rw- 1 admin administ735938560 Oct 16 13:05 Scary Movie 4 2006 Unrated.Edition.avi
-rw-rw-rw- 1 admin administ735832064 Oct 13 13:45 School For Scoundrels 2006 Unrated Edition.avi
-rw-rw-rw- 1 admin administ735000576 Oct 13 08:34 Shredderman Rules 2007.avi
-rw-rw-rw- 1 admin administ733941760 Oct 6 05:10 Shrek The Third 2007.avi
-rw-rw-rw- 1 admin administ734832640 Oct 12 11:25 Smokin' Aces 2007.avi
-rw-rw-rw- 1 admin administ1468928000 Oct 7 03:20 Species The Awakening 2007.avi
-rw-rw-rw- 1 admin administ838916096 Oct 9 17:52 Spider Man 3 2007.avi
-rw-rw-rw- 1 admin administ735293440 Oct 10 15:53 Splinter 2006.avi
-rw-rw-rw- 1 admin administ735639552 Oct 16 15:34 Step Up 2006.avi
-rw-rw-rw- 1 admin administ735027200 Oct 15 15:34 Stranger Than Fiction 2006.avi
-rw-rw-rw- 1 admin administ735735808 Oct 12 01:59 Sunshine 2007.avi
-rw-rw-rw- 1 admin administ734148608 Oct 14 16:37 Tenacious D-The Pick Of Destiny 2006.avi
-rw-rw-rw- 1 admin administ733962240 Oct 16 03:45 The Abandoned 2006.avi
-rw-rw-rw- 1 admin administ735311872 Oct 13 23:32 The Contract 2006.avi
-rw-rw-rw- 1 admin administ840271872 Oct 12 14:25 The Da Vinci Code 2006.avi
-rw-rw-rw- 1 admin administ733968384 Oct 17 08:57 The Descent 2005.avi
-rw-rw-rw- 1 admin administ736040960 Oct 16 10:27 The Fellowship Of The Ring CD2 2001.avi
-rw-rw-rw- 1 admin administ735401984 Oct 14 19:54 The Fountain 2006.avi
-rw-rw-rw- 1 admin administ839884800 Oct 15 06:56 The Holiday 2006.avi
-rw-rw-rw- 1 admin administ735334400 Oct 15 15:00 The Host 2006.avi
-rw-rw-rw- 1 admin administ735995904 Oct 7 22:52 The Invisible 2007.avi
-rw-rw-rw- 1 admin administ735358976 Oct 13 02:16 The Painted Veil 2006.avi
-rw-rw-rw- 1 admin administ735221760 Oct 14 16:32 The Pursuit Of Happyness 2006.avi
-rw-rw-rw- 1 admin administ735426560 Oct 13 15:31 The Reaping 2007.avi
-rw-rw-rw- 1 admin administ735643648 Oct 14 07:10 The Tiger's Tail 2006.avi
-rw-rw-rw- 1 admin administ734988288 Oct 17 05:26 The Tripper 2006.avi
-rw-rw-rw- 1 admin administ735547392 Oct 16 17:17 The Two Towers CD1 2002.avi
-rw-rw-rw- 1 admin administ735197184 Oct 16 17:16 The Two Towers CD2 2002.avi
-rw-rw-rw- 1 admin administ733446144 Oct 16 02:29 Tim Burtons Corpse Bride 2005.avi
-rw-rw-rw- 1 admin administ943955968 Oct 6 10:48 Transformers 2007 aXXo.avi
-rw-rw-rw- 1 admin administ734775296 Oct 17 08:00 Transporter 2 2005.avi
-rw-rw-rw- 1 admin administ735633408 Oct 17 02:02 Underworld 2 Evolution 2006.avi
-rw-rw-rw- 1 admin administ734660608 Oct 15 08:26 V For Vendetta 2005.avi
-rw-rw-rw- 1 admin administ733718528 Oct 7 18:16 Vacancy 2007.avi
-rw-rw-rw- 1 admin administ735033344 Oct 17 10:47 Walk the Line 2005.avi
-rw-rw-rw- 1 admin administ735057920 Oct 6 17:14 Walking Tall-Lone Justice 2007.avi
-rw-rw-rw- 1 admin administ735948800 Oct 16 10:30 Wedding Crashers 2005.avi
-rw-rw-rw- 1 admin administ735287296 Oct 16 10:27 White Noise 2-The Light 2007.avi
-rw-rw-rw- 1 admin administ733589504 Oct 13 19:37 Wild Seven 2006.avi
-rw-rw-rw- 1 admin administ733906944 Oct 15 03:38 Wind Chill 2007.avi
-rw-rw-rw- 1 admin administ735660032 Oct 14 19:20 X-Men The Last Stand 2006.avi
-rw-rw-rw- 1 admin administ729674138 Oct 15 23:33 Yo Yo Girl Cop (eng subs)fix2.avi
-rw-rw-rw- 1 admin administ733900800 Aug 22 11:16 Yo Yo Girl Cop German 2006.avi
-rw-rw-rw- 1 admin administ735916032 Oct 15 20:55 You Me and Dupree 2006.avi
WinSCP: this is end-of-file:0
(ECommand) Error listing directory '/share/HDA_DATA/JC'.
Unexpected directory listing line '-rw-rw-rw- 1 admin administ735537152 Oct 16 03:42 16 Blocks 2006.avi'.
Advertisements
fonzy35
[View user's profile]

Joined: 29 Oct 2007
Posts: 7
Location: Canada
and i Use SFTP and enable option Alias LS to display group name.
fonzy35
[View user's profile]

Joined: 29 Oct 2007
Posts: 7
Location: Canada
I'm using window vista on my laptop
fonzy35
[View user's profile]

Joined: 29 Oct 2007
Posts: 7
Location: Canada
i uploaded a 2 MB video file and it didn't have problem listing it in the directory

i think WINSCP have trouble listing directory with big file...

it was un able to list directory where i keep my ghost backup file (size 733,991,798 bytes) on the server
fonzy35
[View user's profile]

Joined: 29 Oct 2007
Posts: 7
Location: Canada
My server doesn't support STFP but its does scp
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 18389
Location: Prague, Czech republic
Obviously there's a missing space in between group name and file size. WinSCP cannot handle that.
_________________
Martin Prikryl
mordorf

Guest


The TS109 seems to have a problem with group names longer than
8 characters. I created a new group that consisted of no more than 8 characters, added the admin account (and any others) to it and then used chgrp command to change the directory settings.
Exact command I used was:
chgrp -R <groupname> <directory>

Hope this helps.
Wink
fonzy35
[View user's profile]

Joined: 29 Oct 2007
Posts: 7
Location: Canada
mordorf wrote:
The TS109 seems to have a problem with group names longer than
8 characters. I created a new group that consisted of no more than 8 characters, added the admin account (and any others) to it and then used chgrp command to change the directory settings.
Exact command I used was:
chgrp -R <groupname> <directory>

Hope this helps.
Wink


Your that man.. Very Happy

It work

Thanks you very much Very Happy
Guest




mordorf wrote:
The TS109 seems to have a problem with group names longer than
8 characters. I created a new group that consisted of no more than 8 characters, added the admin account (and any others) to it and then used chgrp command to change the directory settings.
Exact command I used was:
chgrp -R <groupname> <directory>

Hope this helps.
Wink


I am getting the same problem. I cannot list directories with files larger than 99,999,999 bytes in size (e.g. 366260224) if I have a group name 8 chars long (e.g. everyone).

This is clearly a bug - is it being worked on?

Regards, Jules.
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 18389
Location: Prague, Czech republic
Quote:
This is clearly a bug - is it being worked on?

I do not consider it a bug. Your server simply creates directory listing that cannot be parsed.
_________________
Martin Prikryl
asyadiqin
[View user's profile]

Joined: 21 Nov 2007
Posts: 1
Location: Liverpool, UK
I am having the same issue. Changing the group name on some of the files and folders do solve some of the errors, but there are some folders, eg. external USB drive, etc.. which cannot be changed.

Is there a way to customise the way WinSCP list the directories. Preferably something like ls -lah, which makes the filesize human-readable, thus preventing that bug with the QNAP NAS device.
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 18389
Location: Prague, Czech republic
asyadiqin wrote:
Is there a way to customise the way WinSCP list the directories.

Maybe in the next version.
Quote:
Preferably something like ls -lah, which makes the filesize human-readable, thus preventing that bug with the QNAP NAS device.

But we need that computer-readable, not human-readable Smile
_________________
Martin Prikryl
PPmarcel

Guest


Hello. I have the same problem, but it appair that i have only 1 file and 1 folder that i can't see:

Quote:
Unexpected directory listing line '-rwxrwxr-x 1 PPmarcel PPmarcel741101568 Oct 12 22:43 Les_Pirates_De_La_Silicon_Valley.avi'.


As you see, i only have 8 letters in my group. The folder don't show any error, but i still can't see it, whereas with putty i can go in.

What's going on? Sad
TS

Guest


The problem is the lack of space between the group name and the file size. WinSCP needs a space there so it can tell where the group name ends and where the file size begins. I think if you use SFTP this should be a non-issue.
PPmarcel

Guest


Oh yes, that's was that. I'm really surprised, i thought i had an another problem. Thank you for you anwser Wink
fonzy35
[View user's profile]

Joined: 29 Oct 2007
Posts: 7
Location: Canada
Yeah! TS-109 doesn't come with SFTP server.. i installed it on the TS-109...
work great now... it was runing SCP rollback.. and administ... too many letter.. so i did like great people of this forum told me to do.. 8 carecter or less (admin) for groupe name under SCP rollback..

Thanks guy...

for SFTP install on TS-109.. see the modler only section in the forum section on Qnap web site..
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 18389
Location: Prague, Czech republic
prikryl wrote:
asyadiqin wrote:
Is there a way to customise the way WinSCP list the directories.

Maybe in the next version.

This feature has been implemented already. It will be included into the next major release.
_________________
Martin Prikryl
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 18389
Location: Prague, Czech republic
This issue is being tracked here.
_________________
Martin Prikryl
prikryl
[View user's profile]
Site Admin
Joined: 10 Dec 2002
Posts: 18389
Location: Prague, Czech republic
For list of reasons WinSCP cannot parse directory listing and possible resolutions, see documentation.
_________________
Martin Prikryl
moe

Guest


prikryl wrote:
For list of reasons WinSCP cannot parse directory listing and possible resolutions, see documentation.


Hi,
a "quick and dirty" solution is to use the listing command:

ls -lan

in the SCP/Shell Tab, if your server supports it.
The "-n" flag list numeric UIDs and GIDs, instead of names, so the risk that the size of file "reaches" the group name will be quite low.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License