Topic "Error code: 2, Request code: 5 while copying small files"

Author Message
Michael

Guest


When I'm trying to copy files less than ~100 kB (SFTP protocol) from server, the message appears:

Error code: 2
Error message from server: No such file
Request code: 5

Files with size greather than ~100 kB are copying normally.

When I use SCP protocol,there is no such messages. But with use of that protocol I can't see normal file names (server has UTF-8 encoding).

Here is part of log:

Getting size of directory "2007-11-29"
Listing directory "/media/sda5/IC/140UD17/2007-11-29".
Type: SSH_FXP_OPENDIR, Size: 42, Number: 141579
Type: SSH_FXP_STATUS, Size: 24, Number: 141316
Discarding reserved response
Type: SSH_FXP_HANDLE, Size: 13, Number: 141579
Type: SSH_FXP_READDIR, Size: 13, Number: 141836
Type: SSH_FXP_NAME, Size: 1187, Number: 141836
Type: SSH_FXP_READDIR, Size: 13, Number: 142092
Type: SSH_FXP_STATUS, Size: 28, Number: 142092
Status/error code: 1
Type: SSH_FXP_CLOSE, Size: 13, Number: 142340
File: "/media/sda5/IC/140UD17/2007-11-29"
Listing directory "/media/sda5/IC/140UD17/2007-11-29".
Type: SSH_FXP_OPENDIR, Size: 42, Number: 142603
Type: SSH_FXP_STATUS, Size: 24, Number: 142340
Discarding reserved response
Type: SSH_FXP_HANDLE, Size: 13, Number: 142603
Type: SSH_FXP_READDIR, Size: 13, Number: 142860
Type: SSH_FXP_NAME, Size: 1187, Number: 142860
Type: SSH_FXP_READDIR, Size: 13, Number: 143116
Type: SSH_FXP_STATUS, Size: 28, Number: 143116
Status/error code: 1
Type: SSH_FXP_CLOSE, Size: 13, Number: 143364
File: "/media/sda5/IC/140UD17/2007-11-29/140UD17A_2.txt"
Copying "/media/sda5/IC/140UD17/2007-11-29/140UD17A_2.txt" to local directory started.
Binary transfer mode selected.
Checking existence of partially transfered file.
Opening remote file.
Type: SSH_FXP_OPEN, Size: 65, Number: 143619
Type: SSH_FXP_STATUS, Size: 24, Number: 143364
Discarding reserved response
Type: SSH_FXP_HANDLE, Size: 13, Number: 143619
Type: SSH_FXP_FSTAT, Size: 13, Number: 143880
Type: SSH_FXP_READ, Size: 25, Number: 144133
3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
Type: SSH_FXP_ATTRS, Size: 37, Number: 143880
Storing reserved response
Status/error code: 2, Message: 146181, Server: No such file, Language:
20 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
Type: SSH_FXP_CLOSE, Size: 13, Number: 147204
(ECommand) Копирование файлов с сервера не удалось.
Нет такого файла или папки.
Error code: 2
Error message from server: No such file
Request code: 5
Guest




Addition: the success of copying doesn't depend on file size; files can be copied or not copied. I don't understand upon what this depends.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24554
Location: Prague, Czechia
What is your SFTP server? Does it show something useful in its log (if it has any)?
_________________
Martin Prikryl
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