Networking Forums

Networking Forums > Computer Networking > Linux Networking > Unable to download big files with sz command via SSH (SecureCRT)...

Reply
Thread Tools Display Modes

Unable to download big files with sz command via SSH (SecureCRT)...

 
 
ANTant@zimage.com
Guest
Posts: n/a

 
      04-02-2006, 09:38 PM
Hello! I am having problems downloading big files like image ISO. sz <filename> fails without
any errors. See below (copied and pasted):

$ ls -all *.iso
-rwx------ 1 foo users 4303790080 Apr 1 07:49 image.iso

$ sz image.iso
$

As you can see, nothing happened. No error either. I tried strace with sz:

$ strace sz image.iso
execve("/usr/bin/sz", ["sz", "image.iso"], [/* 17 vars */]) = 0
uname({sys="Linux", node="mybox", ...}) = 0
brk(0) = 0x10021000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30019000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=59873, ...}) = 0
mmap(NULL, 59873, PROT_READ, MAP_PRIVATE, 3, 0) = 0x3002a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/libnsl.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\ 0\0>@"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=85688, ...}) = 0
mmap(0xffc9000, 159360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffc9000
mprotect(0xffdd000, 77440, PROT_NONE) = 0
mmap(0xffec000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3,
0x13000) = 0xffec000
mmap(0xffee000, 7808, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1,
0) = 0xffee000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\ 0\1\314"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1390284, ...}) = 0
mmap(0xfe54000, 1461132, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfe54000
mprotect(0xff9d000, 113548, PROT_NONE) = 0
mmap(0xffac000, 45056, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3,
0x148000) = 0xffac000
mmap(0xffb7000, 7052, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1,
0) = 0xffb7000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3001a000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3001b000
mprotect(0xffac000, 24576, PROT_READ) = 0
mprotect(0xffec000, 4096, PROT_READ) = 0
mprotect(0x30028000, 4096, PROT_READ) = 0
munmap(0x3002a000, 59873) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
fstat64(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
brk(0) = 0x10021000
brk(0x10042000) = 0x10042000
getuid() = 1005
geteuid() = 1005
rt_sigaction(SIGALRM, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGALRM, {SIG_DFL}, NULL, 8) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TCSETSW, {B38400 -opost -isig -icanon -echo ...}) = 0
ioctl(0, TCGETS, {B38400 -opost
-isig -icanon -echo ...}) = 0
rt_sigaction(SIGINT, {0x100016f0, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT,
{0x100016f0, [INT], SA_RESTART}, {0x100016f0, [INT], SA_RESTART}, 8) = 0
rt_sigaction(SIGTERM, {0x100016f0, [TERM],
SA_RESTART}, {SIG_DFL}, 8) = 0

rt_sigaction(SIGPIPE, {0x100016f0, [PIPE], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP,
{0x100016f0, [HUP], SA_RESTART}, {SIG_DFL}, 8) = 0
) = 3(1, "rz\r", 3rz
access("image.iso", R_OK) = 0
stat64("image.iso",
{st_mode=S_IFREG|0700, st_size=4303790080, ...}) = 0
ioctl(0, TCFLSH, 0) = 0
select(1, [0], NULL, NULL, {0, 0})
= 0 (Timeout)

ioctl(0, TCFLSH, 0) = 0
write(1, "**\30B00000000000000\r\212\21) = 20
write(2,
"\r\n", 2
) = 2
write(2, "Can\'t open any requested files.", 31Can't open any requested
files.) = 31

write(2, "\r\n", 2
) = 2
ioctl(1, TCFLSH, 0) = 0
write(1,
"\30\30\30\30\30\30\30\30\30\30\10\10\10\10\10\10\ 10\10"..., 20) = 20
ioctl(0, TCSBRK, 0x1) = 0
ioctl(0, TCFLSH, 0x2)
= 0

ioctl(0, TCGETS, {B38400 -opost -isig -icanon -echo ...}) = 0
ioctl(0, TCSETSW, {B38400 opost isig icanon
echo ...}) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TCXONC, TCOON) = 0
exit_group(128) = ?
$ **01000000039a32
-bash: **01000000039a32: command not found

$ uname -a
Linux mybox 2.6.16-1-powerpc #2 Thu Mar 23 07:02:15 UTC 2006 ppc GNU/Linux

Please note that I am still using SecureCRT v3.4.8 in Windows XP Pro. SP2 (all updates). I have
no problems downloading smaller files. Does anyone know what's going on? Is there another SSH
clients (Windows XP or Linux) that will let me download big files and be able to resume (scp
can't. sz -r can). I cannot download nonstop since I need to take breaks like not download
during the day time hours.

hank you in advance.
--
"Size isn't everything. The whale is endangered, while the ant continues to do just fine." --Bill Vaughan
/\___/\
/ /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Please remove ANT if replying by e-mail.
( )
 
Reply With Quote
 
 
 
 
The Ghost In The Machine
Guest
Posts: n/a

 
      04-02-2006, 11:58 PM
On Sun, 02 Apr 2006 16:38:25 -0500, ANTant wrote:

> Hello! I am having problems downloading big files like image ISO. sz <filename> fails without
> any errors. See below (copied and pasted):
>
> $ ls -all *.iso
> -rwx------ 1 foo users 4303790080 Apr 1 07:49 image.iso
>
> $ sz image.iso
> $
>
> As you can see, nothing happened. No error either. I tried strace with sz:


[snippage]

>
> Please note that I am still using SecureCRT v3.4.8 in Windows XP Pro. SP2 (all updates). I have
> no problems downloading smaller files. Does anyone know what's going on? Is there another SSH
> clients (Windows XP or Linux) that will let me download big files and be able to resume (scp
> can't. sz -r can). I cannot download nonstop since I need to take breaks like not download
> during the day time hours.
>
> hank you in advance.


Your file is over 4GB in size. I for one would suspect that sz can't
handle files that big for some reason.

It is also possible that you have a local linux setup that can't handle
files over 2 GB (e.g., x86/32 implementations of ext2). If you can, try
converting to another file system such as reiserfs or jfs.

--
#191, (E-Mail Removed)
It's still legal to go .sigless.

 
Reply With Quote
 
Tristan Miller
Guest
Posts: n/a

 
      04-03-2006, 07:58 AM
Greetings.

In article <(E-Mail Removed) >,
(E-Mail Removed) wrote:
> Please note that I am still using SecureCRT v3.4.8 in Windows XP Pro. SP2
> (all updates). I have no problems downloading smaller files. Does anyone
> know what's going on? Is there another SSH clients (Windows XP or Linux)
> that will let me download big files and be able to resume (scp can't. sz
> -r can). I cannot download nonstop since I need to take breaks like not
> download during the day time hours.


Try Kermit, maybe. I don't know for sure if it supports resume but it
probably does.

Regards,
Tristan

--
_
_V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited
/ |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard
(7_\\ http://www.nothingisreal.com/ >< To finish what you
 
Reply With Quote
 
Tris Orendorff
Guest
Posts: n/a

 
      04-03-2006, 07:06 PM
(E-Mail Removed) burped up warm pablum in
news:(E-Mail Removed) et:

> Please note that I am still using SecureCRT v3.4.8 in Windows XP Pro.
> SP2 (all updates). I have no problems downloading smaller files. Does
> anyone know what's going on? Is there another SSH clients (Windows XP
> or Linux) that will let me download big files and be able to resume
> (scp can't. sz -r can). I cannot download nonstop since I need to take
> breaks like not download during the day time hours.


It looks like sz is limited to a file size of 2GB. The linux program "wget
--continue" will allow you to resume lost or disconnected sessions.


 
Reply With Quote
 
ANTant@zimage.com
Guest
Posts: n/a

 
      04-09-2006, 11:01 PM
The Ghost In The Machine <(E-Mail Removed)> wrote:
> On Sun, 02 Apr 2006 16:38:25 -0500, ANTant wrote:


> > Hello! I am having problems downloading big files like image ISO. sz <filename> fails without
> > any errors. See below (copied and pasted):
> >
> > $ ls -all *.iso
> > -rwx------ 1 foo users 4303790080 Apr 1 07:49 image.iso
> >
> > $ sz image.iso
> > $
> >
> > As you can see, nothing happened. No error either. I tried strace with sz:


> [snippage]


> >
> > Please note that I am still using SecureCRT v3.4.8 in Windows XP Pro. SP2 (all updates). I have
> > no problems downloading smaller files. Does anyone know what's going on? Is there another SSH
> > clients (Windows XP or Linux) that will let me download big files and be able to resume (scp
> > can't. sz -r can). I cannot download nonstop since I need to take breaks like not download
> > during the day time hours.
> >
> > hank you in advance.


> Your file is over 4GB in size. I for one would suspect that sz can't
> handle files that big for some reason.


Interesting. You might be right on that,but I tried a 5 GB file (different) and that worked.
Weird.


> It is also possible that you have a local linux setup that can't handle
> files over 2 GB (e.g., x86/32 implementations of ext2). If you can, try
> converting to another file system such as reiserfs or jfs.


It looks like ext3 from /etc/fstab. Is ext3 OK?
--
"The eyeless ant asked God, 'Give me eye-lashes.'" --Georgian Proverb
/\___/\
/ /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Please remove ANT if replying by e-mail.
( )
 
Reply With Quote
 
ANTant@zimage.com
Guest
Posts: n/a

 
      04-09-2006, 11:02 PM
Tristan Miller <(E-Mail Removed)> wrote:
> Greetings.


> In article <(E-Mail Removed) >,
> (E-Mail Removed) wrote:
> > Please note that I am still using SecureCRT v3.4.8 in Windows XP Pro. SP2
> > (all updates). I have no problems downloading smaller files. Does anyone
> > know what's going on? Is there another SSH clients (Windows XP or Linux)
> > that will let me download big files and be able to resume (scp can't. sz
> > -r can). I cannot download nonstop since I need to take breaks like not
> > download during the day time hours.


> Try Kermit, maybe. I don't know for sure if it supports resume but it
> probably does.


I don't think it does, and it's slower if I remember from BBS' days. Also,
SecureCRT doesn't have Kermit, but it has Xmodem (yuck!).
--
"The eyeless ant asked God, 'Give me eye-lashes.'" --Georgian Proverb
/\___/\
/ /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Please remove ANT if replying by e-mail.
( )
 
Reply With Quote
 
ANTant@zimage.com
Guest
Posts: n/a

 
      04-09-2006, 11:07 PM
> > Please note that I am still using SecureCRT v3.4.8 in Windows XP Pro.
> > SP2 (all updates). I have no problems downloading smaller files. Does
> > anyone know what's going on? Is there another SSH clients (Windows XP
> > or Linux) that will let me download big files and be able to resume
> > (scp can't. sz -r can). I cannot download nonstop since I need to take
> > breaks like not download during the day time hours.


> It looks like sz is limited to a file size of 2GB. The linux program "wget
> --continue" will allow you to resume lost or disconnected sessions.


Yeah, but it's not secured with wget but I can live with that. I think I have a bigger problem.
Weird part. I can't download via HTTP either! I get:

Forbidden

You don't have permission to access /~ant/image.iso on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to
handle the request.
Apache/2.0.55 (Debian) PHP/4.4.2-1+b1 mod_ssl/2.0.55 OpenSSL/0.9.8a Server at mybox.net Port
80

Note: Changed the domain name to keep confidential.

I already checked chgrp and chown. Note FS is ext3 so that should be fine.
--
"The eyeless ant asked God, 'Give me eye-lashes.'" --Georgian Proverb
/\___/\
/ /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Please remove ANT if replying by e-mail.
( )
 
Reply With Quote
 
joseph2k
Guest
Posts: n/a

 
      04-26-2006, 03:23 AM
(E-Mail Removed) wrote:

> Hello! I am having problems downloading big files like image ISO. sz

<filename> fails without
> any errors. See below (copied and pasted):
>
> $ ls -all *.iso
> -rwx------ 1 foo users 4303790080 Apr 1 07:49 image.iso
>
> $ sz image.iso
> $
>
> As you can see, nothing happened. No error either. I tried strace with sz:
>
> $ strace sz image.iso
> execve("/usr/bin/sz", ["sz", "image.iso"], [/* 17 vars */]) = 0
> uname({sys="Linux", node="mybox", ...}) = 0
> brk(0) = 0x10021000
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or

directory)
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =

0x30019000
> access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or

directory)
> open("/etc/ld.so.cache", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=59873, ...}) = 0
> mmap(NULL, 59873, PROT_READ, MAP_PRIVATE, 3, 0) = 0x3002a000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or

directory)
> open("/lib/tls/libnsl.so.1", O_RDONLY) = 3
> read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\ 0\0>@"..., 512)

= 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=85688, ...}) = 0
> mmap(0xffc9000, 159360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,

0) = 0xffc9000
> mprotect(0xffdd000, 77440, PROT_NONE) = 0
> mmap(0xffec000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE

MAP_FIXED|MAP_DENYWRITE, 3,
> 0x13000) = 0xffec000
> mmap(0xffee000, 7808, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE

MAP_FIXED|MAP_ANONYMOUS, -1,
> 0) = 0xffee000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or

directory)
> open("/lib/tls/libc.so.6", O_RDONLY) = 3
> read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\ 0\1\314"...,

512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1390284, ...}) = 0
> mmap(0xfe54000, 1461132, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,

3, 0) = 0xfe54000
> mprotect(0xff9d000, 113548, PROT_NONE) = 0
> mmap(0xffac000, 45056, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE

MAP_FIXED|MAP_DENYWRITE, 3,
> 0x148000) = 0xffac000
> mmap(0xffb7000, 7052, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE

MAP_FIXED|MAP_ANONYMOUS, -1,
> 0) = 0xffb7000
> close(3) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =

0x3001a000
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =

0x3001b000
> mprotect(0xffac000, 24576, PROT_READ) = 0
> mprotect(0xffec000, 4096, PROT_READ) = 0
> mprotect(0x30028000, 4096, PROT_READ) = 0
> munmap(0x3002a000, 59873) = 0
> fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
> fstat64(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
> brk(0) = 0x10021000
> brk(0x10042000) = 0x10042000
> getuid() = 1005
> geteuid() = 1005
> rt_sigaction(SIGALRM, NULL, {SIG_DFL}, 8) = 0
> rt_sigaction(SIGALRM, {SIG_DFL}, NULL, 8) = 0
> ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
> ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
> ioctl(0, TCSETSW, {B38400 -opost -isig -icanon -echo ...}) = 0
> ioctl(0,

TCGETS, {B38400 -opost
> -isig -icanon -echo ...}) = 0
> rt_sigaction(SIGINT, {0x100016f0, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0
>

rt_sigaction(SIGINT,
> {0x100016f0, [INT], SA_RESTART}, {0x100016f0, [INT], SA_RESTART}, 8) = 0
> rt_sigaction(SIGTERM,

{0x100016f0, [TERM],
> SA_RESTART}, {SIG_DFL}, 8) = 0
>
> rt_sigaction(SIGPIPE, {0x100016f0, [PIPE], SA_RESTART}, {SIG_DFL}, 8) = 0
>

rt_sigaction(SIGHUP,
> {0x100016f0, [HUP], SA_RESTART}, {SIG_DFL}, 8) = 0
> ) = 3(1, "rz\r", 3rz
> access("image.iso", R_OK) = 0
> stat6

("image.iso",
> {st_mode=S_IFREG|0700, st_size=4303790080, ...}) = 0
> ioctl(0, TCFLSH, 0) = 0
> select(1,

[0], NULL, NULL, {0, 0})
> = 0 (Timeout)
>
> ioctl(0, TCFLSH, 0) = 0
> write(1,

"**\30B00000000000000\r\212\21) = 20
>

write(2,
> "\r\n", 2
> ) = 2
> write(2, "Can\'t open any requested files.",

31Can't open any requested
> files.) = 31
>
> write(2, "\r\n", 2
> ) = 2
> ioctl(1, TCFLSH, 0) = 0
>

write(1,
> "\30\30\30\30\30\30\30\30\30\30\10\10\10\10\10\10\ 10\10"..., 20) = 20
> ioctl(0, TCSBRK, 0x1) = 0
>

ioctl(0, TCFLSH, 0x2)
> = 0
>
> ioctl(0, TCGETS, {B38400 -opost -isig -icanon -echo ...}) = 0
> ioctl(0, TCSETSW,

{B38400 opost isig icanon
> echo ...}) = 0
> ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
> ioctl(0, TCXONC, TCOON) = 0
> exit_group(128) = ?
> $ **01000000039a32
> -bash: **01000000039a32: command not found
>
> $ uname -a
> Linux mybox 2.6.16-1-powerpc #2 Thu Mar 23 07:02:15 UTC 2006 ppc GNU/Linux
>
> Please note that I am still using SecureCRT v3.4.8 in Windows XP Pro. SP2

(all updates). I have
> no problems downloading smaller files. Does anyone know what's going on?

Is there another SSH
> clients (Windows XP or Linux) that will let me download big files and be

able to resume (scp
> can't. sz -r can). I cannot download nonstop since I need to take breaks

like not download
> during the day time hours.
>
> hank you in advance.


Strange, all the properly implemented ftp clients i have used can retrieve
over 4GB file in restartable sessions. It seems like the webheads /
chatheads / blogheads have to poorly reinvent everything.

--
JosephKK
Gegen dummheit kampfen die Gotter Selbst, vergebens.Â*Â*
--Schiller
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Download from command line -Remotely- ! Ahmad Sabry Windows Networking 0 10-04-2007 08:04 AM
Can't Download Files Jack Simmons Windows Networking 0 03-16-2005 02:55 AM
Unable to download deep files and directories recursively with mget -R command... ANTant@zimage.com Linux Networking 9 02-21-2005 07:35 AM
Unable to download anything from Microsoft Mark Vose Broadband Hardware 1 01-19-2005 12:16 AM
NIS yppasswd command and iptables?? RPC: unable to receive Ryan Hubbard Linux Networking 5 05-10-2004 06:39 PM



1 2 3 4 5 6 7 8 9 10 11