files transfer between PCs


Results 1 to 8 of 8

Thread: files transfer between PCs

  1. #1
    Join Date
    Jul 2003
    Posts
    2,021

    files transfer between PCs

    Hi folks,

    Debian 5.0
    Windows Vista

    I need a simple way to transfer files between above OS. Can I ran WinSCP on Vista,

    WinSCP File Downloads
    http://winscp.net/eng/download.php#download2

    and OpenSSH-client and OpenSSH-server on Debian to do the job? OR are there other simple solutions? TIA

    Remark: OpenSSH-client and OpenSSH-server are running on Debian 5.0

    B.R.
    satimis

  2. #2
    Join Date
    Jan 2003
    Location
    Austin, Texas
    Posts
    684
    I just install Cygwin on all of my Windows systems. You can get command line scp that way. Winscp also works as does a Samba share. It's up to you. If you just need a quick copy here and there, I would just go for winscp or use the scp.exe included with cygwin.
    "The author of that poem is either Homer or, if not Homer, somebody else of the same name."

  3. #3
    Join Date
    May 2002
    Posts
    1,251
    WinSCP should run on Vista. I do not run Vista so I do not have any first hand experience.

  4. #4
    Join Date
    Jul 2003
    Posts
    2,021
    Hi folks,

    Thanks for your advice.

    Performed following test;

    On Window Vista;
    I have WinSCP download and installed according to;
    http://winscp.net/eng/download.php#download2

    Now it is running.

    On Debian 5.0

    $ scp -p 22 -r /path/to/directory/ satimis@vista_lan_ip:./
    Just hanging there.


    $ scp -r /path/to/directory/ satimis@vista_lan_ip:./
    Also hanging there

    What will be the correct command to copy files from Debian to Vista ? TIA

    B.R.
    satimis

  5. #5
    Join Date
    May 2002
    Posts
    1,251
    I suppose I assumed to much and did not understand exactly what you are trying to accomplish. WinSCP is a SFTP/FTP client not a server which means you can not use the scp command to transfer files from linux to windows unless you have a windows SSH server running. There are openssh servers for windows but I have never had a reason to install one.

    There are other methods to transfer data like samba or FTP. If you want to transfer files from linux to windows and vice-versa then samba would be the best choice.

  6. #6
    Join Date
    Jun 2006
    Location
    Haarlem, Holland
    Posts
    129
    I would use winscp if I am sitting behind the windows machine, verry easy to setup on the linux-side and can even be used pretty safe over the internet I believe.

    or set up a share on the windows machine and mount it using the smb-client or smbfs (I forgot what i had used long time ago)

  7. #7
    Join Date
    Jan 2003
    Location
    Austin, Texas
    Posts
    684
    Yeah if you want to copy files from your Debian machine then you need to use an scp client on your Windows box to connect to the scp server (actually sshd) running on your Debian box. You will need to use some client and then do something like:

    Code:
    C:\> scp -r someUser@debianbox:/path/to/directory .
    If you want to be able to use an ssh client on your Debian machine, then you need to install Cygwin or some other program capable of providing sshd on Windows. Here are some tutorials:

    http://lifehacker.com/205090/geek-to...ome-ssh-server


    and then this one:

    http://pigtail.net/LRP/printsrv/cygwin-sshd.html

    which mentions some specific steps for sshd on Vista:

    http://pigtail.net/LRP/printsrv/vista-cygwin.txt


    Personally I think the easiest thing to do is just install cygwin (which will include the ssh client) and then you can always use open a bash shell (via Cygwin) on Windows and connect to your Debian system as I mentioned above. Better yet, put the cygwin\bin directory in your PATH variable. Off the top of my head I think you need to right-click on My Computer -> Properties -> Advanced -> Environment Variables and put it in system variables. This will allow you to run the Unix commands inside of a DOS shell (cmd.exe).
    Last edited by gamblor01; 12-27-2009 at 05:31 PM.
    "The author of that poem is either Homer or, if not Homer, somebody else of the same name."

  8. #8
    Join Date
    Jan 2001
    Posts
    517

    how many files? how large? Always used putty myself

    How many files, and how large are they? if its just a few, and under 10 MB, why not just send as email attachments? LOL

    I used putty in the past to transfer files between window and linux machines:

    http://en.wikipedia.org/wiki/PuTTY

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •