Sponsored Content
Top Forums Shell Programming and Scripting Copy files from Linux server to Windows server Post 302843363 by MR.bean on Tuesday 13th of August 2013 03:02:24 AM
Old 08-13-2013
1.) If you have a web server and perl on your windows server, you could run a cgi script to accept http-post request from the linux server

2.) If you have cygwin on the windows server, you could try using rsync / netcat (never tried that myself).

3.) ftp is the easiest
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

copy files from remote server (B) to target server (A)?

Hi All, what is the comand to log off the remote server? I have 2 servers A, B. I need to find all files older than 7 days on server B and copy over to server A. My logic is: login the remote server: ================= ssh hostB cd /data/test find . -mtime -7 -ls | awk '{print... (4 Replies)
Discussion started by: Beginer0705
4 Replies

2. Shell Programming and Scripting

(yet another) copy files from windows to server question

Hi all, I spent the last few hours Googling for a solution without result, so here goes: I have Windows server 'source' that produces files that need to be copied to an external Linux server 'target'. I initiate this process from AIX server 'jobrunner'. An additional step is a Linux server... (2 Replies)
Discussion started by: whbos
2 Replies

3. Shell Programming and Scripting

Unix shell script to Copy files from one Windows server to another Windows server.

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)
Discussion started by: SravsJaya
4 Replies

4. Shell Programming and Scripting

Copy folder and files from unix server to linux server

We would be migrating unix solaries to Linux redhat. Basically source is unix and target is linux. i would like to copy entire file system unix/source/* to target linux/souce/* but target linux has only folder setup so what ever files copied need to be placed in the linux server with same... (8 Replies)
Discussion started by: balajikalai
8 Replies

5. Shell Programming and Scripting

Connect (SSH) to Windows server via Linux server through a script and passing command.. but failing

I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd" i am trying in this manner " ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies

6. Shell Programming and Scripting

Need Shell Script to copy files from hp UNIX to windows server 2008

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)
Discussion started by: Lucky2Bv
4 Replies

7. UNIX for Dummies Questions & Answers

Copy files from Linux server local windows machine using a shell script

Hello, I need to create a shell script which will copy files - which are created on particular date and starting with particular name - to local windows XP machine. Is this possible.? Currently it is being done manually using winscp (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies

8. Linux

How to connect Linux server (configure two way authentication) with Windows server?

Hi my name is Manju. ->I have configure the two way authentication on my linux server. ->Now I am able to apply two way authenticator on particuler user. ->Now I want to map this linux server to my AD server. ->Kindly tell me how to map AD(Active Directory) with this linux server. ... (0 Replies)
Discussion started by: manjusharma128
0 Replies

9. Shell Programming and Scripting

Copy multiple .txt files from one server to another server

:wall:Hi all, I have two servers : server A and server B Weekly wise i use to receive files to server A to one particular location say /source/location . NOTE: In this location there will be other files also present other than these weekly arrival 18 files. My task : i need a... (7 Replies)
Discussion started by: karmegam
7 Replies

10. Windows & DOS: Issues & Discussions

Passwordless login from Linux server to windows server

Hi, I am a newbie and has been given a task to connect to a windows server from a linux server (using putty of course; for file transfer) that too passwordless. Searching through google I found "ssh-keygen" but this also couldn't work because as I tried ssh <username>@<windowsServerIP>, it says... (5 Replies)
Discussion started by: pratria
5 Replies
XReparentWindow(3X11)						     MIT X11R4						     XReparentWindow(3X11)

Name
       XReparentWindow - reparent windows

Syntax
       XReparentWindow(display, w, parent, x, y)
	  Display *display;
	  Window w;
	  Window parent;
	  int x, y;

Arguments
       display	 Specifies the connection to the X server.

       parent	 Specifies the parent window.

       w	 Specifies the window.

       x
       y	 Specify the x and y coordinatesof the position in the new parent window.

Description
       If the specified window is mapped, automatically performs an request on it, removes it from its current position in the hierarchy, and
       inserts it as the child of the specified parent.  The window is placed in the stacking order on top with respect to sibling windows.

       After reparenting the specified window, causes the X server to generate a event.  The override_redirect member returned in this event is
       set to the window's corresponding attribute.  Window manager clients usually should ignore this window if this member is set to Finally, if
       the specified window was originally mapped, the X server automatically performs a request on it.

       The X server performs normal exposure processing on formerly obscured windows.  The X server might not generate events for regions from the
       initial request that are immediately obscured by the final request.  A error results if:

       o    The new parent window is not on the same screen as the old parent window.

       o    The new parent window is the specified window or an inferior of the specified window.

       o    The specified window has a background, and the new parent window is not the same depth as the specified window.

       can generate and errors.

Diagnostics
       A value for a Window argument does not name a defined Window.

See Also
       XChangeSaveSet(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															     XReparentWindow(3X11)
All times are GMT -4. The time now is 09:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy