Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
You can not transfer from linux to windows using scp without a ssh server running on the windows computer. You need to transfer the install.log using a client on the windows computer. There are windows GUI sftp clients like filezilla and winscp that are easier to use then pscp.
I dont use WinScp couse this is a test. The objective is transfer many files from a directory of Linux to a dir on Windows. This will be automated in crontab every minute.
Allend, i have tried your solution, its works. I apreciate both information.
Ok, now this has to be automated, i will invstigate how works it in windows, i imagine i can use programming tasks.
Other problem, when i submit the command line supplied for allend, it asked me for a password, i will try to fix it with Puttygen, i hope.
If you are generating files on the Linux server that you want to be available to Windows, it might be better to create a shared directory on the Windows machine that can then be mounted on the Linux server.
schneidz, originally i wanted to transfer files automatically from linux to windows, using cron, but, allend show me how to do it from command line of windows (pscp root@192.168.xxx.xxx:/root/install.log c:\temp\install.log), so, this problem has become a windows problem cause now i have to automate from windows side.
Thanks partners, i will be hovering this forum frequently.
This just worked fine for me on windows 7 computer connecting to a fedora 20 computer. There is no sshd server on windows, it's not necessary to have one to use pscp from windows. You'd only need a sshd server if you want to initiate a ssh connection from the linux machine to the windows machine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.