maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Ftp server (https://talk.maemo.org/showthread.php?t=35578)

Bratag 2010-04-05 14:51

Re: Ftp server
 
Not sure what people want as far as instructions on the app. You install the package and then follow any of a dozen configuration guides for proftpd

the config file is in /opt/etc

http://www.proftpd.org/docs/howto/ConfigFile.html

Is a basic example.

cafeine 2010-04-08 18:21

Re: Ftp server
 
maybe because we don't have the time to search dozens of guides to do such a simple think or maybe because there is no reason to have to search for instructions all over the web and mix and match steps, retry refail etc instead of the creator posting a simple but complete 1,2,3 guide of all the specific steps nessessary for anyone to have a running program in his device.

CepiPerez 2010-05-11 12:41

Re: Ftp server
 
Thanks!
This is what I was looking for...
I don't know how I didn't see it before...

ndi 2010-06-28 18:42

Re: Ftp server
 
Excellent effort, but I'm out of here. I have OpenSSH cramps every time I see a conf file that has no preconfiguration. The home site offers a conf example for anonymous and one for virtual sites (nothing in between). This might be second nature for Linux users, but it took me 4 days to start ssh on Windows - I ended up tarballing me the entire installation. True, some woes came with cywin conflicts.

Might I suggest the very nice implementation VNC server has. One icon in menu, once clicked you are good for one login, no password needed. Click the icon, open a connection via VNC.

Alternately, a password could be typed at startup. Password is inserted into the conf and daemon started. Upon exiting the app, daemon stops. So click the icon, type a random text, login. Elegant, simple, universal. Does not preclude the intended usage.

I'm fairly sure this could be implemented with a small shell script, allowing for a "ftpserver <password>" command. Unfortunately, I can't do Linux shell worth a damn.

igorlt 2010-07-31 17:31

Re: Ftp server
 
I was copying some files from my N900 to my PC, and Norton alerted me that proftpd has a behaviour that looks like a trojan.

Does anyone know why?

aligatro 2010-07-31 17:39

Re: Ftp server
 
Why not use already existing openssh-server package on n900 ?
You can then use winscp to connect to n900.

igorlt 2010-07-31 17:41

Re: Ftp server
 
Quote:

Originally Posted by aligatro (Post 771552)
Why not use already existing openssh-server package on n900 ?
You can then use winscp to connect to n900.

Actually I prefer to use OpenSSH, but now I´m using an application that does not support SFTP.

ndi 2010-07-31 23:28

Re: Ftp server
 
Quote:

Originally Posted by igorlt (Post 771547)
I was copying some files from my N900 to my PC, and Norton alerted me that proftpd has a behaviour that looks like a trojan.

Does anyone know why?

Because it does. Accessing files and sending them over the wire is exactly what trojans are about.

I'm connecting the other way now. Server on PC, client on N900. At least that's a GUI app. Still rough around the edges, though, to chdir I have to select a folder than go to menu and choose File > change directory ... (even though ellipsis seem to suggest a dialog is about to happen).

Oh well. Hey, concurrent transfers.

avijitkt 2010-08-22 20:27

Re: Ftp server
 
Quote:

Originally Posted by taril (Post 421722)
Ive got it! It was painful.

Here you are ppl:

http://ubuntuforums.org/showthread.php?t=79588

Thanks :D
Your link has made the configuration just easy

lazart 2011-03-26 16:10

Re: Ftp server
 
hello nononoyes,
i've tried your proftp configuration without all those scripts. i just want to start it in terminal if necessary, but i just get "530 login incorrect error". isn't your configuration possible without all that scripts?


edit: I also tried anonymous log in, while uncommenting that lines in config, nothing working.

here's my n900 proftp.conf:

Code:

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName                      "N900"
ServerType                      standalone
DefaultServer                  on

# Port 21 is the standard FTP port.
Port                            21

# Don't use IPv6 support by default.
UseIPv6                        off

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                          022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances                    30

# Set the user and group under which the server will run.
User                            nobody
Group                          nogroup

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot /home/user/

# Normally, we want files to be overwriteable.
AllowOverwrite          on

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
  DenyAll
</Limit>

RootLogin on

## A basic anonymous configuration, no upload directories.  If you do not
## want anonymous users, simply delete this entire <Anonymous> section.
#<Anonymous ~ftp>
#  User                        ftp
#  Group                                ftp
#
#  # We want clients to be able to login with "anonymous" as well as "ftp"
#  UserAlias                    anonymous ftp
#
#  # Limit the maximum number of anonymous logins
#  MaxClients                  10
#
#  # We want 'welcome.msg' displayed at login, and '.message' displayed
#  # in each newly chdired directory.
#  DisplayLogin                welcome.msg
#  DisplayChdir                .message
#
#  # Limit WRITE everywhere in the anonymous chroot
#  <Limit WRITE>
#    DenyAll
#  </Limit>
#</Anonymous>



All times are GMT. The time now is 12:58.

vBulletin® Version 3.8.8