How To Transfer The File From Windows To Linux Server

How to transfer the file from Windows to Linux server, while using below code I getting issue.

Command:- $ scp C:\Users\patil20\Desktop\NAV.1184.test112345.dat username@hostname:/u/spatil20/test.da

ERROR in Linux:- ssh: C: Name or service not known

thanks,
santosh


Similar Content



Urgent!! File Transfer From Windows To Linux Server Using Ftp

Dear All

I need your help.
I want to get a file from windows server using ftp.
Below is the script I have created but the connection is not established:

#!/bin/sh

lcd "directory in linux server"
USER="username of windows server"
PASS="password"

ftp -n "ip of windows server" <<EOF
user $USER $PASS

cd "C:\Users... directory in windows server where file is located"
bin
get test1234.txt

bye

EOF

I hope somebody can help me!
BR,

Linux File Server

Hello Everyone
I have installed Ubuntu Server on a 500 GB drive formatted as EXT4.

Of of my Media, movies, music and pictures are from Windows PC's formatted in NTFS.
As all of the computers connecting to the server will be windows based will NTFS be fine or will I have to reformat them to work. The two media drives are 2 x 2GB Sata drives.
Could you tell me if this setup would work or will I have to reformat and and transfer the files to a new filesystem.
Also as a file server whats the best linux file system to use so it will work with windows PC's in a lan flawlessly.
Thanks for you expertise.
Regards

File Transfer Through UART Between Linux Host And Embedded Linux Target

Hi,

I have a target board running embedded Linux, and a host PC that runs Ubuntu. I want to be able to transfer files from the host PC to the target board through serial interface, (something like I have a terminal program on the host side that talks to the target, and I issue some command from the terminal to transfer a file to the target, the target receive the file and store it in some RAM location for later), How can I do it?
I know how to do this using ymodem on the host terminal and loady on target's u-boot command prompt, but how can I do it when target is running Linux?

Thank you all,
Wei

Transfer Files From Linux To Windows Pscp

Hi, i am newbie. I have problems to transfer files between Linux to Windows. Here goes mi situation.

I have already install pscp in windows, i tested it typing pscp in command line, its ok. I have read that pscp is primordial to perform the transfers.

The problem is the next: i am located in /root, trying to transfer install.log to c:\temp, doing the next: pscp.exe root@192.168.x.x: /root/install.log c:\temp
and the result is:
-bash: pscp.exe: command not found

I am searching in the internet for a solution but with no success yet. Could you help me please?

Copy Linux Files To New Windows Os

hi guys,
i want to transfer my files from linux OS to Windows OS. how can i do that if I forgot my username and password of linux? is it still possible? thanks

Run .bat File On Windows That Depends On An Event In Linux

Hello, does anyone knows a way to run a .bat file in windows that depends on an event in Linux? I already have a free communication between both machines, with puttyGen, but now i have to activate a .bat file in windows when a directory in linux contains files. By crontab it will be watching that directory, and at the moment that a file arrives, the .bat file that is in windows has to fire.

Thanks for the information.

Transferring Audio Files From A Media Player To An Android Phone

Hi all,

I'm not quite a newbie having been using Linux for around a year now and think I know some of the basics at least. In the main it does what I want, some things better than they ever did on Window while some things frustratingly more awkward!

I have a load of music files that I'd like to search through and transfer some to the external sd card of my android phone. This was something that was a doddle during my Windows days but seems unbelievably difficult now. Back then I used a media player I loved, Mediamonkey, and could simply drag and drop whichever tracks I wanted, or right click and move to a device that way. Sadly this doesn't work too well with WINE though so is fine on XP through Virtualbox, apart from a lack of USB function.

I'm using Linux Mint 17.1 with a KDE desktop.

When I plug my phone into a USB port, it is recognised straight away as an android phone and I can navigate around it with no problems in Dolphin. I could look for each individual file and transfer them that way but with around 30,000 mp3s the task would take quite some time!

None of the media players I've tried so far recognise the phone or the storage on it.

I've installed Windows XP on Virtualbox and have Mediamonkey on there with all my audio files. I can't seem to get Virtualbox to recognise any USB devices so I can't transfer files that way either.

I find it annoying that, in effect, Android is a variety of Linux yet connectivity between the two is so complicated. Airdroid has been the best way that I've found but that's not an option.

I've been trying for 4 hours now and have got nowhere. If anyone can help I'd be grateful Thanks

Integrate Active Directory With OpenLDAP

Hi,

In first place i would like to give you a brief about my current setup and my requirement.
I have 80% of the machines with CentOS 6.5 installed rest 20% windows 7. I have OpenLDAP v2.4 for user authentication.
In linux environment all linux machines are configured in such a way that whenever a user logs on to system with the help of OpenLDAP credentials he gets a default desktop rather Mandatory Profile is implemented in this setup. Now my goal is to enable OpenLDAP users logon to windows machines and get the same Mandatory profile setup done here. So far SambaPDC helped me to authenticate LDAP accounts on Windows clients machines but the Manadatory profile thing isn't working well at all due to posix acls issue. Now i am working with Windows Server 2012 r2 server so as to integrate with OpenLDAP for getting this Mandatory profile thing done. Is there any way i can sync all OpenLDAP accounts to Active directory or rather make my windows server a member server for OpenLDAP domain.

Please help me on this. Thanks in advance!!

How To Open Linux File/software In Windows 8?

Hi,

Could anyone please explain as understandable as possible how could I on my Windows 8 open either single file or install (and use) entire software which is supposted to work on Linux and/or Ubuntu? I have absolutelly NO experience with Linux and have never used it. Honestly, I don't know if there is any difference between Linux and Ubuntu. I want to be inside my Windows 8 while using Linux files/sofware. The only solution I could think of are actually two but neither of them is useful for me:

1. Vmware (i don't know how to use it)
2. Rent remote computer (vps/rdp) with linux OS installed (this would let me be in Windows 8 while being able to use Linux file/software [on remote computer] but sooner or later I would want to have Windows installed there too)

Tried program Linux Reader but didn't work on my Windows 8. Although I would need solution for installation/usage of software (that can be used only on linux/ubuntu), regardless of details***, the current problem is basically related to single files only: I have two files, both in IMG extension. Don't know how to open them because Deamon Tools doesn't handle IMG. The problem is that filesystem in one of them is "Linux" and filesystem in another is "142". The error I am getting when I try to open them is:

"File with harddrive/disc snapshot is corrupted."

But this is most likely because they are supposted to be used in linux environment, hence such question.

*** when i said "details" I was referring to basically anything: type of software, size, purpose, whether or not it needs network connection, whether or not it contains logging in (username password, etc) requirement, etc.

The following solution for current situation (quoted error above) works only partially:

http://www.sysprobs.com/simple-tip-h...thout-software

I am able to open/run/mount IMG if I do what is described on this link (im basically opening iso in this case - see the website) but when opening the virtual drive, the following error message proves that the file can be used in linux/ubuntu only:

"Windows cannot access that drive. Drive could be corrupted. Make sure the drive is in condition that can be recognized by Windows. If drive isn't formatted then format it before usage."

Would need detailed instructions, for total beginner, who has never used linux/ubuntu, what to do in such case: how to use in win8 files/software that are supposted to be used in linux/ubuntu. Also answer on how to open IMG would be highly appreciated.

Kindest regards and thank you a million in advance.

How To Interact With Linux Using Windows Kind GUI

I am new to Linux. i am sql DBA, but i need to interact with SAP HANA Database which is on Linux. currently, only way, i can log n to server is through Putty. which opens up cmd interface. is there way, i can log on to Linux server and see drives, files like windows.

thanks,
Sukhi