net-sftp 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/faq/faq.html +32 -32
- data/lib/net/sftp.rb +6 -0
- data/lib/net/sftp/session.rb +1 -0
- data/lib/net/sftp/version.rb +1 -1
- data/test/ALL-TESTS.rb +2 -0
- metadata +158 -144
data/doc/faq/faq.html
CHANGED
@@ -60,56 +60,56 @@
|
|
60
60
|
<h1>Net::SFTP FAQ</h1>
|
61
61
|
<div class="faq-list">
|
62
62
|
<ul>
|
63
|
-
<li><a href='#
|
63
|
+
<li><a href='#3145900'>What is Net::SFTP?</a></li>
|
64
64
|
<li>How do I…
|
65
65
|
<ul>
|
66
66
|
<li>...connect to an <span class="caps">SFTP</span> server?
|
67
67
|
<ul>
|
68
|
-
<li><a href='#
|
69
|
-
<li><a href='#
|
68
|
+
<li><a href='#3145750'>I’d like to connect without first getting a Net::SSH connection…</a></li>
|
69
|
+
<li><a href='#3145670'>I already have an open Net::SSH connection…</a></li>
|
70
70
|
</ul>
|
71
71
|
</li>
|
72
72
|
<li>...upload data?
|
73
73
|
<ul>
|
74
|
-
<li><a href='#
|
75
|
-
<li><a href='#
|
74
|
+
<li><a href='#3145440'>I want to upload an entire file on disk…</a></li>
|
75
|
+
<li><a href='#3145310'>I want to upload bytes from a string or other object…</a></li>
|
76
76
|
</ul>
|
77
77
|
</li>
|
78
78
|
<li>...download data?
|
79
79
|
<ul>
|
80
|
-
<li><a href='#
|
81
|
-
<li><a href='#
|
82
|
-
<li><a href='#
|
80
|
+
<li><a href='#3145130'>I want to download directly to a local file…</a></li>
|
81
|
+
<li><a href='#3142470'>I want to download to a string in memory…</a></li>
|
82
|
+
<li><a href='#3142380'>I want to be notified of the progress of the download…</a></li>
|
83
83
|
</ul>
|
84
84
|
</li>
|
85
85
|
<li>...manage file permissions?
|
86
86
|
<ul>
|
87
|
-
<li><a href='#
|
88
|
-
<li><a href='#
|
89
|
-
<li><a href='#
|
87
|
+
<li><a href='#3142190'>I want to query a file’s permissions…</a></li>
|
88
|
+
<li><a href='#3142110'>I want to change a file’s permissions…</a></li>
|
89
|
+
<li><a href='#3142040'>I already have an open handle for the remote file…</a></li>
|
90
90
|
</ul>
|
91
91
|
</li>
|
92
92
|
<li>...manage directories?
|
93
93
|
<ul>
|
94
|
-
<li><a href='#
|
95
|
-
<li><a href='#
|
96
|
-
<li><a href='#
|
94
|
+
<li><a href='#3141850'>I want to query the contents of a directory…</a></li>
|
95
|
+
<li><a href='#3141770'>I want to create a directory…</a></li>
|
96
|
+
<li><a href='#3141690'>I want to remove a directory…</a></li>
|
97
97
|
</ul>
|
98
98
|
</li>
|
99
|
-
<li><a href='#
|
100
|
-
<li><a href='#
|
99
|
+
<li><a href='#3141560'>...delete a file?</a></li>
|
100
|
+
<li><a href='#3141480'>...rename a file?</a></li>
|
101
101
|
</ul>
|
102
102
|
</li>
|
103
103
|
</ul>
|
104
104
|
</div>
|
105
|
-
<a name='
|
105
|
+
<a name='3145900'></a>
|
106
106
|
<div class='faq-title'>What is Net::SFTP?</div>
|
107
107
|
<div class='faq-answer'><p>Net::SFTP is a pure-Ruby implementation of the <span class="caps">SFTP</span> protocol. That’s
|
108
108
|
“SFTP” as in “Secure File Transfer Protocol”, as defined as an adjuct to the
|
109
109
|
<span class="caps">SSH</span> specification. <em>Not</em> “SFTP” as in “Secure <span class="caps">FTP</span>” (a <em>completely</em> different
|
110
110
|
beast). Nor is it an implementation of the “Simple File Transfer Protocol”
|
111
111
|
(which is in no way secure).</p></div>
|
112
|
-
<a name='
|
112
|
+
<a name='3145750'></a>
|
113
113
|
<div class='faq-title'>How do I… ...connect to an <span class="caps">SFTP</span> server? I’d like to connect without first getting a Net::SSH connection…</div>
|
114
114
|
<div class='faq-answer'><p>Something like this:</p>
|
115
115
|
|
@@ -124,7 +124,7 @@ beast). Nor is it an implementation of the “Simple File Transfer Protocol&
|
|
124
124
|
|
125
125
|
<p><code>Net::SFTP.start</code> accepts the same parameters as <code>Net::SSH.start</code>,
|
126
126
|
so I’ll direct you to that documentation for all the particulars.</p></div>
|
127
|
-
<a name='
|
127
|
+
<a name='3145670'></a>
|
128
128
|
<div class='faq-title'>How do I… ...connect to an <span class="caps">SFTP</span> server? I already have an open Net::SSH connection…</div>
|
129
129
|
<div class='faq-answer'><p>You can piggy-back an <span class="caps">SFTP</span> connection on an existing Net::SSH
|
130
130
|
connection, which can be useful if you’ve already got an <span class="caps">SSH</span>
|
@@ -143,7 +143,7 @@ connection that you’re using for port forwarding or whatever.</p>
|
|
143
143
|
...
|
144
144
|
end
|
145
145
|
</pre></code></div>
|
146
|
-
<a name='
|
146
|
+
<a name='3145440'></a>
|
147
147
|
<div class='faq-title'>How do I… ...upload data? I want to upload an entire file on disk…</div>
|
148
148
|
<div class='faq-answer'><p>Assuming you already have an <span class="caps">SFTP</span> connection:</p>
|
149
149
|
|
@@ -151,7 +151,7 @@ connection that you’re using for port forwarding or whatever.</p>
|
|
151
151
|
<code><pre>
|
152
152
|
sftp.put_file "/path/to/local.file", "/path/to/remote.file"
|
153
153
|
</pre></code></div>
|
154
|
-
<a name='
|
154
|
+
<a name='3145310'></a>
|
155
155
|
<div class='faq-title'>How do I… ...upload data? I want to upload bytes from a string or other object…</div>
|
156
156
|
<div class='faq-answer'><p>Assuming you already have an <span class="caps">SFTP</span> connection, and your data is stored
|
157
157
|
in a string named <code>data</code>:</p>
|
@@ -174,7 +174,7 @@ without, but be sure to call <code>close_handle</code> when you’re done:</
|
|
174
174
|
puts result.code # the result of the operation
|
175
175
|
sftp.close_handle(handle)
|
176
176
|
</pre></code></div>
|
177
|
-
<a name='
|
177
|
+
<a name='3145130'></a>
|
178
178
|
<div class='faq-title'>How do I… ...download data? I want to download directly to a local file…</div>
|
179
179
|
<div class='faq-answer'><p>Assuming you already have an <span class="caps">SFTP</span> connection:</p>
|
180
180
|
|
@@ -182,7 +182,7 @@ without, but be sure to call <code>close_handle</code> when you’re done:</
|
|
182
182
|
<code><pre>
|
183
183
|
sftp.get_file "/path/to/remote.file", "/path/to/local.file"
|
184
184
|
</pre></code></div>
|
185
|
-
<a name='
|
185
|
+
<a name='3142470'></a>
|
186
186
|
<div class='faq-title'>How do I… ...download data? I want to download to a string in memory…</div>
|
187
187
|
<div class='faq-answer'><p>Assuming you already have an <span class="caps">SFTP</span> connection:</p>
|
188
188
|
|
@@ -193,7 +193,7 @@ without, but be sure to call <code>close_handle</code> when you’re done:</
|
|
193
193
|
data = sftp.read(handle)
|
194
194
|
end
|
195
195
|
</pre></code></div>
|
196
|
-
<a name='
|
196
|
+
<a name='3142380'></a>
|
197
197
|
<div class='faq-title'>How do I… ...download data? I want to be notified of the progress of the download…</div>
|
198
198
|
<div class='faq-answer'><p>You can specify both a “chunk size” and a “progress callback”. The
|
199
199
|
callback will be invoked for every “chunk size” bytes that are
|
@@ -212,7 +212,7 @@ received:</p>
|
|
212
212
|
end
|
213
213
|
end
|
214
214
|
</pre></code></div>
|
215
|
-
<a name='
|
215
|
+
<a name='3142190'></a>
|
216
216
|
<div class='faq-title'>How do I… ...manage file permissions? I want to query a file’s permissions…</div>
|
217
217
|
<div class='faq-answer'><p>File permissions are one of the <code>stat</code> attributes of files and
|
218
218
|
directories:</p>
|
@@ -221,7 +221,7 @@ directories:</p>
|
|
221
221
|
<code><pre>
|
222
222
|
p sftp.stat("/path/to/remote.file").permissions
|
223
223
|
</pre></code></div>
|
224
|
-
<a name='
|
224
|
+
<a name='3142110'></a>
|
225
225
|
<div class='faq-title'>How do I… ...manage file permissions? I want to change a file’s permissions…</div>
|
226
226
|
<div class='faq-answer'><p>Just use <code>setstat</code> to change the permissions of an existing file:</p>
|
227
227
|
|
@@ -229,7 +229,7 @@ directories:</p>
|
|
229
229
|
<code><pre>
|
230
230
|
sftp.setstat("/path/to/remote.file", :permissions => 0644)
|
231
231
|
</pre></code></div>
|
232
|
-
<a name='
|
232
|
+
<a name='3142040'></a>
|
233
233
|
<div class='faq-title'>How do I… ...manage file permissions? I already have an open handle for the remote file…</div>
|
234
234
|
<div class='faq-answer'><p>If you have a handle for the remote file, you can use <code>fstat</code> and
|
235
235
|
<code>fsetstat</code> to query and set the permissions:</p>
|
@@ -241,7 +241,7 @@ directories:</p>
|
|
241
241
|
sftp.fsetstat(handle, :permissions => permissions | 0444)
|
242
242
|
end
|
243
243
|
</pre></code></div>
|
244
|
-
<a name='
|
244
|
+
<a name='3141850'></a>
|
245
245
|
<div class='faq-title'>How do I… ...manage directories? I want to query the contents of a directory…</div>
|
246
246
|
<div class='faq-answer'><p>You query the contents of a directory by calling <code>opendir</code> to obtain
|
247
247
|
a handle to the directory, and then using <code>readdir</code> on the handle to
|
@@ -259,7 +259,7 @@ you’re done:</p>
|
|
259
259
|
end
|
260
260
|
sftp.close_handle(handle)
|
261
261
|
</pre></code></div>
|
262
|
-
<a name='
|
262
|
+
<a name='3141770'></a>
|
263
263
|
<div class='faq-title'>How do I… ...manage directories? I want to create a directory…</div>
|
264
264
|
<div class='faq-answer'><p>Use <code>mkdir</code>:</p>
|
265
265
|
|
@@ -267,7 +267,7 @@ you’re done:</p>
|
|
267
267
|
<code><pre>
|
268
268
|
sftp.mkdir("/path/to/remote/dir", :permissions => 0500)
|
269
269
|
</pre></code></div>
|
270
|
-
<a name='
|
270
|
+
<a name='3141690'></a>
|
271
271
|
<div class='faq-title'>How do I… ...manage directories? I want to remove a directory…</div>
|
272
272
|
<div class='faq-answer'><p>Use <code>rmdir</code>:</p>
|
273
273
|
|
@@ -275,7 +275,7 @@ you’re done:</p>
|
|
275
275
|
<code><pre>
|
276
276
|
sftp.rmdir("/path/to/remote/dir")
|
277
277
|
</pre></code></div>
|
278
|
-
<a name='
|
278
|
+
<a name='3141560'></a>
|
279
279
|
<div class='faq-title'>How do I… ...delete a file?</div>
|
280
280
|
<div class='faq-answer'><p>Use <code>remove</code>:</p>
|
281
281
|
|
@@ -283,7 +283,7 @@ you’re done:</p>
|
|
283
283
|
<code><pre>
|
284
284
|
sftp.remove("/path/to/remote.file")
|
285
285
|
</pre></code></div>
|
286
|
-
<a name='
|
286
|
+
<a name='3141480'></a>
|
287
287
|
<div class='faq-title'>How do I… ...rename a file?</div>
|
288
288
|
<div class='faq-answer'><p>Use <code>rename</code>:</p>
|
289
289
|
|
data/lib/net/sftp.rb
CHANGED
data/lib/net/sftp/session.rb
CHANGED
data/lib/net/sftp/version.rb
CHANGED
data/test/ALL-TESTS.rb
CHANGED
metadata
CHANGED
@@ -1,154 +1,168 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.8.11
|
3
|
-
specification_version: 1
|
4
2
|
name: net-sftp
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.1.
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
- lib
|
11
|
-
email: jamis@jamisbuck.org
|
12
|
-
homepage: http://net-ssh.rubyforge.org/sftp
|
13
|
-
rubyforge_project:
|
14
|
-
description:
|
4
|
+
version: 1.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jamis Buck
|
15
8
|
autorequire: net/sftp
|
16
|
-
default_executable:
|
17
9
|
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-02-25 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: net-ssh
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.0
|
23
|
+
- - <
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: 1.99.0
|
26
|
+
version:
|
27
|
+
description:
|
28
|
+
email: jamis@jamisbuck.org
|
29
|
+
executables: []
|
30
|
+
|
31
|
+
extensions: []
|
32
|
+
|
33
|
+
extra_rdoc_files: []
|
34
|
+
|
35
|
+
files:
|
36
|
+
- doc/faq
|
37
|
+
- doc/faq/faq.html
|
38
|
+
- doc/faq/faq.rb
|
39
|
+
- doc/faq/faq.yml
|
40
|
+
- doc/LICENSE-BSD
|
41
|
+
- doc/LICENSE-GPL
|
42
|
+
- doc/LICENSE-RUBY
|
43
|
+
- lib/net
|
44
|
+
- lib/net/sftp
|
45
|
+
- lib/net/sftp/errors.rb
|
46
|
+
- lib/net/sftp/operations
|
47
|
+
- lib/net/sftp/operations/abstract.rb
|
48
|
+
- lib/net/sftp/operations/close.rb
|
49
|
+
- lib/net/sftp/operations/errors.rb
|
50
|
+
- lib/net/sftp/operations/fsetstat.rb
|
51
|
+
- lib/net/sftp/operations/fstat.rb
|
52
|
+
- lib/net/sftp/operations/lstat.rb
|
53
|
+
- lib/net/sftp/operations/mkdir.rb
|
54
|
+
- lib/net/sftp/operations/open.rb
|
55
|
+
- lib/net/sftp/operations/opendir.rb
|
56
|
+
- lib/net/sftp/operations/read.rb
|
57
|
+
- lib/net/sftp/operations/readdir.rb
|
58
|
+
- lib/net/sftp/operations/realpath.rb
|
59
|
+
- lib/net/sftp/operations/remove.rb
|
60
|
+
- lib/net/sftp/operations/rename.rb
|
61
|
+
- lib/net/sftp/operations/rmdir.rb
|
62
|
+
- lib/net/sftp/operations/services.rb
|
63
|
+
- lib/net/sftp/operations/setstat.rb
|
64
|
+
- lib/net/sftp/operations/stat.rb
|
65
|
+
- lib/net/sftp/operations/write.rb
|
66
|
+
- lib/net/sftp/protocol
|
67
|
+
- lib/net/sftp/protocol/01
|
68
|
+
- lib/net/sftp/protocol/01/attributes.rb
|
69
|
+
- lib/net/sftp/protocol/01/impl.rb
|
70
|
+
- lib/net/sftp/protocol/01/packet-assistant.rb
|
71
|
+
- lib/net/sftp/protocol/01/services.rb
|
72
|
+
- lib/net/sftp/protocol/02
|
73
|
+
- lib/net/sftp/protocol/02/impl.rb
|
74
|
+
- lib/net/sftp/protocol/02/packet-assistant.rb
|
75
|
+
- lib/net/sftp/protocol/02/services.rb
|
76
|
+
- lib/net/sftp/protocol/03
|
77
|
+
- lib/net/sftp/protocol/03/impl.rb
|
78
|
+
- lib/net/sftp/protocol/03/packet-assistant.rb
|
79
|
+
- lib/net/sftp/protocol/03/services.rb
|
80
|
+
- lib/net/sftp/protocol/04
|
81
|
+
- lib/net/sftp/protocol/04/attributes.rb
|
82
|
+
- lib/net/sftp/protocol/04/impl.rb
|
83
|
+
- lib/net/sftp/protocol/04/packet-assistant.rb
|
84
|
+
- lib/net/sftp/protocol/04/services.rb
|
85
|
+
- lib/net/sftp/protocol/05
|
86
|
+
- lib/net/sftp/protocol/05/impl.rb
|
87
|
+
- lib/net/sftp/protocol/05/packet-assistant.rb
|
88
|
+
- lib/net/sftp/protocol/05/services.rb
|
89
|
+
- lib/net/sftp/protocol/constants.rb
|
90
|
+
- lib/net/sftp/protocol/driver.rb
|
91
|
+
- lib/net/sftp/protocol/packet-assistant.rb
|
92
|
+
- lib/net/sftp/protocol/services.rb
|
93
|
+
- lib/net/sftp/session.rb
|
94
|
+
- lib/net/sftp/version.rb
|
95
|
+
- lib/net/sftp.rb
|
96
|
+
- lib/uri
|
97
|
+
- lib/uri/open-sftp.rb
|
98
|
+
- lib/uri/sftp.rb
|
99
|
+
- examples/asynchronous.rb
|
100
|
+
- examples/get-put.rb
|
101
|
+
- examples/sftp-open-uri.rb
|
102
|
+
- examples/ssh-service.rb
|
103
|
+
- examples/synchronous.rb
|
104
|
+
- test/ALL-TESTS.rb
|
105
|
+
- test/operations
|
106
|
+
- test/operations/tc_abstract.rb
|
107
|
+
- test/operations/tc_close.rb
|
108
|
+
- test/operations/tc_fsetstat.rb
|
109
|
+
- test/operations/tc_fstat.rb
|
110
|
+
- test/operations/tc_lstat.rb
|
111
|
+
- test/operations/tc_mkdir.rb
|
112
|
+
- test/operations/tc_open.rb
|
113
|
+
- test/operations/tc_opendir.rb
|
114
|
+
- test/operations/tc_read.rb
|
115
|
+
- test/operations/tc_readdir.rb
|
116
|
+
- test/operations/tc_realpath.rb
|
117
|
+
- test/operations/tc_remove.rb
|
118
|
+
- test/operations/tc_rmdir.rb
|
119
|
+
- test/operations/tc_setstat.rb
|
120
|
+
- test/operations/tc_stat.rb
|
121
|
+
- test/operations/tc_write.rb
|
122
|
+
- test/protocol
|
123
|
+
- test/protocol/01
|
124
|
+
- test/protocol/01/tc_attributes.rb
|
125
|
+
- test/protocol/01/tc_impl.rb
|
126
|
+
- test/protocol/01/tc_packet_assistant.rb
|
127
|
+
- test/protocol/02
|
128
|
+
- test/protocol/02/tc_impl.rb
|
129
|
+
- test/protocol/02/tc_packet_assistant.rb
|
130
|
+
- test/protocol/03
|
131
|
+
- test/protocol/03/tc_impl.rb
|
132
|
+
- test/protocol/03/tc_packet_assistant.rb
|
133
|
+
- test/protocol/04
|
134
|
+
- test/protocol/04/tc_attributes.rb
|
135
|
+
- test/protocol/04/tc_impl.rb
|
136
|
+
- test/protocol/04/tc_packet_assistant.rb
|
137
|
+
- test/protocol/05
|
138
|
+
- test/protocol/05/tc_impl.rb
|
139
|
+
- test/protocol/05/tc_packet_assistant.rb
|
140
|
+
- test/protocol/tc_driver.rb
|
18
141
|
has_rdoc: true
|
19
|
-
|
142
|
+
homepage: http://net-ssh.rubyforge.org/sftp
|
143
|
+
post_install_message:
|
144
|
+
rdoc_options: []
|
145
|
+
|
146
|
+
require_paths:
|
147
|
+
- lib
|
148
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
20
149
|
requirements:
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
version: 0.0.0
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: "0"
|
25
153
|
version:
|
26
|
-
|
154
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: "0"
|
159
|
+
version:
|
160
|
+
requirements: []
|
161
|
+
|
162
|
+
rubyforge_project:
|
163
|
+
rubygems_version: 1.0.0
|
27
164
|
signing_key:
|
28
|
-
|
29
|
-
|
30
|
-
- Jamis Buck
|
31
|
-
files:
|
32
|
-
- doc/faq
|
33
|
-
- doc/LICENSE-BSD
|
34
|
-
- doc/LICENSE-GPL
|
35
|
-
- doc/LICENSE-RUBY
|
36
|
-
- doc/faq/faq.html
|
37
|
-
- doc/faq/faq.rb
|
38
|
-
- doc/faq/faq.yml
|
39
|
-
- lib/net
|
40
|
-
- lib/uri
|
41
|
-
- lib/net/sftp
|
42
|
-
- lib/net/sftp.rb
|
43
|
-
- lib/net/sftp/errors.rb
|
44
|
-
- lib/net/sftp/operations
|
45
|
-
- lib/net/sftp/protocol
|
46
|
-
- lib/net/sftp/session.rb
|
47
|
-
- lib/net/sftp/version.rb
|
48
|
-
- lib/net/sftp/operations/abstract.rb
|
49
|
-
- lib/net/sftp/operations/close.rb
|
50
|
-
- lib/net/sftp/operations/errors.rb
|
51
|
-
- lib/net/sftp/operations/fsetstat.rb
|
52
|
-
- lib/net/sftp/operations/fstat.rb
|
53
|
-
- lib/net/sftp/operations/lstat.rb
|
54
|
-
- lib/net/sftp/operations/mkdir.rb
|
55
|
-
- lib/net/sftp/operations/open.rb
|
56
|
-
- lib/net/sftp/operations/opendir.rb
|
57
|
-
- lib/net/sftp/operations/read.rb
|
58
|
-
- lib/net/sftp/operations/readdir.rb
|
59
|
-
- lib/net/sftp/operations/realpath.rb
|
60
|
-
- lib/net/sftp/operations/remove.rb
|
61
|
-
- lib/net/sftp/operations/rename.rb
|
62
|
-
- lib/net/sftp/operations/rmdir.rb
|
63
|
-
- lib/net/sftp/operations/services.rb
|
64
|
-
- lib/net/sftp/operations/setstat.rb
|
65
|
-
- lib/net/sftp/operations/stat.rb
|
66
|
-
- lib/net/sftp/operations/write.rb
|
67
|
-
- lib/net/sftp/protocol/01
|
68
|
-
- lib/net/sftp/protocol/02
|
69
|
-
- lib/net/sftp/protocol/03
|
70
|
-
- lib/net/sftp/protocol/04
|
71
|
-
- lib/net/sftp/protocol/05
|
72
|
-
- lib/net/sftp/protocol/constants.rb
|
73
|
-
- lib/net/sftp/protocol/driver.rb
|
74
|
-
- lib/net/sftp/protocol/packet-assistant.rb
|
75
|
-
- lib/net/sftp/protocol/services.rb
|
76
|
-
- lib/net/sftp/protocol/01/attributes.rb
|
77
|
-
- lib/net/sftp/protocol/01/impl.rb
|
78
|
-
- lib/net/sftp/protocol/01/packet-assistant.rb
|
79
|
-
- lib/net/sftp/protocol/01/services.rb
|
80
|
-
- lib/net/sftp/protocol/02/impl.rb
|
81
|
-
- lib/net/sftp/protocol/02/packet-assistant.rb
|
82
|
-
- lib/net/sftp/protocol/02/services.rb
|
83
|
-
- lib/net/sftp/protocol/03/impl.rb
|
84
|
-
- lib/net/sftp/protocol/03/packet-assistant.rb
|
85
|
-
- lib/net/sftp/protocol/03/services.rb
|
86
|
-
- lib/net/sftp/protocol/04/attributes.rb
|
87
|
-
- lib/net/sftp/protocol/04/impl.rb
|
88
|
-
- lib/net/sftp/protocol/04/packet-assistant.rb
|
89
|
-
- lib/net/sftp/protocol/04/services.rb
|
90
|
-
- lib/net/sftp/protocol/05/impl.rb
|
91
|
-
- lib/net/sftp/protocol/05/packet-assistant.rb
|
92
|
-
- lib/net/sftp/protocol/05/services.rb
|
93
|
-
- lib/uri/open-sftp.rb
|
94
|
-
- lib/uri/sftp.rb
|
95
|
-
- examples/asynchronous.rb
|
96
|
-
- examples/get-put.rb
|
97
|
-
- examples/sftp-open-uri.rb
|
98
|
-
- examples/ssh-service.rb
|
99
|
-
- examples/synchronous.rb
|
100
|
-
- test/ALL-TESTS.rb
|
101
|
-
- test/operations
|
102
|
-
- test/protocol
|
103
|
-
- test/operations/tc_abstract.rb
|
104
|
-
- test/operations/tc_close.rb
|
105
|
-
- test/operations/tc_fsetstat.rb
|
106
|
-
- test/operations/tc_fstat.rb
|
107
|
-
- test/operations/tc_lstat.rb
|
108
|
-
- test/operations/tc_mkdir.rb
|
109
|
-
- test/operations/tc_open.rb
|
110
|
-
- test/operations/tc_opendir.rb
|
111
|
-
- test/operations/tc_read.rb
|
112
|
-
- test/operations/tc_readdir.rb
|
113
|
-
- test/operations/tc_realpath.rb
|
114
|
-
- test/operations/tc_remove.rb
|
115
|
-
- test/operations/tc_rmdir.rb
|
116
|
-
- test/operations/tc_setstat.rb
|
117
|
-
- test/operations/tc_stat.rb
|
118
|
-
- test/operations/tc_write.rb
|
119
|
-
- test/protocol/01
|
120
|
-
- test/protocol/02
|
121
|
-
- test/protocol/03
|
122
|
-
- test/protocol/04
|
123
|
-
- test/protocol/05
|
124
|
-
- test/protocol/tc_driver.rb
|
125
|
-
- test/protocol/01/tc_attributes.rb
|
126
|
-
- test/protocol/01/tc_impl.rb
|
127
|
-
- test/protocol/01/tc_packet_assistant.rb
|
128
|
-
- test/protocol/02/tc_impl.rb
|
129
|
-
- test/protocol/02/tc_packet_assistant.rb
|
130
|
-
- test/protocol/03/tc_impl.rb
|
131
|
-
- test/protocol/03/tc_packet_assistant.rb
|
132
|
-
- test/protocol/04/tc_attributes.rb
|
133
|
-
- test/protocol/04/tc_impl.rb
|
134
|
-
- test/protocol/04/tc_packet_assistant.rb
|
135
|
-
- test/protocol/05/tc_impl.rb
|
136
|
-
- test/protocol/05/tc_packet_assistant.rb
|
165
|
+
specification_version: 2
|
166
|
+
summary: Net::SFTP is a pure-Ruby implementation of the SFTP client protocol.
|
137
167
|
test_files:
|
138
|
-
|
139
|
-
rdoc_options: []
|
140
|
-
extra_rdoc_files: []
|
141
|
-
executables: []
|
142
|
-
extensions: []
|
143
|
-
requirements: []
|
144
|
-
dependencies:
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: net-ssh
|
147
|
-
version_requirement:
|
148
|
-
version_requirements: !ruby/object:Gem::Version::Requirement
|
149
|
-
requirements:
|
150
|
-
-
|
151
|
-
- ">="
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: 1.0.0
|
154
|
-
version:
|
168
|
+
- test/ALL-TESTS.rb
|