Script to copy files from unix to windows




















You should probably ask the Windows team to set the directory view as UNIX-style; but if they decide to leave it as DOS-style, then it can be changed on the fly using the "quote site dirstyle" command. To set this up in AIX is less than 5 minutes work. Thanks for the great comments. And the issue is I have to re-direct the file into the windows machine from UNIX machine and update the latest file which should be placed in the directory.

I mean, the previous day the file should be replaced by nextday file everyday. But, the file name should not be changed. Even I am having the same requirement, to copy files from Windows to Unix box. I did read the above links, but they all require manually intervention which we want to avoid.

We want something which we can schedule and it should get kick based on completion of dependency and copy the files. I can say this about Samba, maybe winscp is the same: After configuring and starting the server, then there is no more manual intervention. No Account? Sign up. By signing in, you agree to our Terms of Use and Privacy Policy. Already have an account?

Sign in. By signing up, you agree to our Terms of Use and Privacy Policy. Enter the email address associated with your account. We'll send a magic link to your inbox. Email Address. All Sign in options. Enter a Email Address. Choose your interests Get the latest news, expert insights and market research, sent straight to your inbox. Newsletter Topics Select minimum 1 topic.

Operating Systems. Tags: Informatica , Unix. Anonymous January 1, 0 Comments. Output path in windows: Hi, You can use ftp server and in windows can ftp to server and get or put file. Jalal Hajigholamali Posted January 1, 0 Comments. C Butler Posted January 1, 0 Comments. Standard installation 1. Please help me on this. Pooyan Razian Posted January 1, 0 Comments. Anonymous Posted January 1, 0 Comments. Paul Pedant Posted January 2, 0 Comments. Typical few lines for FTP in Unix, to go at the end of the file creation, would be: ftp -h Like: ssh Anonymous Posted January 2, 0 Comments.

I need to write a shell script to transfer files from Unix server to windows machine. This script will be scheduled on scheduler to run at specified intervals! Can somebody please help me in writing the script? Join Date: Feb Originally Posted by knag. Code :. Hi Vino, Thanks for you reply!

I added the EOF statement at the end. Now the session the coming out of ftp. It's complaining about the "lcd" command, telling the local system that's running the FTP script to change directory as opposed to changing the directory on the FTP server.

Join Date: Jan I would also love to see is it possible to use lcd command so I could change windows directory in my unix script???

It that possible?? Join Date: Jun Help with a script to transfer files from Solaris to windows. Hi Please can you tell me what could be wrong with the following scriptto transfer files from solaris 10 to windows machine:!

Script to transfer files from Solaris to windows. Cygwin script to transfer file from windows to UNIX. Hi, Objective is to transfer files from windows server to Unix server using cygwin. I have installed cygwin, and I manually execute commands and transfer files from windows to unix using sftp. These are steps I execute 1 Run cmd 2 Run cygwin 3 At prompt type sftp user1 uniserver 4 lcd Unix shell script to delete files on windows server.

Hi experts, can anyone suggest me on the below: how to write a shell script to search and delete files on windows server. Shell Script to transfer files from unix to windows. I have to transfer a file from unix to windows through Shell Script. I am using the below script, but it is not working. Please help.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 8 years, 10 months ago. Active 8 years, 10 months ago. Viewed 10k times. I have the below shell script to copy a txt file from a Unix machine to a Windows machine in the same network:! I am giving all the correct info in the script. What could be the reason? Danny Beckett Add a comment. Active Oldest Votes.



0コメント

  • 1000 / 1000