source: FTPfs/curlftpfs-0.9.1/doc/curlftpfs.1 @ 117

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