1 Commits

Author SHA1 Message Date
13528c150e implement readdir 2024-08-06 04:02:53 +00:00
2 changed files with 1 additions and 7 deletions

View File

@@ -174,7 +174,6 @@ static struct fuse_opt ftpfs_opts[] = {
FTPFS_OPT("codepage=%s", codepage, 0),
FTPFS_OPT("iocharset=%s", iocharset, 0),
FTPFS_OPT("nomulticonn", multiconn, 0),
FTPFS_OPT("exit_after_connect", exit_after_connect, 1),
FUSE_OPT_KEY("-h", KEY_HELP),
FUSE_OPT_KEY("--help", KEY_HELP),
@@ -1503,7 +1502,6 @@ static void usage(const char* progname) {
" utf8 try to transfer file list with utf-8 encoding\n"
" codepage=STR set the codepage the server uses\n"
" iocharset=STR set the charset used by the client\n"
" exit_after_connect after connecting to the FTP server, instead of passing control to FUSE, exit\n"
"\n"
"CurlFtpFS cache options: \n"
" cache=yes|no enable/disable cache (default: yes)\n"
@@ -1802,10 +1800,7 @@ int main(int argc, char** argv) {
fuse_opt_insert_arg(&args, 1, tmp);
g_free(tmp);
if (!ftpfs.exit_after_connect) {
res = curlftpfs_fuse_main(&args);
}
res = curlftpfs_fuse_main(&args);
cancel_previous_multi();
curl_multi_cleanup(ftpfs.multi);

View File

@@ -67,7 +67,6 @@ struct ftpfs {
char *codepage;
char *iocharset;
int multiconn;
int exit_after_connect;
};
extern struct ftpfs ftpfs;