Giter Club home page Giter Club logo

pftp's People

Contributors

silv3rr avatar skeddie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pftp's Issues

failed - to create temp file

PFTP throws error after logging in and getting dirlist.
Errormessage: 18:31:12 [debian ] failed - to create temp file

looking at strace shows:
open("./ok/pftp.debug.log", O_RDWR|O_CREAT|O_APPEND, 0666) = -1 ENOENT (No such file or directory

In order to reproduce
clone repo on debian jessie
make dynamic
run pftp and connect to ftpserver

TLS/SSL error transferring file

did a git clone, compiled up dynamic pftp from the 'trunk-shit' and tried to fxp a file.
got this error:

21:44 150 Opening BINARY mode data connection for a.file.r06 (100000000 bytes) using SSL/TLS.
21:44 435 Failed TLS negotiation on data channel (SSL_connect(): (1) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure), disconnected

Compile error

Did a clone of pftp. Tried to compile on Ubuntu 16.04.2.

$ make
cd src;make;cd ..
make[1]: Entering directory '/home/xx/pftp/trunk-vanilla/src'
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS main.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS switchserver.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS tcp.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS displayupdate.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS server.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS bookmark.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS opensitedialog.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS displayhandler.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS keyhandler.cc
g++ -pipe -c -Wall -Wno-unused-result -Wno-write-strings -D_REENTRANT -I../include -D_FORTIFY_SOURCE=2 -fstack-protector-all -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -flto -fPIE -O2 -DTLS tlsutil.cc
g++ -pipe -o pftp-dynamic main.o switchserver.o tcp.o displayupdate.o server.o bookmark.o opensitedialog.o displayhandler.o keyhandler.o tlsutil.o -lssl -lcrypto -DTLS -lpanel -lncurses -ltinfo -lpthread -ldl
cp -f pftp-dynamic ..
g++ -pipe -o pftp-static main.o switchserver.o tcp.o displayupdate.o server.o bookmark.o opensitedialog.o displayhandler.o keyhandler.o tlsutil.o -lssl -lcrypto -DTLS -lpanel -lncurses -ltinfo -lpthread -ldl -static
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): In function dlfcn_globallookup': (.text+0x11): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /tmp/ccFHNr3I.ltrans6.ltrans.o: In function CServer::LocalGetDirlist()':
:(.text+0x2ce): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
:(.text+0x2f6): warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccFHNr3I.ltrans9.ltrans.o: In function CTCP::GetIP(char*, in_addr*)': <artificial>:(.text+0xab4): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libncurses.a(lib_mouse.o): In function _nc_mouse_event':
(.text+0x5d5): undefined reference to Gpm_GetEvent' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libncurses.a(lib_mouse.o): In function enable_gpm_mouse':
(.text+0xce2): undefined reference to Gpm_Close' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libncurses.a(lib_mouse.o): In function enable_gpm_mouse':
(.text+0xd37): undefined reference to Gpm_Open' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libncurses.a(lib_mouse.o): In function enable_gpm_mouse':
(.text+0xd4c): undefined reference to Gpm_Close' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libncurses.a(lib_mouse.o): In function _nc_mouse_init':
(.text+0xea7): undefined reference to gpm_fd' **/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libncurses.a(lib_mouse.o): In function mouse_activate':
(.text+0x107b): undefined reference to `gpm_fd'
collect2: error: ld returned 1 exit status
Makefile:32: recipe for target 'pftp-static' failed
make[1]: *** [pftp-static] Error 1
make[1]: Leaving directory '/home/xx/pftp/trunk-vanilla/src'**

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.