ftp_paradise 1.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ftp_paradise might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/README.md +309 -0
- data/bin/create_remote_directory +9 -0
- data/bin/ftp_get +17 -0
- data/bin/ftp_upload +42 -0
- data/bin/ftp_upload_binary +18 -0
- data/bin/iftp +7 -0
- data/bin/remote_remove +28 -0
- data/doc/README.gen +292 -0
- data/doc/TODO_FOR_FTP_PARADISE_PROJECT.md +79 -0
- data/ftp_paradise.gemspec +114 -0
- data/lib/ftp_paradise.rb +5 -0
- data/lib/ftp_paradise/base/cliner.rb +21 -0
- data/lib/ftp_paradise/base/colours.rb +83 -0
- data/lib/ftp_paradise/base/prototype.rb +169 -0
- data/lib/ftp_paradise/base/reset.rb +29 -0
- data/lib/ftp_paradise/colours/colours.rb +141 -0
- data/lib/ftp_paradise/colours/use_colours.rb +74 -0
- data/lib/ftp_paradise/configuration/configuration.rb +49 -0
- data/lib/ftp_paradise/connection/README.md +1 -0
- data/lib/ftp_paradise/connection/connection.rb +35 -0
- data/lib/ftp_paradise/connection/constants.rb +46 -0
- data/lib/ftp_paradise/connection/data.rb +148 -0
- data/lib/ftp_paradise/connection/debug.rb +80 -0
- data/lib/ftp_paradise/connection/directory_handling.rb +271 -0
- data/lib/ftp_paradise/connection/do_login.rb +108 -0
- data/lib/ftp_paradise/connection/download.rb +86 -0
- data/lib/ftp_paradise/connection/file_handling.rb +172 -0
- data/lib/ftp_paradise/connection/ftp_object.rb +21 -0
- data/lib/ftp_paradise/connection/initialize.rb +86 -0
- data/lib/ftp_paradise/connection/initialize_a_new_net_ftp_object_with_this_url.rb +20 -0
- data/lib/ftp_paradise/connection/is_connected.rb +46 -0
- data/lib/ftp_paradise/connection/misc.rb +472 -0
- data/lib/ftp_paradise/connection/notify.rb +71 -0
- data/lib/ftp_paradise/connection/password.rb +47 -0
- data/lib/ftp_paradise/connection/port.rb +33 -0
- data/lib/ftp_paradise/connection/remote_pwd.rb +72 -0
- data/lib/ftp_paradise/connection/remote_url.rb +163 -0
- data/lib/ftp_paradise/connection/remove.rb +143 -0
- data/lib/ftp_paradise/connection/reset.rb +75 -0
- data/lib/ftp_paradise/connection/run.rb +18 -0
- data/lib/ftp_paradise/connection/set_array_available_hosts.rb +27 -0
- data/lib/ftp_paradise/connection/set_input.rb +18 -0
- data/lib/ftp_paradise/connection/show.rb +153 -0
- data/lib/ftp_paradise/connection/sync_ftp_object_onto_the_main_namespace.rb +24 -0
- data/lib/ftp_paradise/connection/transfer_mode.rb +162 -0
- data/lib/ftp_paradise/connection/upload.rb +253 -0
- data/lib/ftp_paradise/connection/use_default_dataset.rb +41 -0
- data/lib/ftp_paradise/connection/username.rb +42 -0
- data/lib/ftp_paradise/constants/constants.rb +19 -0
- data/lib/ftp_paradise/constants/misc.rb +57 -0
- data/lib/ftp_paradise/constants/namespace.rb +14 -0
- data/lib/ftp_paradise/constants/newline.rb +14 -0
- data/lib/ftp_paradise/constants/roebe.rb +27 -0
- data/lib/ftp_paradise/constants/roebe_ftp_constants.rb +219 -0
- data/lib/ftp_paradise/entry/entry.rb +293 -0
- data/lib/ftp_paradise/gui/gtk/constants.rb +58 -0
- data/lib/ftp_paradise/gui/gtk/ftp_bindings.rb +1149 -0
- data/lib/ftp_paradise/interactive_ftp/constants.rb +103 -0
- data/lib/ftp_paradise/interactive_ftp/directory_handling.rb +215 -0
- data/lib/ftp_paradise/interactive_ftp/help.rb +50 -0
- data/lib/ftp_paradise/interactive_ftp/initialize.rb +27 -0
- data/lib/ftp_paradise/interactive_ftp/interactive_ftp.rb +995 -0
- data/lib/ftp_paradise/interactive_ftp/main_loop.rb +50 -0
- data/lib/ftp_paradise/interactive_ftp/menu.rb +788 -0
- data/lib/ftp_paradise/interactive_ftp/misc.rb +208 -0
- data/lib/ftp_paradise/interactive_ftp/mode.rb +124 -0
- data/lib/ftp_paradise/interactive_ftp/readline.rb +115 -0
- data/lib/ftp_paradise/interactive_ftp/remove.rb +97 -0
- data/lib/ftp_paradise/interactive_ftp/reset.rb +90 -0
- data/lib/ftp_paradise/interactive_ftp/run.rb +22 -0
- data/lib/ftp_paradise/interactive_ftp/show.rb +184 -0
- data/lib/ftp_paradise/interactive_ftp/upload.rb +90 -0
- data/lib/ftp_paradise/interactive_ftp/user_input.rb +53 -0
- data/lib/ftp_paradise/project/project.rb +62 -0
- data/lib/ftp_paradise/requires/common_basic_requires.rb +13 -0
- data/lib/ftp_paradise/requires/common_external_requires.rb +9 -0
- data/lib/ftp_paradise/requires/require_the_constants.rb +7 -0
- data/lib/ftp_paradise/requires/require_the_ftp_paradise_project.rb +18 -0
- data/lib/ftp_paradise/requires/require_the_ftp_paradise_project_with_the_GUI_bindings.rb +10 -0
- data/lib/ftp_paradise/requires/require_the_toplevel_methods.rb +24 -0
- data/lib/ftp_paradise/toplevel_methods/can_connect_to_remote_site.rb +29 -0
- data/lib/ftp_paradise/toplevel_methods/clear_user_dataset.rb +28 -0
- data/lib/ftp_paradise/toplevel_methods/connect.rb +49 -0
- data/lib/ftp_paradise/toplevel_methods/create_file.rb +18 -0
- data/lib/ftp_paradise/toplevel_methods/data.rb +31 -0
- data/lib/ftp_paradise/toplevel_methods/delete.rb +23 -0
- data/lib/ftp_paradise/toplevel_methods/determine_user_dataset_from_this_hash.rb +37 -0
- data/lib/ftp_paradise/toplevel_methods/e.rb +16 -0
- data/lib/ftp_paradise/toplevel_methods/ftp_object.rb +270 -0
- data/lib/ftp_paradise/toplevel_methods/get_files.rb +24 -0
- data/lib/ftp_paradise/toplevel_methods/is_directory.rb +33 -0
- data/lib/ftp_paradise/toplevel_methods/is_on_roebe.rb +20 -0
- data/lib/ftp_paradise/toplevel_methods/login_name.rb +49 -0
- data/lib/ftp_paradise/toplevel_methods/opn.rb +24 -0
- data/lib/ftp_paradise/toplevel_methods/password.rb +48 -0
- data/lib/ftp_paradise/toplevel_methods/port.rb +41 -0
- data/lib/ftp_paradise/toplevel_methods/rds.rb +18 -0
- data/lib/ftp_paradise/toplevel_methods/remote_url.rb +57 -0
- data/lib/ftp_paradise/toplevel_methods/time.rb +45 -0
- data/lib/ftp_paradise/toplevel_methods/upload.rb +29 -0
- data/lib/ftp_paradise/toplevel_methods/upload_this_binary_file.rb +58 -0
- data/lib/ftp_paradise/version/version.rb +19 -0
- data/lib/ftp_paradise/www/public/css/style.css +3 -0
- data/lib/ftp_paradise/www/sinatra_web_interface.rb +242 -0
- data/lib/ftp_paradise/www/views/index.slim +3 -0
- data/lib/ftp_paradise/www/views/layout.slim +11 -0
- data/lib/ftp_paradise/www/web_interface.cgi +35 -0
- data/lib/ftp_paradise/yaml/automatically_connect_on_startup_of_the_interactive_ftp_shell.yml +1 -0
- data/lib/ftp_paradise/yaml/debug.yml +1 -0
- data/lib/ftp_paradise/yaml/open_in_default_editor.yml +1 -0
- data/lib/ftp_paradise/yaml/show_full_names.yml +1 -0
- data/lib/ftp_paradise/yaml/use_colours.yml +1 -0
- data/test/testing_ftp_paradise.rb +94 -0
- data/test/testing_minimal_pure_net_ftp_example_to_connect.rb +28 -0
- data/test/testing_the_ftp_connection_component.rb +70 -0
- data/test/testing_upload_a_local_directory.rb +10 -0
- metadata +315 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
#!/usr/bin/ruby -w
|
|
2
|
+
# Encoding: UTF-8
|
|
3
|
+
# frozen_string_literal: true
|
|
4
|
+
# =========================================================================== #
|
|
5
|
+
require 'colours/colours_e_autoinclude.rb'
|
|
6
|
+
require 'cliner/autoinclude'
|
|
7
|
+
require 'verbose_truth'
|
|
8
|
+
require 'ftp_paradise'
|
|
9
|
+
|
|
10
|
+
e 'Now testing the component '+sfancy('ftp_paradise')+'.'
|
|
11
|
+
|
|
12
|
+
_ = FtpParadise::Connection.new(:dont_run_yet) { :use_default_dataset }
|
|
13
|
+
|
|
14
|
+
e
|
|
15
|
+
e 'The following Hash should have some data:'
|
|
16
|
+
e
|
|
17
|
+
pp FtpParadise.dataset?
|
|
18
|
+
e
|
|
19
|
+
e '(This should have already connected to the remote URL.)'
|
|
20
|
+
e
|
|
21
|
+
e 'Next, showing whether we are connected to the remote host: '+
|
|
22
|
+
slateblue(VerboseTruth[_.are_we_connected?])
|
|
23
|
+
e
|
|
24
|
+
e 'We will issue the method .nlst? next:'
|
|
25
|
+
e
|
|
26
|
+
pp _.nlst?
|
|
27
|
+
e
|
|
28
|
+
e
|
|
29
|
+
e 'Next, show a listing via .list() on the ftp-object:'
|
|
30
|
+
e
|
|
31
|
+
pp _.list?
|
|
32
|
+
|
|
33
|
+
e
|
|
34
|
+
e 'We will cd on the remote host next, into htdocs:'
|
|
35
|
+
e
|
|
36
|
+
e _.pwd
|
|
37
|
+
_.rcd 'htdocs'
|
|
38
|
+
e _.pwd
|
|
39
|
+
e
|
|
40
|
+
e 'HMM'
|
|
41
|
+
e
|
|
42
|
+
e 'And get a file-listing (in two different ways):'
|
|
43
|
+
e
|
|
44
|
+
pp _.list?
|
|
45
|
+
e
|
|
46
|
+
e "Listing all #{Colours.lightgreen('remote files')} next:"
|
|
47
|
+
e
|
|
48
|
+
pp _.return_all_remote_files
|
|
49
|
+
e
|
|
50
|
+
e 'Uploading a file; then showing the remote files, before this file is removed again:'
|
|
51
|
+
e
|
|
52
|
+
_.upload_this_file '/Depot/j/test.txt'
|
|
53
|
+
pp _.return_all_remote_files
|
|
54
|
+
_.remove_remote_file '/Depot/j/test.txt'
|
|
55
|
+
pp _.return_all_remote_files
|
|
56
|
+
pp _.pwd
|
|
57
|
+
_.do_list_content
|
|
58
|
+
cliner
|
|
59
|
+
e 'Next showing all remote directories:'
|
|
60
|
+
e
|
|
61
|
+
pp _.return_remote_directories
|
|
62
|
+
e
|
|
63
|
+
_.rcd '..'
|
|
64
|
+
e 'Showing the remote directory listing:'
|
|
65
|
+
e
|
|
66
|
+
_.show_remote_directory_listing
|
|
67
|
+
e
|
|
68
|
+
pp _.file_listing_as_entries?
|
|
69
|
+
cliner
|
|
70
|
+
_.show_file_listing
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/ruby -w
|
|
2
|
+
# Encoding: UTF-8
|
|
3
|
+
# frozen_string_literal: true
|
|
4
|
+
# =========================================================================== #
|
|
5
|
+
require 'ftp_paradise'
|
|
6
|
+
require 'colours/colours_e_autoinclude.rb'
|
|
7
|
+
|
|
8
|
+
e 'Now testing uploading a local directory.'
|
|
9
|
+
_ = FtpParadise::Connection.new { :use_default_dataset }
|
|
10
|
+
_.upload_this_directory('/Depot/jj/')
|
metadata
ADDED
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: ftp_paradise
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.3.8
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Robert A. Heiler
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2020-10-14 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: cliner
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: colours
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: convert_global_env
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: rcfiles
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - ">="
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
62
|
+
type: :runtime
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: opn
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: verbose_truth
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - ">="
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '0'
|
|
90
|
+
type: :runtime
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - ">="
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '0'
|
|
97
|
+
description: "\nThis project aims to provide some convenience bindings and addon-classes\nfor
|
|
98
|
+
the Ruby-FTP base module.\n\nPlease be aware that since as of the year 2020, this
|
|
99
|
+
project is in a\nlow-effort maintenance mode only. Bug fixes are welcome as are
|
|
100
|
+
usability\nimprovements and improvements made to the documentation - but do not\nexpect
|
|
101
|
+
this project to be very actively maintained anymore. Its peak\ndays were from 2010
|
|
102
|
+
to 2014 or so; since then I have found fewer use\ncases for the project, but I will
|
|
103
|
+
maintain it nonetheless. \n\nFor more information about this project, please have
|
|
104
|
+
a look at the\nonline documentation at https://www.rubydoc.info/gems/ftp_paradise/
|
|
105
|
+
or\nwithin the doc/ subdirectory of this gem.\n\n"
|
|
106
|
+
email: shevegen@gmail.com
|
|
107
|
+
executables:
|
|
108
|
+
- ftp_upload_binary
|
|
109
|
+
- create_remote_directory
|
|
110
|
+
- ftp_upload
|
|
111
|
+
- remote_remove
|
|
112
|
+
- iftp
|
|
113
|
+
- ftp_get
|
|
114
|
+
extensions: []
|
|
115
|
+
extra_rdoc_files: []
|
|
116
|
+
files:
|
|
117
|
+
- README.md
|
|
118
|
+
- bin/create_remote_directory
|
|
119
|
+
- bin/ftp_get
|
|
120
|
+
- bin/ftp_upload
|
|
121
|
+
- bin/ftp_upload_binary
|
|
122
|
+
- bin/iftp
|
|
123
|
+
- bin/remote_remove
|
|
124
|
+
- doc/README.gen
|
|
125
|
+
- doc/TODO_FOR_FTP_PARADISE_PROJECT.md
|
|
126
|
+
- ftp_paradise.gemspec
|
|
127
|
+
- lib/ftp_paradise.rb
|
|
128
|
+
- lib/ftp_paradise/base/cliner.rb
|
|
129
|
+
- lib/ftp_paradise/base/colours.rb
|
|
130
|
+
- lib/ftp_paradise/base/prototype.rb
|
|
131
|
+
- lib/ftp_paradise/base/reset.rb
|
|
132
|
+
- lib/ftp_paradise/colours/colours.rb
|
|
133
|
+
- lib/ftp_paradise/colours/use_colours.rb
|
|
134
|
+
- lib/ftp_paradise/configuration/configuration.rb
|
|
135
|
+
- lib/ftp_paradise/connection/README.md
|
|
136
|
+
- lib/ftp_paradise/connection/connection.rb
|
|
137
|
+
- lib/ftp_paradise/connection/constants.rb
|
|
138
|
+
- lib/ftp_paradise/connection/data.rb
|
|
139
|
+
- lib/ftp_paradise/connection/debug.rb
|
|
140
|
+
- lib/ftp_paradise/connection/directory_handling.rb
|
|
141
|
+
- lib/ftp_paradise/connection/do_login.rb
|
|
142
|
+
- lib/ftp_paradise/connection/download.rb
|
|
143
|
+
- lib/ftp_paradise/connection/file_handling.rb
|
|
144
|
+
- lib/ftp_paradise/connection/ftp_object.rb
|
|
145
|
+
- lib/ftp_paradise/connection/initialize.rb
|
|
146
|
+
- lib/ftp_paradise/connection/initialize_a_new_net_ftp_object_with_this_url.rb
|
|
147
|
+
- lib/ftp_paradise/connection/is_connected.rb
|
|
148
|
+
- lib/ftp_paradise/connection/misc.rb
|
|
149
|
+
- lib/ftp_paradise/connection/notify.rb
|
|
150
|
+
- lib/ftp_paradise/connection/password.rb
|
|
151
|
+
- lib/ftp_paradise/connection/port.rb
|
|
152
|
+
- lib/ftp_paradise/connection/remote_pwd.rb
|
|
153
|
+
- lib/ftp_paradise/connection/remote_url.rb
|
|
154
|
+
- lib/ftp_paradise/connection/remove.rb
|
|
155
|
+
- lib/ftp_paradise/connection/reset.rb
|
|
156
|
+
- lib/ftp_paradise/connection/run.rb
|
|
157
|
+
- lib/ftp_paradise/connection/set_array_available_hosts.rb
|
|
158
|
+
- lib/ftp_paradise/connection/set_input.rb
|
|
159
|
+
- lib/ftp_paradise/connection/show.rb
|
|
160
|
+
- lib/ftp_paradise/connection/sync_ftp_object_onto_the_main_namespace.rb
|
|
161
|
+
- lib/ftp_paradise/connection/transfer_mode.rb
|
|
162
|
+
- lib/ftp_paradise/connection/upload.rb
|
|
163
|
+
- lib/ftp_paradise/connection/use_default_dataset.rb
|
|
164
|
+
- lib/ftp_paradise/connection/username.rb
|
|
165
|
+
- lib/ftp_paradise/constants/constants.rb
|
|
166
|
+
- lib/ftp_paradise/constants/misc.rb
|
|
167
|
+
- lib/ftp_paradise/constants/namespace.rb
|
|
168
|
+
- lib/ftp_paradise/constants/newline.rb
|
|
169
|
+
- lib/ftp_paradise/constants/roebe.rb
|
|
170
|
+
- lib/ftp_paradise/constants/roebe_ftp_constants.rb
|
|
171
|
+
- lib/ftp_paradise/entry/entry.rb
|
|
172
|
+
- lib/ftp_paradise/gui/gtk/constants.rb
|
|
173
|
+
- lib/ftp_paradise/gui/gtk/ftp_bindings.rb
|
|
174
|
+
- lib/ftp_paradise/interactive_ftp/constants.rb
|
|
175
|
+
- lib/ftp_paradise/interactive_ftp/directory_handling.rb
|
|
176
|
+
- lib/ftp_paradise/interactive_ftp/help.rb
|
|
177
|
+
- lib/ftp_paradise/interactive_ftp/initialize.rb
|
|
178
|
+
- lib/ftp_paradise/interactive_ftp/interactive_ftp.rb
|
|
179
|
+
- lib/ftp_paradise/interactive_ftp/main_loop.rb
|
|
180
|
+
- lib/ftp_paradise/interactive_ftp/menu.rb
|
|
181
|
+
- lib/ftp_paradise/interactive_ftp/misc.rb
|
|
182
|
+
- lib/ftp_paradise/interactive_ftp/mode.rb
|
|
183
|
+
- lib/ftp_paradise/interactive_ftp/readline.rb
|
|
184
|
+
- lib/ftp_paradise/interactive_ftp/remove.rb
|
|
185
|
+
- lib/ftp_paradise/interactive_ftp/reset.rb
|
|
186
|
+
- lib/ftp_paradise/interactive_ftp/run.rb
|
|
187
|
+
- lib/ftp_paradise/interactive_ftp/show.rb
|
|
188
|
+
- lib/ftp_paradise/interactive_ftp/upload.rb
|
|
189
|
+
- lib/ftp_paradise/interactive_ftp/user_input.rb
|
|
190
|
+
- lib/ftp_paradise/project/project.rb
|
|
191
|
+
- lib/ftp_paradise/requires/common_basic_requires.rb
|
|
192
|
+
- lib/ftp_paradise/requires/common_external_requires.rb
|
|
193
|
+
- lib/ftp_paradise/requires/require_the_constants.rb
|
|
194
|
+
- lib/ftp_paradise/requires/require_the_ftp_paradise_project.rb
|
|
195
|
+
- lib/ftp_paradise/requires/require_the_ftp_paradise_project_with_the_GUI_bindings.rb
|
|
196
|
+
- lib/ftp_paradise/requires/require_the_toplevel_methods.rb
|
|
197
|
+
- lib/ftp_paradise/toplevel_methods/can_connect_to_remote_site.rb
|
|
198
|
+
- lib/ftp_paradise/toplevel_methods/clear_user_dataset.rb
|
|
199
|
+
- lib/ftp_paradise/toplevel_methods/connect.rb
|
|
200
|
+
- lib/ftp_paradise/toplevel_methods/create_file.rb
|
|
201
|
+
- lib/ftp_paradise/toplevel_methods/data.rb
|
|
202
|
+
- lib/ftp_paradise/toplevel_methods/delete.rb
|
|
203
|
+
- lib/ftp_paradise/toplevel_methods/determine_user_dataset_from_this_hash.rb
|
|
204
|
+
- lib/ftp_paradise/toplevel_methods/e.rb
|
|
205
|
+
- lib/ftp_paradise/toplevel_methods/ftp_object.rb
|
|
206
|
+
- lib/ftp_paradise/toplevel_methods/get_files.rb
|
|
207
|
+
- lib/ftp_paradise/toplevel_methods/is_directory.rb
|
|
208
|
+
- lib/ftp_paradise/toplevel_methods/is_on_roebe.rb
|
|
209
|
+
- lib/ftp_paradise/toplevel_methods/login_name.rb
|
|
210
|
+
- lib/ftp_paradise/toplevel_methods/opn.rb
|
|
211
|
+
- lib/ftp_paradise/toplevel_methods/password.rb
|
|
212
|
+
- lib/ftp_paradise/toplevel_methods/port.rb
|
|
213
|
+
- lib/ftp_paradise/toplevel_methods/rds.rb
|
|
214
|
+
- lib/ftp_paradise/toplevel_methods/remote_url.rb
|
|
215
|
+
- lib/ftp_paradise/toplevel_methods/time.rb
|
|
216
|
+
- lib/ftp_paradise/toplevel_methods/upload.rb
|
|
217
|
+
- lib/ftp_paradise/toplevel_methods/upload_this_binary_file.rb
|
|
218
|
+
- lib/ftp_paradise/version/version.rb
|
|
219
|
+
- lib/ftp_paradise/www/public/css/style.css
|
|
220
|
+
- lib/ftp_paradise/www/sinatra_web_interface.rb
|
|
221
|
+
- lib/ftp_paradise/www/views/index.slim
|
|
222
|
+
- lib/ftp_paradise/www/views/layout.slim
|
|
223
|
+
- lib/ftp_paradise/www/web_interface.cgi
|
|
224
|
+
- lib/ftp_paradise/yaml/automatically_connect_on_startup_of_the_interactive_ftp_shell.yml
|
|
225
|
+
- lib/ftp_paradise/yaml/debug.yml
|
|
226
|
+
- lib/ftp_paradise/yaml/open_in_default_editor.yml
|
|
227
|
+
- lib/ftp_paradise/yaml/show_full_names.yml
|
|
228
|
+
- lib/ftp_paradise/yaml/use_colours.yml
|
|
229
|
+
- test/testing_ftp_paradise.rb
|
|
230
|
+
- test/testing_minimal_pure_net_ftp_example_to_connect.rb
|
|
231
|
+
- test/testing_the_ftp_connection_component.rb
|
|
232
|
+
- test/testing_upload_a_local_directory.rb
|
|
233
|
+
homepage: http://rubygems.org/gems/ftp_paradise
|
|
234
|
+
licenses:
|
|
235
|
+
- GPL-2.0
|
|
236
|
+
metadata: {}
|
|
237
|
+
post_install_message: |2+
|
|
238
|
+
|
|
239
|
+
The interactive file, which can be started by typing "iftp",
|
|
240
|
+
requires a library called configuration.
|
|
241
|
+
|
|
242
|
+
This is NOT the one available at rubygems.org - but instead can
|
|
243
|
+
be downloaded here:
|
|
244
|
+
|
|
245
|
+
wget http://shevegen.bplaced.net/configuration-1.0.21.gem
|
|
246
|
+
|
|
247
|
+
Please install only the above configuration-gem variant, not the
|
|
248
|
+
other gem called "configuration". (You can extract the gem and
|
|
249
|
+
look at it before you install it of course. Its sole purpose
|
|
250
|
+
is to read in a bunch of .yml yaml files to provide a proper
|
|
251
|
+
base configuration for a project.)
|
|
252
|
+
|
|
253
|
+
If you wish to start the interactive FTP, the file can be
|
|
254
|
+
found at:
|
|
255
|
+
|
|
256
|
+
bin/iftp
|
|
257
|
+
|
|
258
|
+
And should on most Linux systems end up on:
|
|
259
|
+
|
|
260
|
+
/usr/bin/iftp
|
|
261
|
+
|
|
262
|
+
if the --prefix is at /usr (obviously, if you install into
|
|
263
|
+
your home directory, then it will be at another location;
|
|
264
|
+
rubygems should take care of this).
|
|
265
|
+
|
|
266
|
+
So just typing "iftp" should suffice to start the interactive FTP
|
|
267
|
+
component, but keep in mind that you need to download the
|
|
268
|
+
configuration gem listed above first.
|
|
269
|
+
|
|
270
|
+
You can disable the colour-section of the interactive FTP
|
|
271
|
+
by issuing:
|
|
272
|
+
|
|
273
|
+
iftp --disable-colours
|
|
274
|
+
|
|
275
|
+
You can also batch-upload some scripts through the command
|
|
276
|
+
called:
|
|
277
|
+
|
|
278
|
+
ftp_upload
|
|
279
|
+
|
|
280
|
+
ftp_upload --help should give you some information on how
|
|
281
|
+
to use it.
|
|
282
|
+
|
|
283
|
+
Consider installing the "roebe" gem for making "Configuration"
|
|
284
|
+
available.
|
|
285
|
+
|
|
286
|
+
Thank you and have fun!
|
|
287
|
+
|
|
288
|
+
rdoc_options: []
|
|
289
|
+
require_paths:
|
|
290
|
+
- lib
|
|
291
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
292
|
+
requirements:
|
|
293
|
+
- - ">="
|
|
294
|
+
- !ruby/object:Gem::Version
|
|
295
|
+
version: 2.7.2
|
|
296
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
297
|
+
requirements:
|
|
298
|
+
- - ">="
|
|
299
|
+
- !ruby/object:Gem::Version
|
|
300
|
+
version: 3.1.4
|
|
301
|
+
requirements: []
|
|
302
|
+
rubygems_version: 3.1.4
|
|
303
|
+
signing_key:
|
|
304
|
+
specification_version: 4
|
|
305
|
+
summary: This project aims to provide some convenience bindings and addon-classes
|
|
306
|
+
for the Ruby-FTP base module. Please be aware that since as of the year 2020, this
|
|
307
|
+
project is in a low-effort maintenance mode only. Bug fixes are welcome as are usability
|
|
308
|
+
improvements and improvements made to the documentation - but do not expect this
|
|
309
|
+
project to be very actively maintained anymore. Its peak days were from 2010 to
|
|
310
|
+
2014 or so; since then I have found fewer use cases for the project, but I will
|
|
311
|
+
maintain it nonetheless. For more information about this project, please have
|
|
312
|
+
a look at the online documentation at https://www.rubydoc.info/gems/ftp_paradise/
|
|
313
|
+
or within the doc/ subdirectory of this gem.
|
|
314
|
+
test_files: []
|
|
315
|
+
...
|