Showing posts with label ftp. Show all posts
Showing posts with label ftp. Show all posts

Tuesday, September 8, 2015

The simplest possible Windows FTP server

http://www.sentex.net/~mwandel/ftpdmin/ ftpdmin .... if all you need is to have a colleague send you a big file which doesn't fit in an email, this utility is for you.... just remember to start it with a root dir, because you don't want to give access to your whole hard drive.... you can operate on it using the windows built-in fto client, and just hit ENTER when asked for username and password...



Saturday, February 18, 2012

vsftpd on Linux RedHat

homepage
https://security.appspot.com/vsftpd.html

download here
https://security.appspot.com/downloads/vsftpd-2.3.5.tar.gz

copied to Linux server
gunzip vsftpd-2.3.5.tar.gz
tar xvf vsftpd-2.3.5.tar
cd vsftpd-2.3.5

/lib/libcap.so.1: could not read symbols: File in wrong format

http://www.andreaswacker.com/blog/2009/01/23/sysdeputilc162-error-expected-declaration-specifiers-or-before-capset/

vi vsf_findlibs.sh


# Look for libcap (capabilities)
#if locate_library /lib/libcap.so.1; then
# echo "/lib/libcap.so.1";
if locate_library /lib/libcap.so.2; then
echo "/lib/libcap.so.2";
else
locate_library /usr/lib/libcap.so && echo "-lcap";
locate_library /lib/libcap.so && echo "-lcap";
locate_library /lib64/libcap.so && echo "-lcap";
fi


I still get

gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o tunables.o ftpdataio.o secbuf.o ls.o postprivparent.o logging.o str.o netstr.o sysstr.o strlist.o banner.o filestr.o parseconf.o secutil.o ascii.o oneprocess.o twoprocess.o privops.o standalone.o hash.o tcpwrap.o ipaddrparse.o access.o features.o readwrite.o opts.o ssl.o sslslave.o ptracesandbox.o ftppolicy.o sysutil.o sysdeputil.o -Wl,-s `./vsf_findlibs.sh`
/usr/bin/ld: cannot find -lcap
collect2: ld returned 1 exit status
make: *** [vsftpd] Error 1



Ok I give up for now....