how to transfer file from your local computer

itf

Well-Known Member
May 9, 2002
624
0
316
[quote:e16a67fe5c][i:e16a67fe5c]Originally posted by jimcarter[/i:e16a67fe5c]

cant you just login to your clients cpanel using your password, and then use the file manager to upload the file?[/quote:e16a67fe5c]
Yes, it is possible, but if you want to upload more than a file to more than a user directory then it is not the best choice

Also by transferring via SSH, you can upload/download to/from entire server
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
I find rz (receive zmodem) and sz (send zmodem) the easiest and quickest method to pull entire directories from a local pc straight to a user directory or the other way around. Just make sure that you are first logged in as that user in ssh so you get the right user/group info after the upload. You may also need to chmod any cgi (eg 755) and data files (eg 660) as necessary.

If you have linux on your pc then as itf said it, rsync is probably your best friend for copying files.
 

mikerayner

Well-Known Member
Apr 10, 2002
192
0
316
[quote:1d5d5471a8][i:1d5d5471a8]Originally posted by moronhead[/i:1d5d5471a8]

I find rz (receive zmodem) and sz (send zmodem) the easiest and quickest method to pull entire directories from a local pc straight to a user directory or the other way around. Just make sure that you are first logged in as that user in ssh so you get the right user/group info after the upload. You may also need to chmod any cgi (eg 755) and data files (eg 660) as necessary.

If you have linux on your pc then as itf said it, rsync is probably your best friend for copying files.[/quote:1d5d5471a8]
Moronhead,
ITF posted a detail description about what you wrote in this thread at page one refer to this post
http://forums.cpanel.net/read.php?TID=4906&page=1#21222
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
[quote:035ecabb77][i:035ecabb77]Originally posted by mikerayner[/i:035ecabb77]

[quote:035ecabb77][i:035ecabb77]Originally posted by moronhead[/i:035ecabb77]

I find rz (receive zmodem) and sz (send zmodem) the easiest and quickest method to pull entire directories from a local pc straight to a user directory or the other way around. Just make sure that you are first logged in as that user in ssh so you get the right user/group info after the upload. You may also need to chmod any cgi (eg 755) and data files (eg 660) as necessary.

If you have linux on your pc then as itf said it, rsync is probably your best friend for copying files.[/quote:035ecabb77]
Moronhead,
ITF posted a detail description about what you wrote in this thread at page one refer to this post
http://forums.cpanel.net/read.php?TID=4906&page=1#21222
[/quote:035ecabb77]
That's why I acknowledged itf's rsync info. ;-)

I also added the info that you can do rz/sz (which can be faster than rx/sx) to move entire directory structures in one step between the server and the local pc.

If some of you get &command not found& when you enter rz or sz in ssh, the program can be quickly installed by keying in:

For Redhat 6.2:
rpm -Uvh ftp://rpmfind.net/linux/redhat/6.2/en/os/i386/RedHat/RPMS/lrzsz-0.12.20-4.i386.rpm

For Redhat 7.1:
rpm -Uvh ftp://rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/lrzsz-0.12.20-7.i386.rpm

For Redhat 7.2:
rpm -Uvh ftp://rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/lrzsz-0.12.20-10.i386.rpm

For Redhat 7.3:
rpm -Uvh ftp://rpmfind.net/linux/redhat/7.3/en/os/i386/RedHat/RPMS/lrzsz-0.12.20-12.i386.rpm

A brief look at the main differences between xmodem/zmodem:
http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/upload-zmodem.html

More info on rz/sz usage:
http://www.nmt.edu/tcc/swinv/lrzsz/0.12.20/toc.html


Thanks,

Norman
 

mikerayner

Well-Known Member
Apr 10, 2002
192
0
316
Thanks Norman for your information but I read from itf too


[quote:7dfd0aa303] [i:7dfd0aa303] Originally posted by itf [/i:7dfd0aa303]
It doesn't matter which command are used, rx , sx or rz, sz procedures are the same, if you use rx, sx your terminal software should support Xmodem file transfer protocol and for sz, rz Zmodem file transfer protocol[/quote:7dfd0aa303]

The problem is my local terminal does not support zmodem ; not the server
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
[quote:f59edcc52b][i:f59edcc52b]Originally posted by mikerayner[/i:f59edcc52b]

Thanks Norman for your information but I read from itf too


[quote:f59edcc52b] [i:f59edcc52b] Originally posted by itf [/i:f59edcc52b]
It doesn't matter which command are used, rx , sx or rz, sz procedures are the same, if you use rx, sx your terminal software should support Xmodem file transfer protocol and for sz, rz Zmodem file transfer protocol[/quote:f59edcc52b]

The problem is my local terminal does not support zmodem ; not the server[/quote:f59edcc52b]
What terminal do you have?
 

mikerayner

Well-Known Member
Apr 10, 2002
192
0
316
[quote:b6e5df8012][i:b6e5df8012]Originally posted by moronhead[/i:b6e5df8012]

[quote:b6e5df8012][i:b6e5df8012]Originally posted by mikerayner[/i:b6e5df8012]

The problem is my local terminal does not support zmodem ; not the server[/quote:b6e5df8012]
What terminal do you have?[/quote:b6e5df8012]
When I use SecureCRT during Zmodem transfer it stops uploading/downloading large files at the mid-time of transfer
But Xmodem is fine
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
[quote:336ae44df2][i:336ae44df2]Originally posted by mikerayner[/i:336ae44df2]

When I use SecureCRT during Zmodem transfer it stops uploading/downloading large files at the mid-time of transfer
[/quote:336ae44df2]
That would be a problem elsewhere on the line, the protocol itself wouldn't affect the transfer. With Zmodem you can also resume the download from where you left it.
 

itf

Well-Known Member
May 9, 2002
624
0
316
You can Use Xmodem, Ymodem or Zmodem protocols but if you want to know about advantages, it is this way:

[b:bab77184ab]Efficiency: Zmodem & Ymodem & Xmodem[/b:bab77184ab]

You can use either rx, sx (Xmodem) ry, sy (Ymodem) and rz, sz (Zmodem)

I wrote in my post an example with rx ,sx which is available in most terminals, but if you have Zmodem it is preferred to use it because much faster than the others, also with resume capabilities.

[quote:bab77184ab][i:bab77184ab] originally posted by mikerayner[/i:bab77184ab]
When I use SecureCRT during Zmodem transfer it stops uploading/downloading large files at the mid-time of transfer
But Xmodem is fine [/quote:bab77184ab]
Mike,
It seems you are using a very old version of SecureCRT, use the latest one.
 

Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,051
1
343
[quote:682620b386][i:682620b386]Originally posted by itf[/i:682620b386]

[quote:682620b386][i:682620b386]Originally posted by Radio_Head[/i:682620b386]

ok , thanks . I found this http://the.earth.li/~sgtatham/putty/0.52/htmldoc/Chapter6.html#6 useful too . Thanks (truly I prefer rz and sz using zoc)[/quote:682620b386]
The best choice is [b:682620b386]rsync[/b:682620b386] no software can compete with functionality of rsync [/quote:682620b386]

Yes but with rsync I am limited to a linux machine .
However , have you never tried zoc terminal (emtec.com) ? I was using securecrt before , but after tried zoc , I forgotten securecrt very soon .Have you never tried zoc terminal ?

Try for example to execute rz and sz from zoc using zmodem ,
or try to open mc (midnight commander) using securecrt and zoc .
Which is better ? For me zoc, is absolutely the best .
 

itf

Well-Known Member
May 9, 2002
624
0
316
[quote:6eab800736][i:6eab800736]Originally posted by Radio_Head[/i:6eab800736]
Yes but with rsync I am limited to a linux machine .
However , have you never tried zoc terminal (emtec.com) ? I was using securecrt before , but after tried zoc , I forgotten securecrt very soon .Have you never tried zoc terminal ?

Try for example to execute rz and sz from zoc using zmodem ,
or try to open mc (midnight commander) using securecrt and zoc .
Which is better ? For me zoc, is absolutely the best .
[/quote:6eab800736]
Radio_Head,

I think this is not a chat room that you post your ideas or I like this or that, also we are not here to advertise commercial products too.
I just answered based on scientific and technological issues.
However I wrote about zoc in your answer in : http://forums.cpanel.net/read.php?TID=4906&page=1#21222

You are the one who started this thread and I offered all of the solutions ( http://forums.cpanel.net/read.php?TID=4906&page=1#21222 ) Also I didn't wrote that you have to use rsync, &no software can compete with functionality of rsync&
rsync is not a terminal software try man rsync for more info.

You can use whatever you want, as Zoc is good for you SecureCRT, SecureCommnet, Putty and etc. are good for others.

Please refer to this post and read it again: http://forums.cpanel.net/read.php?TID=4906&page=1#21222

P.S. FYI. We do not use Windows for managing servers; (We use Unix/Linux); if something is good for you, it doesn't mean it is the same for the others.
 

Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,051
1
343
[quote:b31c6635ac][i:b31c6635ac]Originally posted by itf[/i:b31c6635ac]

[quote:b31c6635ac][i:b31c6635ac]Originally posted by Radio_Head[/i:b31c6635ac]
Yes but with rsync I am limited to a linux machine .
However , have you never tried zoc terminal (emtec.com) ? I was using securecrt before , but after tried zoc , I forgotten securecrt very soon .Have you never tried zoc terminal ?

Try for example to execute rz and sz from zoc using zmodem ,
or try to open mc (midnight commander) using securecrt and zoc .
Which is better ? For me zoc, is absolutely the best .
[/quote:b31c6635ac]
Radio_Head,

I think this is not a chat room that you post your ideas or I like this or that, also we are not here to advertise commercial products too.
I just answered based on scientific and technological issues.
However I wrote about zoc in your answer in : http://forums.cpanel.net/read.php?TID=4906&page=1#21222

You are the one who started this thread and I offered all of the solutions ( http://forums.cpanel.net/read.php?TID=4906&page=1#21222 ) Also I didn't wrote that you have to use rsync, &no software can compete with functionality of rsync&
rsync is not a terminal software try man rsync for more info.

You can use whatever you want, as Zoc is good for you SecureCRT, SecureCommnet, Putty and etc. are good for others.

Please refer to this post and read it again: http://forums.cpanel.net/read.php?TID=4906&page=1#21222

P.S. FYI. We do not use Windows for managing servers; (We use Unix/Linux); if something is good for you, it doesn't mean it is the same for the others.[/quote:b31c6635ac]

Thank you Itf , however I am not promoting zoc. I am only giving suggestions which could be useful for all the forum .
For example I was referred to use zoc from a Cpanel user/friend because I was having problem to use mc with securecrt.
However was my fault to direct the discussion towards the
terminal emulators for windows machines , sorry for this ;)
Thank you very much for all your replies.