Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.641.910 Times

Net::MirrorDir 0.05

  Date Added: June 05, 2010  |  Visits: 541

Net::MirrorDir

Report Broken Link
Printer Friendly Version


Product Homepage
Download (75 downloads)



Net::MirrorDir is a Perl extension for compare local-directories and remote-directories with each other. SYNOPSIS use Net::MirrorDir; my $md = Net::MirrorDir->new( ftpserver => "my_ftp.hostname.com", usr => "my_ftp_usr_name", pass => "my_ftp_password", ); or more detailed my $md = Net::MirrorDir->new( ftpserver => "my_ftp.hostname.com", usr => "my_ftp_usr_name", pass => "my_ftp_password", localdir => "home/nameA/homepageA", remotedir => "public", debug => 1 # 1 for yes, 0 for no timeout => 60 # default 30 delete => "enable" # default "disabled" connection => $ftp_object, # default undef exclusions => ["private.txt", "Thumbs.db", ".sys", ".log"], ); $md->SetLocalDir("home/name/homepage"); print("hostname : ", $md->get_ftpserver(), "n"); $md->Connect(); my ($ref_h_local_files, $ref_h_local_dirs) = $md->ReadLocalDir(); if($md->{_debug}) { print("local files : $_n") for(sort keys %{$ref_h_local_files}); print("local dirs : $_n") for(sort keys %{$ref_h_local_dirs}); } my ($ref_h_remote_files, $ref_h_remote_dirs) = $md->ReadRemoteDir(); if($md->{_debug}) { print("remote files : $_n") for(sort keys %{$ref_h_remote_files}); print("remote dirs : $_n") for(sort keys %{$ref_h_remote_dirs}); } my $ref_a_new_local_files = $md->LocalNotInRemote($ref_h_local_files, $ref_h_remote_files); if($md->{_debug}) { print("new local files : $_n") for(@{$ref_a_new_local_files}); } my $ref_a_new_local_dirs = $md->LocalNotInRemote($ref_h_local_dirs, $ref_h_remote_dirs); if($md->{_debug}) { print("new local dirs : $_n") for(@{$ref_a_new_local_dirs}); } my $ref_a_new_remote_files = $md->RemoteNotInLocal($ref_h_local_files, $ref_h_remote_files); if($md->{_debug}) { print("new remote files : $_n") for(@{$ref_a_new_remote_files}); } my $ref_a_new_remote_dirs = $md->RemoteNotInLocal($ref_h_local_dirs, $ref_h_remote_dirs); if($md->{_debug}) { print("new remote dirs : $_n") for(@{$ref_a_new_remote_dirs}); } $md->Quit(); This module is written as base class for Net::UploadMirror and Net::DownloadMirror. Howevr, it can be used, also for something other. It can compare local-directories and remote-directories with each other. In order to find which files where in which directory available..

Requirements: No special requirements
Platforms: Linux
Keyword: Dirs Files Libraries Local Mirrordir Netmirrordir Programming Ref Remote Sort Keys
Users rating: 0/10

License: Freeware Size: 6.14 KB
USER REVIEWS
More Reviews or Write Review


NET::MIRRORDIR RELATED
Backup Utilities  -  Bonkey 2.1.2
Are you afraid of losing your most important files? With Bonkey you can automatically copy your most important files to local drives, FTP, SFTP, shared networks, or an Amazon S3 account.Make automatic backups of any file, or of Microsoft SQL...
1024 B  
Search & Replace Tools  -  UltraSearch 1.5
UltraSearch searches files on local NTFS drives and provides the results within just a few seconds. UltraSearch does not use a previously built index or background process, it achieves its speed by working directly on the Master File Table (MFT)...
2.71 MB  
FTP Clients  -  CarbonFTP 1.2
CarbonFTP is a free utility for anyone, who uses FTP servers. It performs fast and accurate synchronization of files in local PC folders and FTP server folder. The synchronization of files through FTP server is common in companies with remote...
551.14 KB  
Development Editors  -  Alternate Textbrowser 2.2
This program makes it easy to browse through text and html/xml files, syntax highlighting for serveral programming languages is available (C++, Pascal, PHP, Perl etc.).
895 KB  
Libraries  -  Easy PHP Upload 2.28
Easy PHP Upload class (the old name) can be used to upload files with a client browser to a remote webserver location. The features in the first release are: file-extension check, maximum file- size limitation and a flexible error reporting...
13.31 KB  
Backup Utilities  -  Cedar Backup 2.13.2
Cedar Backup is a Python package that supports backups of files on local and remote hosts to CD-R or CD-RW media over a secure network connection. Cedar Backup project also includes extensions that understand how to back up MySQL databases and...
2 MB  
File Utilities  -  Disk Sorter Pro 3.5.18
DiskSorter is a file classification utility allowing one to classify and categorize files in local disks, network shares and NAS storage devices. Users are provided with multiple product versions ranging from an easy-to-use free version to an...
3.82 MB  
File Utilities  -  DupScout Ultimate x64 3.5.18
DupScout is a powerful, fast and easy-to-use duplicate files finder utility allowing one to detect and cleanup duplicate files on local disks, networked computers and NAS storage devices. Users are provided with multiple product versions...
4.31 MB  
File Utilities  -  Disk Sorter 3.5.18
DiskSorter is a file classification utility allowing one to classify and categorize files in local disks, network shares and NAS storage devices. Users are provided with multiple product versions ranging from an easy-to-use free version to an...
3.82 MB  
File Utilities  -  Disk Sorter Ultimate 3.5.18
DiskSorter is a file classification utility allowing one to classify and categorize files in local disks, network shares and NAS storage devices. Users are provided with multiple product versions ranging from an easy-to-use free version to an...
3.87 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB