Re: how to copy files from linux to windows via terminal
On Mon, 20 Aug 2012 22:18:37 +0800, lina wrote:
> On Monday 20,August,2012 10:15 PM, Camaleón wrote:
>> On Mon, 20 Aug 2012 21:04:27 +0800, lina wrote:
>>
>>> how to copy files from linux to windows via terminal.
>>
>> That will depend on what services are running in windows (smb, ssh,
>> ftp...) to communicate with rest of the word.
> I don't know how to check exactly,
>
> here shows:
>
> 135/tcp open msrpc
> 139/tcp open netbios-ssn
> 445/tcp open microsoft-ds
(...)
That should be enough for smbclinet to do the job.
>From the linux side:
smbclient //windows_machine/your_share -U your_windows_username
[password] [enter]
And then some basic commands:
ls → list files/folders
put → upload files
get → download files
("man smbclient" for more info/options)
THT :-)
Greetings
--
Camaleón
Reply to: