Copy a directory from a server (UNIX) to a PC (Windows)
Hello, I already do some question about this topic. I already establish the conection from the server (Centus) whit the windows PC using SSH. Now I have two problems:
1- The server always ask me about a password to copy the files to the windows pc, I don't know how to avoid this, if someone can explain me how can I do to copy a file from my server (Linux) to my pc (Windows)in an automatic way without the necessity of write the password, please help me.
2- In the way it make the copy, the server only make a a file with the name of the file inside the windows pc, but it file don't have nothing inside, I mean the copied file have size = 0. Someone knows what is happening to my copy?
passwordless ssh can be done relatively simply with shared keys, see the link.
I'm less certain what's happening with the empty files, but running scp/sftp with the -b flag may help, it will print verbose debugging information. If you can convince the windows sshd to run with -d for debugging output that may also help explain. I suspect permission issues on the Windows host but that's only a guess.
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
Hi All,
I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers.
So i am looking for a script to transfer the file automatically from Linux server to Windows server?
Please advise.
Thanks... (3 Replies)
Need Shell Script to copy files from hp unix to windows server 2008
I tried to google and found some options but nothing worked
I want a script to copy a file in unix to windows server so I can schedule the script on daily basis.Please help me its more needful for me.
Let me know if any... (4 Replies)
Hi,
I am new unix,
In the unix server we have two folders
1. /home/directory/sub1/
2. /home/directory/sub2/
Under each sub we have some other subfolders also.
Here my question is
I want to create sub2(including subfolder of this) as share drive to windows 2003 server.
Can... (7 Replies)
Can anybody please help me on how to code for the below requirement:
I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Hi All
I am new to Unix/sloaris.
I want to copy a directory (which conatins further sub directories and files)from sloaris to my windows.I am using PuTTy for it.
please any one guide me how to do this or share with me some piece of script. It will be very regarded
Best Wishes
MIS. (3 Replies)
Hi All
I am new to Unix/sloaris.
I want to copy a directory (which conatins further sub directories and files)from sloaris to my windows.I am using PuTTy for it.
please any one guide me how to do this or share with me some piece of script. It will be very regarded
Best Wishes
MIS. (1 Reply)
Hola a todos, soy realmente nuevo programando en bash, y aśn estoy encontrando bastantes baches :o, mi pregunta es simple, supongo, alguien podria decirme si existe una manera facil de copiar un directorio de un server a otro?, sucede que en un server(server1) tengo los backup de las bases de... (7 Replies)
I so desperately need a script to copy a windows csv file to my unix server and i know these should be at dummies but i have no bits. it is life & no job situation help please. thanks (1 Reply)
I so desperately need a script to copy a windows csv file to my unix server and i know these should be at dummies but i have no bits. it is life & no job situation help please. thanks (1 Reply)