Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Mirror a folder from the Internet to local machine Post 303012797 by abdulbadii on Friday 9th of February 2018 08:22:01 AM
Old 02-09-2018
There's only one way synchronizing with wget -m <URL>
which will copy what in server to your local storage. Try
wget --spider .. read its official man; GNU Wget 1.18 Manual
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Copying multiple folders to local machine (don't know folder names)

Hi. I'm trying to copy multiple folders from the remote machine to the local machine. I wrote a batch file to run an ftp window. The problem I am having is that the only command to copy files is mget *, and this copies only files, not folders. For example, ftp ts555 cd ts555/test ' test... (5 Replies)
Discussion started by: leenyburger
5 Replies

2. Solaris

x86 Sun Machine and Solaris Soft Mirror

Hi everyone, Normally it always easier in Sparc machine, i can set or manually use the boot-device in NVram to boot the mirrored disk. However I have a big trouble about x86 mirror for a long time. I have been doing anything i can: search document, google, ask the others. Recently i did as... (5 Replies)
Discussion started by: tien86
5 Replies

3. Red Hat

To find the LATEST file from a dir on REMOTE machine and SCP to local machine?

Hi All, URGENT - Please help me form a scipt for this: I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server) I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies

4. Solaris

How to create mirror disk in solaris machine?

hi, I'm newbie in Solaris 10. can someone explain me the steps of how to create mirror disk in Solaris machine. thanks in advance (5 Replies)
Discussion started by: Wong_Cilacap
5 Replies

5. Solaris

Solaris Volume Manager: Break Mirror and use to make a 2nd machine

Hello: I have a machine built on 2 drives and mirrors have been created to a second set of 2 drives (4 total) on the same platform. SVM. Might anyone provide guidance to create a second machine by breaking the mirrored set, moving the two mirrors (2) to another machine (same platform type),... (1 Reply)
Discussion started by: 4dailyrunner
1 Replies

6. Shell Programming and Scripting

How to transfer files from unix machine to local machine using shell script?

Hi All.. Am new to Unix!! Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp). And also i have to transfer the input file from the local directory to Unix machine (Server) Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies

7. Shell Programming and Scripting

Taking mirror copy of the application id and password into the new UNIX machine

I am working in Datastage Migration project. The applications has to be moved from legacy machines to the new machines. all the applications will be having their own application id and password (non expiry) created in the unix (5.3). Now the scripts and the datastage applications has to be moved... (1 Reply)
Discussion started by: kmanivan82
1 Replies

8. UNIX for Advanced & Expert Users

FTP While transfering files to local machine to remote machine

Hi Am using unix Ksh Am getting the problem while transferring zero size files through the script . When i transfer zero size files from local machine to remote machine manually i can able to do it . My question its beause of zero size files am not able to transfer through script ? or its... (2 Replies)
Discussion started by: Venkatesh1
2 Replies

9. Red Hat

iptables applied in local machine, can't ssh remote machine after chain changed to DROP

I want to SSH to 192.168.1.15 Server from my machine, my ip was 192.168.1.99 Source Destination was UP, with IP 192.168.1.15. This is LAN Network there are 30 Machine's Connected to the network and working fine, I'm Playing around the local machine's because I need to apply the same rules in... (2 Replies)
Discussion started by: babinlonston
2 Replies

10. Shell Programming and Scripting

Help with fetching the data from remote machine from my jumpbox(local machine)

Team, Presently i am running a script from my local box(i.e jumpbox) to all the remote machines.Basically fetching basic queries like pwd,mkdir,touch etc and i am able to successfully fetch it from my local machine.But when i want to check certain database related queries like the dbstat... (20 Replies)
Discussion started by: whizkidash
20 Replies
inet(4f)																  inet(4f)

Name
       inet - Internet protocol family

Syntax
       #include <sys/types.h>
       #include <netinet/in.h>

Description
       The  Internet  protocol family is a collection of protocols that is layered on the Internet Protocol (IP) transport layer and that uses the
       Internet address format.  The Internet family provides protocol support for the SOCK_STREAM, SOCK_DGRAM, and SOCK_RAW  socket  types.   The
       SOCK_RAW interface provides access to the IP protocol.

Addressing
       Internet  addresses  are  4-byte  quantities,  stored in network standard format.  The include file defines this address as a discriminated
       union.

       Sockets bound to the Internet protocol family use the following addressing structure:
       struct sockaddr_in {
	    short     sin_family;
	    u_short   sin_port;
	    struct    in_addr sin_addr;
	    char sin_zero[8];
       };
       Sockets may be created with the address INADDR_ANY to effect ``wildcard'' matching on incoming messages.

Protocols
       The Internet protocol family comprises the IP transport protocol, Internet Control Message Protocol (ICMP), Transmission  Control  Protocol
       (TCP),  and  User Datagram Protocol (UDP).  TCP is used to support the SOCK_STREAM abstraction, while UDP is used to support the SOCK_DGRAM
       abstraction.  A raw interface to IP and ICMP is available by creating an Internet socket of type SOCK_RAW.

See Also
       tcp(4p), udp(4p), ip(4p)

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