08-11-2014
FTP-ing files from Windows server to UNIX server
I need to transfer files from a Windows server to the Unix server and have to run some shell script on it to get the required output.
Is it possible to transfer files from Windows server to unix server through any shell script?
If so can you please help me with the details.
Thanks in Advance.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Friend,
I don't know much about unix.I am an VB6.0 Programmer.I need to move an text files as aaa.txt from unix server to windows "D: " driver using the FTP protocol.Is it possible to do this with help of unix shell script.If possible please give some sample codes.
Please answer as early... (1 Reply)
Discussion started by: gjsaravanan
1 Replies
2. Shell Programming and Scripting
Hi,
Below is the script which ftps the file from unix server and putting in a different directory(but on unix server)
How can i ftp the files from unix server and to place in a secure location on windows server? what changes needs to be done to the below script?
How can this be... (1 Reply)
Discussion started by: venkatesht
1 Replies
3. Shell Programming and Scripting
Hi,
I need to ftp some input files from windows to unix server.All the files will be saved in the C drive in my machine.
Currently all these files are transferring manually to the unix server.I need to write a shell script which ftp the files
from windows to unix box.When I searched in the... (10 Replies)
Discussion started by: kavithakuttyk
10 Replies
4. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
5. Shell Programming and Scripting
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
6. Shell Programming and Scripting
unix shell script (2 Replies)
Discussion started by: giridhar276
2 Replies
7. Shell Programming and Scripting
hi
i need to transfer some files from windows server to unix server using SFTP. but before transferring the files, i need to check the
existence of a particular file in the remote directory (say r_dir1). if the file is present, then SFTP all the files.
after SFTPing the files from the remote... (1 Reply)
Discussion started by: vinit raj
1 Replies
8. IP Networking
hi, i want to write a shell script code which transfers files from a directory in unix server to a directory in a windows machine.. can any1 give me a sample code which uses ftp or sftp command..
thanks very much, (3 Replies)
Discussion started by: Little
3 Replies
9. Shell Programming and Scripting
Hi Team,
I had a requirement to write a shell script which automatically transfer the files from unix server to windows server. I can able to unix to unix using Scp command. I am not sure how to do unix to windows.
I am very new on this concept.
Could you please help me or guide in... (4 Replies)
Discussion started by: gvkumar25
4 Replies
10. Shell Programming and Scripting
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
yppush(1M) yppush(1M)
NAME
yppush - force propagation of Network Information Service database
SYNOPSIS
domain] host] maxm] mint] mapname
Remarks
The Network Information Service (NIS) was formerly known as Yellow Pages (YP). Although the name has changed, the functionality of the
service remains the same.
DESCRIPTION
copies a Network Information Service (NIS) map (database), mapname, from the map's master NIS server to each slave NIS server. It is usu-
ally executed only on the master NIS server by shell script which is run either after changes are made to one or more of the master's NIS
databases or when the NIS databases are first created. See ypmake(1M) and ypinit(1M) for more information on these processes.
constructs a list of NIS server host names by reading the NIS map within the domain. Keys within the map are the host names of the
machines on which the NIS servers run. then sends a "transfer map" request to the NIS server at each host, along with the information
needed by the transfer agent (the program that actually moves the map) to call back
When the transfer attempt is complete, whether successful or not, and the transfer agent sends a status message, the results can be printed
to standard output. Messages are printed when a transfer is not possible, such as when the request message is undeliverable or when the
timeout period on responses expires.
Refer to ypfiles(4) and ypserv(1M) for an overview of Network Information Service.
Options
recognizes the following options:
Copy mapname to the NIS servers in domain rather than to the domain returned by (see domainname(1)).
Propagate the map(s) only to the specified host.
Attempt to run
maxm transfers in parallel to as many servers simultaneously. Without the option, attempts to transfer a map to each
server, one at a time. When a network has many servers, such serial transfers can result in long delays to complete all
transfers. A maxm value greater than 1 reduces total transfer time through better utilization of CPU time at the mas-
ter. maxm can be any value from 1 through the number of NIS servers in the domain.
Set the minimum timeout value to
mint seconds. When transferring to one slave at a time, waits up to 80 seconds for the transfer to complete, after
which it begins transferring to the next slave. When multiple parallel transfers are attempted by use of the option, it
may be necessary to set the transfer timeout limit to a value larger than the default 80 seconds to prevent timeouts
caused by network delays related to parallel transfers.
Verbose mode:
messages are printed when each server is called and when each response is received. If this option is omitted, only
error messages are printed.
WARNINGS
In the current implementation (Version 2 NIS protocol), the transfer agent is ypxfr(1M) which is started by the ypserv(1M) program at
yppush's request (see ypxfr(1M) and ypserv(1M)).
Starting with ONCplus version B.11.31.02, the NIS Version 1 protocol is no longer available.
AUTHOR
was developed by Sun Microsystems, Inc.
FILES
SEE ALSO
domainname(1), ypserv(1M), ypxfr(1M), ypfiles(4).
yppush(1M)