Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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: Unable to move files to USB Drive

Rilly wrote:

I did read that system normally won't allow moves to different file systems, but both are formatted as ext3.

It is not about file system type, but actual physical file system (read "drive").

I can perform the same move via commandline ssh (using mv). Using winscp, I'm able to duplicate the files to the USB drive.
If I can do it in ssh commandline, how come it won't work in WinSCP?

Well, that's rather a question for those who implement the "mv" command and your SFTP server.
Rilly

Unable to move files to USB Drive

Using WinSCP (4.1.9 build 416) I am not able to move files to a new external USB drive from my remote linux server. I did read that system normally won't allow moves to different file systems, but both are formatted as ext3. I can perform the same move via commandline ssh (using mv). Using winscp, I'm able to duplicate the files to the USB drive.
If I can do it in ssh commandline, how come it won't work in WinSCP? I am logged in as root as well.

OS on the remote server is Debian 4.0. When I attempt, i get the error
General failure (server should provide error description).
Error code: 4
Error message from server: Failure
Request code: 18

From the logging:


. 2009-07-18 11:51:11.657 Moving file "The_Christmas_Raccoons.avi" to "/home/torrentflux/usb/The_Christmas_Raccoons.avi".
> 2009-07-18 11:51:11.657 Type: SSH_FXP_RENAME, Size: 133, Number: 10258
> 2009-07-18 11:51:11.657 12,00,00,28,12,00,00,00,48,2F,68,6F,6D,65,2F,74,6F,72,72,65,6E,74,66,6C,75,
> 2009-07-18 11:51:11.657 78,2F,6D,69,6F,64,75,64,65,2F,54,68,65,2E,52,61,63,63,6F,6F,6E,73,2E,5B,43,
> 2009-07-18 11:51:11.657 41,4B,4C,5D,2F,54,68,65,5F,43,68,72,69,73,74,6D,61,73,5F,52,61,63,63,6F,6F,
> 2009-07-18 11:51:11.657 6E,73,2E,61,76,69,00,00,00,30,2F,68,6F,6D,65,2F,74,6F,72,72,65,6E,74,66,6C,
> 2009-07-18 11:51:11.657 75,78,2F,75,73,62,2F,54,68,65,5F,43,68,72,69,73,74,6D,61,73,5F,52,61,63,63,
> 2009-07-18 11:51:11.657 6F,6F,6E,73,2E,61,76,69,
. 2009-07-18 11:51:11.657 Sent 137 bytes
. 2009-07-18 11:51:11.657 There are 0 bytes remaining in the send buffer
. 2009-07-18 11:51:11.657 Looking for network events
. 2009-07-18 11:51:11.657 Timeout waiting for network events
. 2009-07-18 11:51:11.657 Read 4 bytes (24 pending)
. 2009-07-18 11:51:11.657 Read 24 bytes (0 pending)
< 2009-07-18 11:51:11.657 Type: SSH_FXP_STATUS, Size: 24, Number: 9988
< 2009-07-18 11:51:11.657 65,00,00,27,04,00,00,00,00,00,00,00,07,53,75,63,63,65,73,73,00,00,00,00,
. 2009-07-18 11:51:11.657 Discarding reserved response
. 2009-07-18 11:51:11.657 Waiting for another 4 bytes
. 2009-07-18 11:51:11.657 Looking for incoming data
. 2009-07-18 11:51:11.657 Looking for network events
. 2009-07-18 11:51:11.782 Detected network event
. 2009-07-18 11:51:11.782 Enumerating network events for socket 524
. 2009-07-18 11:51:11.782 Enumerated 1 network events making 1 cumulative events for socket 524
. 2009-07-18 11:51:11.782 Handling network read event on socket 524 with error 0
. 2009-07-18 11:51:11.782 Received 28 bytes (0)
. 2009-07-18 11:51:11.782 Read 4 bytes (24 pending)
. 2009-07-18 11:51:11.782 Read 24 bytes (0 pending)
< 2009-07-18 11:51:11.782 Type: SSH_FXP_STATUS, Size: 24, Number: 10258
< 2009-07-18 11:51:11.782 65,00,00,28,12,00,00,00,04,00,00,00,07,46,61,69,6C,75,72,65,00,00,00,00,
< 2009-07-18 11:51:11.782 Status/error code: 4, Message: 10258, Server: Failure, Language:
. 2009-07-18 11:51:11.782 Asking user:
. 2009-07-18 11:51:11.782 Error moving file 'The_Christmas_Raccoons.avi' to '/home/torrentflux/usb/The_Christmas_Raccoons.avi'. ("General failure (server should provide error description).
. 2009-07-18 11:51:11.782 Error code: 4
. 2009-07-18 11:51:11.782 Error message from server: Failure
. 2009-07-18 11:51:11.782 Request code: 18")