App-Smbxfer

 view release on metacpan or  search on metacpan

lib/App/Smbxfer.pm  view on Meta::CPAN

must also be a directory >>

An directory was specified as the source for a transfer and a file was specified
as the destination.


=item C<< Error: destination must be a directory with --parents option. >>

When using --parents to replicate parent directory structures, the destination
must be a directory, not some existing file (since replication of directory
structures implies restrictions on the location of the target file).


=item C<< Omitting directory $src_smb_path in non-recursive mode. >>

The --recursive option must be used for directory transfers.


=item C<< F< path > is not a directory or a file...ignoring. >>

Only files or directories can be uploaded or downloaded using smb_upload() or
smb_download().


=item C<< cannot open file: ... >>

Local OS error while trying to open a file.


=item C<< cannot mkdir F< path >: ... >>

Local OS error while trying to create a directory.


=item C<< SMB error: cannot create file: ... >>

Remote Samba error while trying to create a file.


=item C<< SMB error: cannot mkdir F< path >: ... >>

Remote Samba error while trying to create a directory.


=item C<< SMB error: cannot opendir: ... >>

Remote Samba error while trying to open a directory.


=item C<< SMB error: cannot unlink: ... >>

Remote Samba error while trying to delete a file.


=back


=head1 PROGRAM: CONFIGURATION AND ENVIRONMENT

The credentials file that can be used via the '--cred' option should be in the
same format used by smbclient.  This file looks as follows:

    username = <username>
    password = <password>
    domain = <domain>
 

=head1 PROGRAM: NON-TRIVIAL DEPENDENCIES

Filesys::SmbClient

IO::Prompt


=head1 PROGRAM: INCOMPATIBILITIES

No known incompatibilities.


=head1 BUGS AND LIMITATIONS

No known bugs.  Please report problems to Karl Erisman
(kerisman@cpan.org).  Patches are welcome.


=head1 AUTHOR

Karl Erisman (kerisman@cpan.org)


=head1 LICENSE AND COPYRIGHT

Copyright (c) 2007 Karl Erisman (kerisman@cpan.org).  All rights
reserved.

This is free software; you can redistribute it and/or modify it under the same
terms as Perl itself.  See L<perlartistic>.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.


=head1 SCRIPT CATEGORIES

Networking

UNIX/System_Administration

Win32

=cut



( run in 1.745 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )