1 | .TH curlftpfs 1 "12 Apr 2006" "CurlFtpFS 0.6.1" "CurlFtpFS Manual" |
---|
2 | .SH NAME |
---|
3 | curlftpfs \- mount a ftp host as a local directory |
---|
4 | .SH SYNOPSIS |
---|
5 | .B curlftpfs [options] |
---|
6 | .I host path |
---|
7 | .SH DESCRIPTION |
---|
8 | The program |
---|
9 | .B curlftpfs |
---|
10 | is a tool to mount remote ftp hosts as local directories. It connects to the |
---|
11 | .I host |
---|
12 | FTP server and maps its directory structure to the |
---|
13 | .I path |
---|
14 | directory. |
---|
15 | |
---|
16 | curlftpfs is powered by libcurl for all transfer-related features. See |
---|
17 | .BR libcurl (3) |
---|
18 | for details. The filesystem part is implemented on top of FUSE. |
---|
19 | See |
---|
20 | .BR http://fuse.sourceforge.net/ |
---|
21 | for details. |
---|
22 | .SH FTP OPTIONS |
---|
23 | .TP |
---|
24 | .B "-h/--help" |
---|
25 | Print help options. |
---|
26 | .TP |
---|
27 | .B "-v/--verbose" |
---|
28 | Make libcurl print verbose debug output. |
---|
29 | .TP |
---|
30 | .B "-V/--version" |
---|
31 | Print curlftpfs, libcurl and fuse versions. |
---|
32 | .TP |
---|
33 | .B \-o |
---|
34 | Options are specified with a |
---|
35 | .B \-o |
---|
36 | flag followed by a comma separated string of options. |
---|
37 | .RS |
---|
38 | .TP |
---|
39 | .B cacert=<file> |
---|
40 | (SSL) Pass a string naming a file holding |
---|
41 | one or more certificates to verify the peer with. |
---|
42 | |
---|
43 | Note that option is by default set to the system path where |
---|
44 | libcurl's cacert bundle is assumed to be stored, as established |
---|
45 | at build time. |
---|
46 | .TP |
---|
47 | .B capath=<directory> |
---|
48 | (SSL) Tells curlftpfs to use the specified certificate directory to verify the |
---|
49 | peer. The certificates must be in PEM format, and the directory must have been |
---|
50 | processed using the c_rehash utility supplied with openssl. Using |
---|
51 | \fBcapath\fP can allow curlftpfs to make connections much more |
---|
52 | efficiently than using \fBcacert\fP if the \fBcacert\fP file contains many CA |
---|
53 | certificates. |
---|
54 | .TP |
---|
55 | .B cert=<certificate> |
---|
56 | (SSL) Tells curlftpfs to use the specified certificate file. The default format |
---|
57 | is "PEM" and can be changed with \fBcert_type\fP. |
---|
58 | .TP |
---|
59 | .B cert_type=<type> |
---|
60 | (SSL) Tells curlftpfs what certificate type the provided certificate is in. |
---|
61 | PEM, DER and ENG are recognized types. |
---|
62 | .TP |
---|
63 | .B ciphers=<list of ciphers> |
---|
64 | (SSL) Specifies which ciphers to use in the connection. The list must be |
---|
65 | syntactically correct, it consists of one or more cipher strings separated by |
---|
66 | colons. Commas or spaces |
---|
67 | are also acceptable separators but colons are normally used, , - and + can |
---|
68 | be used as operators. Valid examples of cipher lists include 'RC4-SHA', |
---|
69 | \'SHA1+DES', 'TLSv1' and 'DEFAULT'. The default list is normally |
---|
70 | set when you compile OpenSSL. |
---|
71 | |
---|
72 | Read up on SSL cipher list details |
---|
73 | on this URL: \fIhttp://www.openssl.org/docs/apps/ciphers.html\fP |
---|
74 | .TP |
---|
75 | .B codepage=<name> |
---|
76 | Sets the encoding the ftp server uses to encode file names. |
---|
77 | .TP |
---|
78 | .B connect_timeout=<seconds> |
---|
79 | Maximum time in seconds that you allow the connection to the server to take. |
---|
80 | This only limits the connection phase, once curlftpfs has connected this option |
---|
81 | is of no more use. |
---|
82 | .TP |
---|
83 | .B disable_eprt |
---|
84 | Tell curlftpfs to disable the use of the EPRT and LPRT commands when doing |
---|
85 | active FTP transfers. Curlftpfs will normally always first attempt to use EPRT, |
---|
86 | then LPRT before using PORT, but with this option, it will use PORT right |
---|
87 | away. EPRT and LPRT are extensions to the original FTP protocol, may not work |
---|
88 | on all servers but enable more functionality in a better way than the |
---|
89 | traditional PORT command. |
---|
90 | .TP |
---|
91 | .B disable_epsv |
---|
92 | Tell curlftpfs to disable the use of the EPSV command when doing passive FTP |
---|
93 | transfers. Curlftpfs will normally always first attempt to use EPSV before |
---|
94 | PASV, but with this option, it will not try using EPSV. |
---|
95 | .TP |
---|
96 | .B engine=<name> |
---|
97 | Select the OpenSSL crypto engine to use for cipher operations. Use: |
---|
98 | .br |
---|
99 | .B "curl \-\-engine list" |
---|
100 | .br |
---|
101 | to print a list of build-time supported engines. Note that not |
---|
102 | all (or none) of the engines may be available at run-time. |
---|
103 | .TP |
---|
104 | .B ftpfs_debug |
---|
105 | Make curlftpfs print lots of debug information. Useful only in conjunction with |
---|
106 | the |
---|
107 | .B \-d |
---|
108 | option. |
---|
109 | .TP |
---|
110 | .B ftp_port=<address> |
---|
111 | Reverses the initiator/listener roles when connecting with ftp. This |
---|
112 | switch makes curlftpfs use the PORT command instead of PASV. In practice, PORT |
---|
113 | tells the server to connect to the client's specified address and port, while |
---|
114 | PASV asks the server for an ip address and port to connect to. <address> |
---|
115 | should be one of: |
---|
116 | .RS |
---|
117 | .IP interface |
---|
118 | i.e "eth0" to specify which interface's IP address you want to use |
---|
119 | .IP "IP address" |
---|
120 | i.e "192.168.10.1" to specify exact IP number |
---|
121 | .IP "host name" |
---|
122 | i.e "my.host.domain" to specify machine |
---|
123 | .IP "-" |
---|
124 | make curlftpfs pick the same IP address that is already used for the control |
---|
125 | connection |
---|
126 | .RE |
---|
127 | .RS |
---|
128 | |
---|
129 | Disable the |
---|
130 | attempt to use the EPRT command instead of PORT by using \fIdisable_eprt\fP. |
---|
131 | EPRT is really PORT++. |
---|
132 | .RE |
---|
133 | .TP |
---|
134 | .B httpproxy |
---|
135 | Set the proxy type to HTTP. This is the default type. |
---|
136 | .TP |
---|
137 | .B interface=<name> |
---|
138 | Pass a string as parameter. This set the interface name to use as outgoing |
---|
139 | network interface. The name can be an interface name, an IP address or a |
---|
140 | host name. |
---|
141 | .TP |
---|
142 | .B iocharset=<name> |
---|
143 | Sets the charset used by the client side for codepage to charset translation. |
---|
144 | Default: UTF8. |
---|
145 | .TP |
---|
146 | .B ipv4 |
---|
147 | If libcurl is capable of resolving an address to multiple IP versions |
---|
148 | (which it is if it is ipv6-capable), this option tells libcurl to resolve |
---|
149 | names to IPv4 addresses only. |
---|
150 | .TP |
---|
151 | .B ipv6 |
---|
152 | If libcurl is capable of resolving an address to multiple IP versions |
---|
153 | (which it is if it is ipv6-capable), this option tells libcurl to resolve |
---|
154 | names to IPv6 addresses only. |
---|
155 | .TP |
---|
156 | .B key=<key> |
---|
157 | (SSL) Private key file name. Allows you to provide your private key in this |
---|
158 | separate file. The default format is "PEM" and can be changed with |
---|
159 | \fBkey_type\fP. |
---|
160 | .TP |
---|
161 | .B key_type=<type> |
---|
162 | (SSL) Pass a string in |
---|
163 | the format of your private key. Supported formats are "PEM", "DER" and |
---|
164 | "ENG". |
---|
165 | |
---|
166 | The format "ENG" enables you to load the private key from a crypto engine. |
---|
167 | In this case \fBkey\fP is used as an identifier passed to the engine. |
---|
168 | You have to set the crypto engine with \fBengine\fP option. "DER" format key |
---|
169 | file currently does not work because of a bug in OpenSSL. |
---|
170 | .TP |
---|
171 | .B krb4=<level> |
---|
172 | Enable kerberos4 authentication and use. The level must be entered and should |
---|
173 | be one of 'clear', 'safe', 'confidential' or 'private'. Should you use a |
---|
174 | level that is not one of these, 'private' will instead be used. |
---|
175 | |
---|
176 | This option requires that the libcurl library was built with kerberos4 |
---|
177 | support. This is not very common. |
---|
178 | .TP |
---|
179 | .B no_verify_hostname |
---|
180 | (SSL) Curlftpfs will not verify the hostname when connecting to a SSL enabled |
---|
181 | server. |
---|
182 | .TP |
---|
183 | .B no_verify_peer |
---|
184 | (SSL) Curlftpfs will not verify the certificate when connecting to a SSL |
---|
185 | enabled server. |
---|
186 | .TP |
---|
187 | .B pass=<password> |
---|
188 | (SSL) Pass phrase for the private key. |
---|
189 | .TP |
---|
190 | .B proxy=<host[:port]> |
---|
191 | Use specified HTTP proxy. If the port number is not specified, it is assumed |
---|
192 | at port 1080. |
---|
193 | |
---|
194 | This option overrides existing environment variables that sets |
---|
195 | proxy to use. If there's an environment variable setting a proxy, you can |
---|
196 | set proxy to "" to override it. |
---|
197 | |
---|
198 | This options implies the \fBproxytunnel\fP option. |
---|
199 | |
---|
200 | Starting with libcurl version 7.14.1, the proxy host can be specified the |
---|
201 | exact same way as the proxy environment variables, including protocol prefix |
---|
202 | (http://) and embedded user + password. |
---|
203 | .TP |
---|
204 | .B proxytunnel |
---|
205 | Tells curlftpfs to use a tunnel proxy. This option is implied by the |
---|
206 | \fBproxy\fP option but you need to set it manually if you use the \fIproxy\fP |
---|
207 | environment variable. |
---|
208 | .TP |
---|
209 | .B proxy_anyauth |
---|
210 | Tells curl to pick a suitable authentication method when communicating with |
---|
211 | the given proxy. This will cause an extra request/response round-trip. |
---|
212 | .TP |
---|
213 | .B proxy_basic |
---|
214 | Tells curlftpfs to use HTTP Basic authentication when communicating with the |
---|
215 | given proxy. Basic is the default authentication method curlftpfs is used with |
---|
216 | proxies. |
---|
217 | .TP |
---|
218 | .B proxy_digest |
---|
219 | Tells curlftpfs to use HTTP Digest authentication when communicating with the |
---|
220 | given proxy. |
---|
221 | .TP |
---|
222 | .B proxy_ntlm |
---|
223 | Tells curlftpfs to use HTTP NTLM authentication when communicating with the |
---|
224 | given proxy. |
---|
225 | .TP |
---|
226 | .B proxy_user=<user:password> |
---|
227 | Specify user and password to use for proxy authentication. |
---|
228 | .TP |
---|
229 | .B skip_pasv_ip |
---|
230 | Tell curlftpfs to not use the IP address the server suggests in its response |
---|
231 | to curlftpfs's PASV command when curlftpfs connects the data connection. |
---|
232 | Instead curlftpfs will re-use the same IP address it already uses for the |
---|
233 | control connection. |
---|
234 | .TP |
---|
235 | .B socks4 |
---|
236 | Set the proxy type to SOCKS4. |
---|
237 | .TP |
---|
238 | .B socks5 |
---|
239 | Set the proxy type to SOCKS5. |
---|
240 | .TP |
---|
241 | .B ssl |
---|
242 | Make curlftpfs use SSL/TLS for both control and data connections. |
---|
243 | .TP |
---|
244 | .B sslv3 |
---|
245 | Forces curlftpfs to use SSL version 3 when negotiating with a remote SSL |
---|
246 | server. |
---|
247 | .TP |
---|
248 | .B ssl_control |
---|
249 | Make curlftpfs use SSL/TLS only for the control connection. |
---|
250 | .TP |
---|
251 | .B ssl_try |
---|
252 | Curlftpfs will try to use SSL/TLS for both the control and data connections |
---|
253 | but if the server doesn't support it, it will still connect unencrypted. |
---|
254 | .TP |
---|
255 | .B tcp_nodelay |
---|
256 | Turn on the TCP_NODELAY option. See the \fIcurl_easy_setopt(3)\fP man page for |
---|
257 | details about this option. |
---|
258 | .TP |
---|
259 | .B tlsv1 |
---|
260 | (SSL) Forces curlftpfs to use TLS version 1 when negotiating with a remote TLS |
---|
261 | server. |
---|
262 | .TP |
---|
263 | .B transform_symlinks |
---|
264 | Append |
---|
265 | .I path |
---|
266 | to the absolute symlinks so that they still point inside the ftp directory |
---|
267 | structure. Otherwise those links will very probably be broken. |
---|
268 | .TP |
---|
269 | .B user=<user:password> |
---|
270 | Specify user and password to use for server authentication. Overrides |
---|
271 | netrc configuration. |
---|
272 | .TP |
---|
273 | .B utf8 |
---|
274 | Try to transfer file list with UTF-8 encoding. Send OPTS UTF8 ON at the |
---|
275 | beginning of file list transfer. |
---|
276 | .SH FUSE OPTIONS |
---|
277 | .TP |
---|
278 | .B "-d" |
---|
279 | Enable FUSE debug output. Implies \fB-f\fP. |
---|
280 | .TP |
---|
281 | .B "-f" |
---|
282 | Run curlftpfs in foreground mode. |
---|
283 | .TP |
---|
284 | .B "-r" |
---|
285 | Mount read-only. |
---|
286 | .TP |
---|
287 | .B "-s" |
---|
288 | Disable multi-threaded operation. |
---|
289 | .TP |
---|
290 | .B \-o |
---|
291 | Options are specified with a |
---|
292 | .B \-o |
---|
293 | flag followed by a comma separated string of options. |
---|
294 | .RS |
---|
295 | .TP |
---|
296 | .B allow_other |
---|
297 | Allow access to other users. By default the mount point is only accessible to |
---|
298 | the user that mounted it and not even to root. |
---|
299 | .TP |
---|
300 | .B allow_root |
---|
301 | Allow access to root user. By default the mount point is only accessible to |
---|
302 | the user that mounted it and not even to root. |
---|
303 | .TP |
---|
304 | .B debug |
---|
305 | enable debug output |
---|
306 | .TP |
---|
307 | .B direct_io |
---|
308 | use direct I/O |
---|
309 | .TP |
---|
310 | .B fsname=NAME |
---|
311 | set filesystem name in mtab |
---|
312 | .TP |
---|
313 | .B gid=N |
---|
314 | set file group |
---|
315 | .TP |
---|
316 | .B hard_remove |
---|
317 | immediate removal (don't hide files) |
---|
318 | .TP |
---|
319 | .B kernel_cache |
---|
320 | Let the kernel VFS do some caching of the files. |
---|
321 | .TP |
---|
322 | .B large_read |
---|
323 | issue large read requests (2.4 only) |
---|
324 | .TP |
---|
325 | .B max_read=N |
---|
326 | set maximum size of read requests |
---|
327 | .TP |
---|
328 | .B nonempty |
---|
329 | allow mounts over non-empty file/dir |
---|
330 | .TP |
---|
331 | .B readdir_ino |
---|
332 | try to fill in d_ino in readdir |
---|
333 | .TP |
---|
334 | .B uid=N |
---|
335 | set file owner |
---|
336 | .TP |
---|
337 | .B umask=M |
---|
338 | set file permissions (octal) |
---|
339 | .TP |
---|
340 | .B use_ino |
---|
341 | let filesystem set inode numbers |
---|
342 | .SH AUTHORS |
---|
343 | Robson Braga Araujo is the author and maintainer of CurlFtpFS. |
---|
344 | .SH WWW |
---|
345 | http://curlftpfs.sourceforge.net |
---|
346 | .SH "SEE ALSO" |
---|
347 | .BR mount (8) |
---|