Opened 10 years ago

Closed 10 years ago

#9820 closed Bug report (outdated)

Cannot move large files between folders.

Reported by: chifuyu@anime.my Owned by:
Priority: normal Component: FileZilla Client
Keywords: mv Cc:
Component version: Operating system type: Windows
Operating system version: Windows 8.1

Description

When I use FileZilla 3.9.0.3 to log into my CentOS 6 server via SFTP, it seems that
I cannot move files between folders if the file size are large.

Log:-

10:29:10	Status:	Renaming '/root/[subbed by myKSN.NET]RM.E211.140831.HDTV.H264.720p.mp4' to '/home/azunyan/rm/[subbed by myKSN.NET]RM.E211.140831.HDTV.H264.720p.mp4'
10:29:10	Trace:	CSftpControlSocket::SendNextCommand()
10:29:10	Trace:	CSftpControlSocket::RenameSend()
10:29:10	Command:	mv "[subbed by myKSN.NET]RM.E211.140831.HDTV.H264.720p.mp4" "/home/azunyan/rm/[subbed by myKSN.NET]RM.E211.140831.HDTV.H264.720p.mp4"
10:29:12	Error:	mv /root/[subbed by myKSN.NET]RM.E211.140831.HDTV.H264.720p.mp4 /home/azunyan/rm/[subbed by myKSN.NET]RM.E211.140831.HDTV.H264.720p.mp4: failure
10:29:12	Trace:	CSftpControlSocket::ResetOperation(2)
10:29:12	Trace:	CControlSocket::ResetOperation(2)
10:29:12	Status:	Renaming '/root/[subbed by myKSN.Net]Running.Man.E210.140824.HDTV.x264.720p.mp4' to '/home/azunyan/rm/[subbed by myKSN.Net]Running.Man.E210.140824.HDTV.x264.720p.mp4'
10:29:12	Trace:	CSftpControlSocket::SendNextCommand()
10:29:12	Trace:	CSftpControlSocket::RenameSend()
10:29:12	Command:	mv "[subbed by myKSN.Net]Running.Man.E210.140824.HDTV.x264.720p.mp4" "/home/azunyan/rm/[subbed by myKSN.Net]Running.Man.E210.140824.HDTV.x264.720p.mp4"
10:29:13	Error:	mv /root/[subbed by myKSN.Net]Running.Man.E210.140824.HDTV.x264.720p.mp4 /home/azunyan/rm/[subbed by myKSN.Net]Running.Man.E210.140824.HDTV.x264.720p.mp4: failure
10:29:13	Trace:	CSftpControlSocket::ResetOperation(2)
10:29:13	Trace:	CControlSocket::ResetOperation(2)

Using the 'mv' command itself in a SSH session and it works fine.
If the file size are small (less than 50Mb or so), the moving process will work OK.
The files in the log above is at least 1.5GB in size.

Change History (8)

comment:1 by Tim Kosse, 10 years ago

Status: newmoreinfo

Are you authorized by the respective copyright owners to transfer those files?

comment:2 by chifuyu@anime.my, 10 years ago

Status: moreinfonew

Those files are private and not made available online. The transfers are made between two folders in a machine, not over networks - intra or internet.

comment:3 by Tim Kosse, 10 years ago

Status: newmoreinfo

Are you sure it's the size that causes the problems and not the square brackets [ ] in the filename? Some servers seems to have issues with those characters.

Try upgrading the server to CentOS 7, that might already solve the issue.

comment:4 by chifuyu@anime.my, 10 years ago

Status: moreinfonew

Renaming the file does not work.

22:14:54	Status:	Renaming '/root/720p.mp4' to '/home/azunyan/rm/720p.mp4'
22:14:54	Trace:	CSftpControlSocket::SendNextCommand()
22:14:54	Trace:	CSftpControlSocket::RenameSend()
22:14:54	Command:	mv "720p.mp4" "/home/azunyan/rm/720p.mp4"
22:14:55	Error:	mv /root/720p.mp4 /home/azunyan/rm/720p.mp4: failure
22:14:55	Trace:	CSftpControlSocket::ResetOperation(2)
22:14:55	Trace:	CControlSocket::ResetOperation(2)

Just a new information, it is indeed not about the size, or the file name. Instead I
suspect that the problem lies with the fact that /root and /home are located in two separate partitions
within a single physical hard disk. Just accidentally found out that I cannot move a 1Kb text file
between the two folders when using Filezilla's drag-and-drop feature either.

22:25:21	Status:	Renaming '/root/rm207.txt' to '/home/azunyan/rm/rm207.txt'
22:25:21	Trace:	CSftpControlSocket::SendNextCommand()
22:25:21	Trace:	CSftpControlSocket::RenameSend()
22:25:21	Command:	mv "rm207.txt" "/home/azunyan/rm/rm207.txt"
22:25:22	Error:	mv /root/rm207.txt /home/azunyan/rm/rm207.txt: failure
22:25:22	Trace:	CSftpControlSocket::ResetOperation(2)
22:25:22	Trace:	CControlSocket::ResetOperation(2)

Still I do think FileZilla is the culprit here, and not the server OS, because
using the custom 'mv' command manually in a SSH session works just fine.

comment:5 by Alexander Schuch, 10 years ago

Status: newmoreinfo

The command line application "mv" actually does a "rename" when source and destination are on the same partition. It falls back to "cp" and "rm" when not.

So what does the SFTP server you are using actually do? Can you try with the command line sftp client? Does it work there?

comment:6 by chifuyu@anime.my, 10 years ago

Status: moreinfonew

I cannot run any of the 'mv' or 'cp' or 'rm' command via FileZilla's 'Enter Custom Command' feature, if that's what you mean. I got the 'Error: Command not supported by this protocol' error message instead.

The SFTP server seems to be openssh (sftp-server).

Using the 'cp' and 'rm' commands ina Putty sessions to move files between two directories in two partitions works well, as do the 'mv' command.

comment:7 by Alexander Schuch, 10 years ago

Status: newmoreinfo

I was more referring to another SFTP client. You might try the PuTTY SFTP client (psftp):
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html.

Right now I believe this is a limitation of the SFTP server and not of FileZilla. So if you try another SFTP client and face the same problem, you should file the bug against OpenSSH.

comment:8 by Alexander Schuch, 10 years ago

Resolution: outdated
Status: moreinfoclosed

No reply for more than 28 days.

If you do not have this problem with another SFTP client, please re-open this issue. Thank you.

Note: See TracTickets for help on using tickets.