Bugzilla – Attachment 172180 Details for
Bug 36766
Add command-line utility to SFTP a file to a remote server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36766: (QA follow-up) Add single dash paramter options
Bug-36766-QA-follow-up-Add-single-dash-paramter-op.patch (text/plain), 2.67 KB, created by
Kyle M Hall (khall)
on 2024-09-27 20:26:59 UTC
(
hide
)
Description:
Bug 36766: (QA follow-up) Add single dash paramter options
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-09-27 20:26:59 UTC
Size:
2.67 KB
patch
obsolete
>From a2bc7115306082db51476d939da9213a29f6308a Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 27 Sep 2024 16:15:21 -0400 >Subject: [PATCH] Bug 36766: (QA follow-up) Add single dash paramter options > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > misc/cronjobs/sftp_file.pl | 38 +++++++++++++++++++------------------- > 1 file changed, 19 insertions(+), 19 deletions(-) > >diff --git a/misc/cronjobs/sftp_file.pl b/misc/cronjobs/sftp_file.pl >index 85208a8db92..f01cba8789b 100755 >--- a/misc/cronjobs/sftp_file.pl >+++ b/misc/cronjobs/sftp_file.pl >@@ -32,19 +32,19 @@ sftp_file.pl - SFTP a file to a remote server > > =head1 SYNOPSIS > >-sftp_file.pl [ -h | -m ] [ -v ] host user pass upload_dir port file email >+sftp_file.pl [ --help | --man ] [ -v ] -h host -u user -p pass -d upload_dir --port port -f file -e email > > Options: >- -h --help brief help message >+ --help brief help message > -m --man full documentation, same as --help --verbose > -v --verbose verbose output >- --host SFTP host to upload to >- --user SFTP user >- --pass SFTP password >- --upload_dir Directory on SFTP host to upload to >- --port SFTP upload port to use - falls back to port 22 >- --file File to SFTP to host >- --email Email address to receive confirmation of SFTP upload success or failure >+ -h --host SFTP host to upload to >+ -u --user SFTP user >+ -p --pass SFTP password >+ -u --upload_dir Directory on SFTP host to upload to >+ -P --port SFTP upload port to use - falls back to port 22 >+ -f --file File to SFTP to host >+ -e --email Email address to receive confirmation of SFTP upload success or failure > > =head1 OPTIONS > >@@ -129,16 +129,16 @@ my $sftp_status = undef; > my $command_line_options = join( " ", @ARGV ); > > GetOptions( >- 'help|?' => \$help, >- 'man' => \$man, >- 'verbose' => \$verbose, >- 'host=s' => \$host, >- 'user=s' => \$user, >- 'pass=s' => \$pass, >- 'upload_dir=s' => \$upload_dir, >- 'port=s' => \$port, >- 'file=s' => \$file, >- 'email=s' => \$email, >+ 'help|?' => \$help, >+ 'm|man' => \$man, >+ 'v|verbose' => \$verbose, >+ 'h|host=s' => \$host, >+ 'u|user=s' => \$user, >+ 'p|pass=s' => \$pass, >+ 'd|upload_dir=s' => \$upload_dir, >+ 'port=s' => \$port, >+ 'f|file=s' => \$file, >+ 'e|email=s' => \$email, > ) or pod2usage(2); > pod2usage( -verbose => 2 ) if ($man); > pod2usage( -verbose => 2 ) if ( $help and $verbose ); >-- >2.39.5 (Apple Git-154)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36766
:
166085
|
166089
|
166471
|
166859
|
172151
|
172152
|
172153
|
172154
|
172161
|
172162
|
172163
|
172164
|
172176
|
172177
|
172178
|
172179
| 172180 |
172181
|
173596