Page 1 of 3 123 LastLast
Results 1 to 15 of 32

Thread: how to transfer file from your local computer

  1. #1
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,075

    Default how to transfer file from your local computer

    I wish to know what I have to do to transfer files from my local computer for example FROM c:/test.pl TO a client account for example /home/user/public_html/cgi-bin ( considering that I cannot ftp on my client account with my root password ).

    A solution is to ask the password to my client and to upload the file using the client ftp account : or is there a fast way using the shell from root ?

    thank you
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  2. #2
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,075

    Default

    [quote:030598c132][i:030598c132]Originally posted by thaphantom[/i:030598c132]

    I would ftp to your account then in shell move it and chmod it..[/quote:030598c132]

    It's an idea . More fast ?

    [quote:030598c132]why u would want to upload files to your clients site I will never know...[/quote:030598c132]

    suppose that I need to install a script upon request on a client account ... but I cannot login on his account with root password ..
    so for example I have to upload 100 files , what I have to do without client ftp password ?
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  3. #3
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,075

    Default

    is there any way to create a root (admin) ftp account ?
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  4. #4
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    [quote:11a86774e0][i:11a86774e0]Originally posted by Radio_Head[/i:11a86774e0]

    I wish to know what I have to do to transfer files from my local computer for example FROM c:/test.pl TO a client account for example /home/user/public_html/cgi-bin ( considering that I cannot ftp on my client account with my root password ).

    A solution is to ask the password to my client and to upload the file using the client ftp account : or is there a fast way using the shell from root ?

    thank you
    [/quote:11a86774e0]
    You can upload and download files via SSH sessions, i.e Root SSH session

    It depends on which software do you use for this purpose:
    [b:11a86774e0]1) SecureCRT[/b:11a86774e0] (Commercial Software, you have to buy)
    If you are using Vandyke’s SecureCRT for the SSH session: (http://www.vandyke.com/)
    Via transfer menu select Xmodem and upload your file then enter these commands

    cd destination-directiory
    [b:11a86774e0]rx –x filename[/b:11a86774e0]

    If you want to download use this command

    [b:11a86774e0]sx –x filename[/b:11a86774e0]

    Then select download from SecureCRT transfer menu and enter the filename.
    Note: rx, sx, rz, sz commands are Unix/Linux commands (programs)
    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

    You can Use Xmodem, Ymodem or Zmodem protocols but if you want to know about advantages, it is this way:

    Efficiency: Zmodem & Ymodem & Xmodem

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

    [b:11a86774e0]2) PUTTY/psftp (free software)[/b:11a86774e0]
    However I recommend using PUTTY which you can download from this URL http://www.chiark.greenend.org.uk/~sgtatham/putty/

    Use “ [b:11a86774e0]psftp.exe[/b:11a86774e0] “ it is like ftp but via SSH session you can upload and download multiple files with ftp commands to/from your entire server using your Root account.

    [b:11a86774e0]3) rsync[/b:11a86774e0]
    If you have a local Linux /Unix workstation you can transfer any files you wish using rsync via ssh (rsync –e ssh)
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  5. #5
    Member rpmws's Avatar
    Join Date
    Aug 2001
    Location
    back woods of NC, USA
    Posts
    1,857

    Default

    go to http://www.vandyke.com and get a copy of SecureFX ..it's a FTP program that also lets you do SSH2 and SFTP to the server. You can login to the server with a FTP like file browser and be in as &root& I love it .Use it all the time.
    Just keeping my "eye" on things....
    R. Paul Mathews
    RPMWS - diehard cPanel Nutcase

  6. #6
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    [quote:b71149bfeb][i:b71149bfeb]Originally posted by rpmws[/i:b71149bfeb]

    go to http://www.vandyke.com and get a copy of SecureFX ..it's a FTP program that also lets you do SSH2 and SFTP to the server. You can login to the server with a FTP like file browser and be in as &root& I love it .Use it all the time.[/quote:b71149bfeb]Yes SecureFX is another software like, Secure CommNet

    and ...
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  7. #7
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,075

    Default

    thank you , I will try them . As of now I was using zoc 4.05 and it's fantastic (emtec.com) . I am to investigate if it has similar ftp commands. Thanks however !
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  8. #8
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    [quote:75d4ac7c33][i:75d4ac7c33]Originally posted by Radio_Head[/i:75d4ac7c33]

    I wish to know what I have to do to transfer files from my local computer for example FROM c:/test.pl TO a client account for example /home/user/public_html/cgi-bin ( considering that I cannot ftp on my client account with my root password ).

    A solution is to ask the password to my client and to upload the file using the client ftp account : or is there a fast way using the shell from root ?

    thank you
    [/quote:75d4ac7c33]
    You can upload and download files via SSH sessions, i.e Root SSH session

    Methods of file transfer via SSH session:
    However it depends on which software do you use for this purpose,

    [b:75d4ac7c33]1) SSH/SSH2 Clients/Emulators/Terminal [/b:75d4ac7c33] softwares such as SecureCRT, Zoc …
    SecureCRT: Commercial Software that you have to buy ( http://www.vandyke.com/ )

    Via transfer menu select Zmodem and upload your file then enter these commands (if it is necessary)

    cd destination-directiory
    [b:75d4ac7c33]rz filename[/b:75d4ac7c33]

    If you want to download use this command

    [b:75d4ac7c33]sz filename[/b:75d4ac7c33]

    Then select download from transfer menu and enter the filename. (if it is necessary)

    Note: rx, sx, rz, sz commands are Unix/Linux commands (programs)
    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

    You can Use Xmodem, Ymodem or Zmodem protocols but if you want to know about advantages, it is this way:

    [b:75d4ac7c33]Efficiency: Zmodem & Ymodem & Xmodem[/b:75d4ac7c33]

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

    [b:75d4ac7c33]2) FTP over SSH/SSH2 [/b:75d4ac7c33] such as SecureFX, PSFTP, Secure CommNet and etc.
    PUTTY/PSFTP is free software ( http://www.chiark.greenend.org.uk/~sgtatham/putty/ )

    These softwares let you use FTP commands such as get, mget, put, mput, ls … and transfer files over SSH2 by your Root account.

    [b:75d4ac7c33]3) rsync[/b:75d4ac7c33] Unix/Linux Boxes
    If you have a local Linux /Unix workstation you can transfer any files you wish using rsync via ssh (rsync –e ssh)

    Note: You can install Red Hat Linux on your local workstation as a multi boot system for Windows and Linux.

    P.S. I’ve received a lot of requests asking about programs if it supports what I wrote or not, this is why I reposted this guide and changed the structure to methods.
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  9. #9
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,075

    Default

    Hello !

    I found that ZOC 4.05 supports rz and sz linux commands from SSH !! Your files are transferred using zmodem
    under an ssh connection !


    Suppose that you want transfer all your files in c:/test
    on your server on /home/user/test

    1) Open Zoc and connect to your server
    2) Go to /home/user/test
    3) type [b:3150387811]rz[/b:3150387811]
    4) go to c:/test and select your files and click ok
    5) Transfer begins (!) .

    On other side if you use [b:3150387811]sz[/b:3150387811] you may transfer files from server to your local machine on c:/downloads directory (!).

    1) #sz filename filename filename ...

    Really good !

    I have not tested rz and sz on other terminal , however using
    zoc they work really fine !
    Zoc is absolutely the best terminal for me !
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  10. #10
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,075

    Default

    rx and sx works fine too on zoc , however I prefer rz and sz .
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  11. #11
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    [quote:a493d359b5][i:a493d359b5]Originally posted by Radio_Head[/i:a493d359b5]

    rx and sx works fine too on zoc , however I prefer rz and sz .[/quote:a493d359b5]
    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 and for sz, rz your terminal software should support Zmodem file transfer

    However using FTP over SSH is easier for multiple transfers (I wrote in my previous post)
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  12. #12
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,075

    Default

    #man rz
    for more detals
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  13. #13
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    Radio_Head,
    Don't you think that it is not necessary to post the man result I think everybody can use
    man rz or man rx or man sx or man sz
    commands, huh
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  14. #14
    Member This forum account has been confirmed by cPanel staff to represent a vendor. Radio_Head's Avatar
    Join Date
    Feb 2002
    Posts
    2,075

    Default

    [quote:3bf8236956][i:3bf8236956]Originally posted by itf[/i:3bf8236956]

    [quote:3bf8236956][i:3bf8236956]Originally posted by Radio_Head[/i:3bf8236956]

    rx and sx works fine too on zoc , however I prefer rz and sz .[/quote:3bf8236956]
    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 and for sz, rz your terminal software should support Zmodem file transfer

    However using FTP over SSH is easier for multiple transfers (I wrote in my previous post)[/quote:3bf8236956]


    May you give me an example of ftp over ssh using putty ?
    Suppose to transfer all files contained on c:/test
    on /user/public_html/cgi-bin , what I have to do with putty ?

    Thank you
    Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
    █ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.

  15. #15
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    [quote:10f173cff5][i:10f173cff5]Originally posted by Radio_Head[/i:10f173cff5]

    [quote:10f173cff5][i:10f173cff5]Originally posted by itf[/i:10f173cff5]

    [quote:10f173cff5][i:10f173cff5]Originally posted by Radio_Head[/i:10f173cff5]

    rx and sx works fine too on zoc , however I prefer rz and sz .[/quote:10f173cff5]
    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 and for sz, rz your terminal software should support Zmodem file transfer

    However using FTP over SSH is easier for multiple transfers (I wrote in my previous post)[/quote:10f173cff5]


    May you give me an example of ftp over ssh using putty ?
    Suppose to transfer all files contained on c:/test
    on /user/public_html/cgi-bin , what I have to do with putty ?

    Thank you[/quote:10f173cff5]
    Read my post again I wrote to use PSFTP
    this post
    http://forums.cpanel.net/read.php?TID=4906&page=1#21222
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 07-29-2010, 07:52 AM
  2. Automatically download file to a local computer
    By klyzki in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 08-24-2009, 01:48 PM
  3. Deliveries to local domains prior to transfer
    By Synergy8 in forum E-mail Discussions
    Replies: 0
    Last Post: 06-30-2008, 08:57 PM
  4. WHM 11 Acct Transfer issue (non-local DNS)
    By Tina in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 06-21-2007, 03:53 PM
  5. Change local directory that account transfer uses?
    By rushman in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 08-27-2004, 05:48 PM