New answers tagged ftp
There are several different FTP servers packaged within Debian, which you can see via: apt-cache search ftp-server One of the most popular servers around is proftpd, and that can be installed upon Debian systems with: apt-get install proftpd Once downloaded debconf will ask if you wish to run the server via inetd, or in a standalone fashion. In general ...
Try this apt-get install proftpd
This happens when a file contains \r\n as a line terminator instead of \n, since \r is a C0 control code meaning "go to the beginning of the current line". To fix, run dos2unix foo.py. Example session: ben@joyplim /tmp/cr % echo '#!/usr/bin/env python' > foo.py ben@joyplim /tmp/cr % chmod +x foo.py ben@joyplim /tmp/cr % ./foo.py ben@joyplim /tmp/cr % ...
Could it be a file permission issue? $ chmod +x foo.py If you don't specifically indicate you wish to maintain then they are stripped/altered by most ftp clients.
Ok, so there is no such program as setup-ftp for Ubuntu. I think you would mean to get vsftpd which can help you set up FTP and SFTP servers. So with that being said, the proper command to install is: sudo apt-get install vsftpd If you are looking for a client to connect to FTP/SFTP servers, you will need a program such as FileZilla to do so: sudo apt-get ...
You might use lftp instead of the regular ftp client. With lftp you can use mget -E /path/to/files which will delete the source files after succesful transfer. See http://lftp.yar.ru/lftp-man.html for the manual.
Assuming you are using simple ftp via command line, Use dir command with -Rl option to search recursively and copy it to a file and then search the file using grep, find or whatever way is supported on your OS. ftp> dir -Rl education.txt output to local-file: education.txt? y 227 Entering Passive Mode (9,62,119,15,138,239) 150 Opening ASCII mode data ...
According to http://www.proftpd.org/docs/directives/linked/config_ref_DisplayChdir.html the DisplayFirstChdir directive has been obsoleted by DisplayChdir with the supplementary true parameter. So instead of: DisplayFirstChdir .message You now need: DisplayChdir .message true If you want the message displayed every time someone enters that directory, ...
May be you have error in your proftpd config file. You have to perform configuration check. The easiest way to do informative syntax check as is stated here is to run: proftpd -td10 or you can run (less noise): proftpd -td5 For sample config in your question, the result is: 2015-06-04 12:05:43,290 debian proftpd: using PCRE 8.35 2014-04-04 ...
Top 50 recent answers are included