Re: Command to copy files/folders from linux to windows share



On 2009-12-01, turtle <dkaloustian@xxxxxxxxx> wrote:

Does anyone know if this is possible? I only have access to ssh to a
Linux server and \\ to a Windows file server

What is \\? I am assuming it is Samba. If it is not you need to
explain what it is.

If you have root, or can mount samba shares as a user, you can mount the
remote Windows fileserver as an smb share, then treat it as a regular
directory. This seems like the most straightforward method.

If you don't have WinSCP available, but can set up samba on the linux
machine, you can mount the linux box and the Windows file server from a
Windows client, and use regular Windows tools to copy from one to the
other.

If you don't have either of these, you might be able to rig something up
with smbclient. That seems unpleasant, though.

--keith

--
kkeller-usenet@xxxxxxxxxxxxxxxxxxxxxxxxxx
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information

.



Relevant Pages

  • Re: Server farm needs help to xfer log files
    ... the logs to a windows file server on the same LAN. ... Samba is the best way. ... If a normal user is doing the mount, ... late and owns the worm farm. ...
    (comp.os.linux.misc)
  • Re: filesharing with windows
    ... > version of linux that's a little more current. ... What you're looking for is samba. ... Create a mount point for the Windows Share under linux. ...
    (alt.os.linux.redhat)
  • Re: sharing between linux and windows? And Then Some.
    ... > to access a Linux share. ... > Im thinking that somehow i have to mount the XP share on FD2 first??? ... Samba file system). ...
    (alt.os.linux.redhat)
  • Re: samba shares in FC4
    ... has a public directory (and therefore every linux box has a samba ... Konqueror's LAN browser can see the Mandriva ... samba shares are working - they can be mounted manually. ... Samba can mount. ...
    (Fedora)
  • Re: Cross-platform backups via tar/dump/other?
    ... >>Linux SMP server running NFS and samba for filesharing and backups. ... > it out & mount it from the backup server. ...
    (comp.unix.admin)