Jason Brice

Active Member
Sep 29, 2001
44
0
306
Hi,

I'm movig a very large site onto a new server, and I have tried moving the manually created 4Gb cpmove-user.tar.gz file using wget. I get this response:


Code:
[email protected] [/backup/cpbackup/daily]# wget http://www.domain.com/cpmove-sbc.tar.gz
--18:39:59--  http://www.domain.com/cpmove-user.tar.gz
           => `cpmove-user.tar.gz'
Resolving www.domain.com... XXX.XXX.XXX.XXX
Connecting to www.domain.com|XXX.XXX.XXX.XXX|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
18:39:59 ERROR 403: Forbidden.
when I use ftp from shell I get this:

Code:
ftp> get cpmove-user.tar.gz
local: cpmove-user.tar.gz remote: cpmove-user.tar.gz
227 Entering Passive Mode (XXX,XXX,XXX,XXX,XXX,252)
550 Can't open cpmove-user.tar.gz: File too large
ftp>
What should I use to move the file across?

Thanks!
 

Mysteerie

Well-Known Member
Dec 29, 2003
129
0
166
SCP is great for moving large files over. I have used it to transfer about 10GB accounts over.
 

brianoz

Well-Known Member
Mar 13, 2004
1,146
7
168
Melbourne, Australia
cPanel Access Level
Root Administrator
ujr said:
if I remember correctly, using your example above, it would be:

#scp -p 4000 user.tar.gz [email protected]:/home/user/
Actually, it's -P not -p for scp, so the command should be:
Code:
#scp [B]-P[/B] 4000 user.tar.gz [email][email protected][/email]:/home/user/
 

ujr

Well-Known Member
Mar 19, 2004
290
0
166
thanks for catching that one ... yep .. scp port numbers arguement uses a capitalized P !

my laziness typing all lower got the worst of me.
 

vishwas

Well-Known Member
Feb 9, 2004
61
0
156
Front of PC
Transfering Large file

Hello,

When i try to move large file many time it fails completing due to network problem or pc is there any way that i can run scp in background so it will keep running even if my local network fails or pc dies.

Any suggestion will be great.

-Vishwas.