Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to transfer one zip file from a linux based machine to a Windows based using SCP.

I can go through the transfer ok but when it completes it says "No space left on device".

The destination of the share has a LOT of free space. I am transferring a file of around 5 gig but theres several hundred gig free on the share.

I was thinking it might be an issue thh directory paths. On the windows server box the share would be c:\folder when I use SCP in linux I use /folder.

Hope this makes sense.

share|improve this question

3 Answers 3

Just another guess: Is the SCP server running on the Windows machine a 64-bit software? If that's a 32-bit executable it will probably not support files over 4 GB (okay, GiB, so 4 x 1024 x 1024 x 1024 bytes).

Quick check: if you see "*32" in the Task Manager after the filename then that's a 32-bit executable. (See more: http://superuser.com/questions/358434/how-to-check-if-a-binary-is-32-or-64-bit-on-windows )

But if it's a 64-bit executable that still does not guarantee it can handle files over 4 GB...

Have you tried to transfer files about 4 GB? If a file below 4 GB (for example 3800 MB) is transferred without any problems but larger than 4 GB fails then the best guess is that SCP server can't handle this big files.

Another guess: there might be low disk space in the temp directory (opening %TEMP% will lead you there).

share|improve this answer

I always use Winscp to use scp on windows and never had a problem.

In addition could you provide the command and program you are running?

share|improve this answer
    
CentOS scp -v /backup/site/file.gz admin@IPADDRESS:/folder I beleive it is winscp on the windows box –  Tyler Jul 27 '12 at 14:12
1  
And what daemon is running on windows to accept this? –  Lucas Kauffman Jul 27 '12 at 14:14
    
Also, why not just go on the windows machine and pull it with winscp? –  Lucas Kauffman Jul 27 '12 at 14:20
    
I'm pretty sure that Windows doesn't have a native SCP implementation. That's a rather key piece of information, to be honest. If you aren't running an SSH service with SCP, you're stuck until you sort that out. –  Magellan Jul 27 '12 at 15:19

Just a guess but: Check if the server to which you want to copy the file have enough space on C drive for this file. It is possible that the receiver is placing the file in the temp directory where it is attaching the rest of the file parts during the transfer...

Also check if correct permission has been set, both to the share and NTFS. If the deamon have rights to write.

Check if there is a per user quota implemented on the drive/share.

share|improve this answer
    
Yes, that drive has over 100gig free. The file I am transferring is around 5gig –  Tyler Jul 27 '12 at 14:15
    
did you checked if correct NTFS permission has been set? Is the deamon which is handling the transfer has the write/modify/delete permissions? Is this a windows server? If yes - is there a quota implemented per user? –  mnmnc Jul 27 '12 at 14:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.