Remote file transfer between Linux and Windows


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Remote file transfer between Linux and Windows
# 1  
Old 07-03-2015
Remote file transfer between Linux and Windows

Hello,

I have a file, say details.txt on my windows machine. I want to copy it to linux machine through a shell script and edit the file and transfer the file back to windows machine. (All I want to do is to edit the file on windows machine from linux machine by a script.)

I have tried
Code:
scp winduser@server:/c/temp/details.txt ~

But its not working.

Last edited by vbe; 07-03-2015 at 12:08 PM.. Reason: code tags not icode
# 2  
Old 07-03-2015
Moderator's Comments:
Mod Comment Posting "Does not work" without explanation does not help you or anyone. If a command does not work for you, please show the exact circumstances you used it, and the exact error or malfunction you received. Do not paraphrase errors, or post the text as links, images, or attachments if you can avoid it: Paste the exact message, in code tags, like [code] text [/code] or by selecting the text and using the Image button.

Thank you.

The UNIX and Linux Forums


You have your syntax wrong.
Code:
scp localfilename linuxuser@server:/path/to/remote/destination/filename

 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

File transfer from remote to local

Hi, I came across the scenario, that I need to copy files from the remote server to my local. The files in the remote server are created by another job and its keep on generating the files in that remote folder. We can't able to use SCP command and we're using SFTP to connect the server and... (3 Replies)
Discussion started by: Janarthan
3 Replies

2. Shell Programming and Scripting

Do I require remote login access to a windows server to transfer files from a UNIX server

Hi All I need to transfer a file from a UNIX server to a windows server. I saw that it is possible to do this using scp command by looking at the forum listed below: ... (2 Replies)
Discussion started by: vx04
2 Replies

3. Shell Programming and Scripting

Transfer files from linux server to windows using secure ftp (sftp)

HI, I have to transfer files from linux server to windows using secure ftp (sftp) .Kindly help me out. (3 Replies)
Discussion started by: manushi88
3 Replies

4. Shell Programming and Scripting

File transfer from Windows machine to Linux server

Hi guys, I need to send a txt file from a windows machine to Linux server. Any help is appreciated.... Thanks... (3 Replies)
Discussion started by: gowrishankar05
3 Replies

5. Shell Programming and Scripting

Windows to Linux Files Transfer

Hi, I have to write a batch script in windows and transfer files from windows ro linux. But I am not able to connect to the Linux machine. The script to transfer files from windows to unix is not working. Please let me know how to transfer files using script. P.S.- I have to put files from... (4 Replies)
Discussion started by: vsachan
4 Replies

6. Shell Programming and Scripting

Continuous log file transfer to remote server

I have several production servers and 1 offline server. Production server continuously generates new log files for my application. Depending on time of day new files may be generated every few seconds and at other times every few hours. I also have an offline server where I would like to pull log... (3 Replies)
Discussion started by: yoda9691
3 Replies

7. Homework & Coursework Questions

File transfer from Red Hat Linux to Windows 7

My assignment is to use C++ to generate a table of values for the U.S. standard atmosphere, when data at sea level are given, which i have done perfectly. Now, i am attempting to create a matlab script to read and plot the data. I forgot to put my table of data on my thumb drive yesterday, and... (4 Replies)
Discussion started by: ds7202
4 Replies

8. Windows & DOS: Issues & Discussions

Linux remote app on Windows

So I have been playing around with some code and thought I would tap the vast Linux knowledge here. My company has a bunch of servers running Linux on the Amazon cloud. I have created a Windows application in C++ that acts like a remote desktop to the Linux servers. When I run it it connects... (3 Replies)
Discussion started by: bobmanc
3 Replies

9. Linux

Install Linux on remote server from Windows PC

I am very new with servers and have never used Linux. The server I'm looking at is not currently connected to anything, and I wish to install Linux on this server. It doesn't have a monitor (no video card) or keyboard. It does have a DVD. Can I communicate with that server using a Windows PC to... (8 Replies)
Discussion started by: kvalenti
8 Replies

10. UNIX for Dummies Questions & Answers

SCO Openserver 6 Remote File Transfer

Hi, I have a server which has SCO Openserver 6 on it and also kermit installed, unfortunately I can't seem to get kermit to send or receive files, is there another way I can use to transfer files remotely? I only have remote access to the server via a dial up modem Any comments/suggestions... (1 Reply)
Discussion started by: Martyn
1 Replies
Login or Register to Ask a Question