CurlFtpFS

Trying to make it work with drftpd.

in this file:
ftpfs.c

in this function:
static void set_common_curl_stuff(CURL* easy) {

add the following line:
curl_easy_setopt_or_die(easy, CURLOPT_FTP_USE_PRET, 1);

http://curl.haxx.se/cvssource/CHANGES.0

Daniel Stenberg (1 Jan 2010)
- Ingmar Runge enhanced libcurl's FTP engine to support the PRET command. This
  command is a special "hack" used by the drftpd server, but even though it is
  a custom extension I've deemed it fine to add to libcurl since this server
  seems to survive and people keep using it and want libcurl to support
  it. The new libcurl option is named CURLOPT_FTP_USE_PRET, and it is also
  usable from the curl tool with --ftp-pret. Using this option on a server
  that doesn't support this command will make libcurl fail.

  I added test cases 1107 and 1108 to verify the functionality.

  The PRET command is documented at
  http://www.drftpd.org/index.php/Distributed_PASV

http://www.linuxquestions.org/questions/linux-software-2/please-help-me-mounting-a-ftp-folder-from-a-drftpd-server-pret-transfer-required-866720/
http://curlftpfs.sourceforge.net/

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License