| 1 | package App::Followme::UploadNone; | ||
| 2 | |||
| 3 | 1 | ▶ | use 5.008005; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | ▶ | use lib '../..'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | ▶ | use base qw(App::Followme::ConfiguredObject); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | |||
| 12 | 1 | our $VERSION = "2.03"; | |
| 13 | |||
| 14 | #---------------------------------------------------------------------- | ||
| 15 | # Add a directory to the remote site | ||
| 16 | |||
| 17 | 1 | ▶ | sub add_directory { |
|
Subroutine
add_directory: called CC=1 SCAR=0.0
Pod
documented
| |||
| 18 | 1 | my ($self, $dir) = @_; | |
| 19 | 1 | return 1; | |
| 20 | } | ||
| 21 | |||
| 22 | #---------------------------------------------------------------------- | ||
| 23 | # Add a file to the remote site | ||
| 24 | |||
| 25 | 1 | ▶ | sub add_file { |
|
Subroutine
add_file: called CC=1 SCAR=0.0
Pod
documented
| |||
| 26 | 1 | my ($self, $local_filename, $remote_filename) = @_; | |
| 27 | 1 | return 1; | |
| 28 | } | ||
| 29 | |||
| 30 | #---------------------------------------------------------------------- | ||
| 31 | # Close the ftp connection | ||
| 32 | |||
| 33 | 1 | ▶ | sub close { |
|
Subroutine
close: called CC=1 SCAR=0.0
Pod
documented
| |||
| 34 | 1 | my ($self) = @_; | |
| 35 | 1 | return; | |
| 36 | } | ||
| 37 | |||
| 38 | #---------------------------------------------------------------------- | ||
| 39 | # Delete a directory from the remote site | ||
| 40 | |||
| 41 | 1 | ▶ | sub delete_directory { |
|
Subroutine
delete_directory: called CC=1 SCAR=0.0
Pod
documented
| |||
| 42 | 1 | my ($self, $dir) = @_; | |
| 43 | 1 | return 1; | |
| 44 | } | ||
| 45 | |||
| 46 | #---------------------------------------------------------------------- | ||
| 47 | # Delete a file from the remote site | ||
| 48 | |||
| 49 | 1 | ▶ | sub delete_file { |
|
Subroutine
delete_file: called CC=1 SCAR=0.0
Pod
documented
| |||
| 50 | 1 | my ($self, $filename) = @_; | |
| 51 | 1 | return 1; | |
| 52 | } | ||
| 53 | |||
| 54 | #---------------------------------------------------------------------- | ||
| 55 | # Open the connection to the remote site | ||
| 56 | |||
| 57 | 1 | ▶ | sub open { |
|
Subroutine
open: called CC=1 SCAR=0.0
Pod
documented
| |||
| 58 | 1 | my ($self, $user, $password) = @_; | |
| 59 | 1 | return; | |
| 60 | } | ||
| 61 | |||
| 62 | 1 | 1; | |
| 63 | __END__ | ||