Download a file from unix to windows






















Anyone can give the exact shell script to do this functionality? You need to have WinSCP installed on your windows client and use windows schedule and the command described in the link above to automate the process. Add IP address in UNC path: although that is not state-of-the-art, it works correctly on the "other" side, Windows would rise a security risk by accessing a UNC path containing an IP address of course.

Add the urgency from swarna in a following mail: sorry, but I understand this forum as a medium to get tips and hints, but not to expect a ready solution without any costs. If you can get the Windows team to install a ssh server on the Windows server, then I would suggest this is the way to go.

As FTP is not a secure form of transport, you can ask the Windows team to make a virtual directory to the required "output" directory.

The FTP server and the "output" directory do not even need to be on the same host. An additional advantage of a virtual directory is that it does not show in the root directory listing, but can still be accessed. 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.

You can then copy and paste files to or from the server like you would do with any normal folder on your storage as well. FTP is a way to transfer files online. An FTP server offers access to a directory, with sub-directories. Users connect to these servers with an FTP client, a piece of software that lets you download files from the server, as well as upload files to it.

Upload files to the FTP server. Find a file that you want to upload. Category: technology and computing operating systems. In Host name, type one of the Linux servers e. In User name, type your username. In Password, type your password. For other options, you should use the default values in the image. Port number: To use FTP commands at Windows command prompt. Open a command prompt and navigate to the folder containing the files that you want to transfer, then press ENTER. Download and install WinSCP.

What is WinSCP tool? How do I transfer files from local machine to Unix server? How do I transfer files from Linux to Windows? How do I transfer files using putty? How do you copy a file in Unix? How do I download a file in Unix? How do I download a file from putty in Unix?

Where is WinSCP installed? How do I transfer files from Windows to Ubuntu? You don't say what Unix you are using. Once you've done that you can just use the basic file management tools cp , mv , This method does assume that the Unix machine can see the Windows machine's fileshares through any firewall arrangements that may exist between them.

You can also do it the other way round and pull files from the Windows side instead of pushing from the Unix side. Have a look into tools like WinSCP which is a graphical tool for SCP file transfers giving you a choice between the Windows Explorer or Norton Commander look and feel, both of which should be intuitive to you.

Once logged in, you can navigate to the files of interest "the Windows way" and drag and drop them to wherever you want them. Use WinSCP tool. Works like a charm. It didn't like anything to do with C, so I dropped it, and it worked. Why not install Samba on the Unix box? Then you can map drives between the two systems.

Alternatively, I would use psftp from the putty suite rather than the command-line scp, since you aren't familiar with it and apparently do not need to script it.

Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Ask Question. Asked 11 years, 1 month ago. Active 4 years, 7 months ago. Viewed 80k times.



0コメント

  • 1000 / 1000