ftp problems: 1.upload error 550, 2.size limitation
Hello Everybody!
I face two problems with ftp and i need your help:
1st problem: error 550, user permissions
------------------------------------------------------
I installed SUSE8.2 to a PC in my local network with success (via ftp with all the default options). I activated the ftp in inetd.rc and then I edited the /etc/vsftpd.conf. I enabled "anonymous enable=YES" and "local_enable=YES" so every user from the local network to be able to ftp in his account and to do whatever he likes. I didn't change anything else. This was the procedure I followed in the past with success. Then I tried to do an ftp from another PC (louis) to my new PC (komodino) and i discovered that it wasn't possible to upload data:
louis:/home/petros # ftp k
ftp k
Connected to komodino.fluid.mech.ntua.gr.
220 (vsFTPd 1.1.3)
Name (k:petros):
331 Please specify the password.
Password:
230 Login successful. Have fun.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put test
local: test remote: test
500 Illegal EPSV command.
227 Entering Passive Mode (147,102,42,181,237,88)
550 Permission denied.
for sure the user petros is not included in /etc/ftpusers. do you have any idea why does this happens? I suppose that I have to set somewhere, somehow the users' permissions... Also I didn't try to set firewall... (PS. the downloading works fine).
2nd problem: ftp size limitation
----------------------------------------
after setting up a few linux-boxes with various linux versions (SUSE7.1 up to SUSE8.2) I have just noticed that the ftp command is not able to transfer a huge file (a tar file almost 5.2GB) from a PC with SUSE7.2:
tria /home# ftp ena
Connected to ena.fluid.mech.ntua.gr.
220 ena.fluid.mech.ntua.gr FTP server (Version 6.5/OpenBSD, linux port 0.3.2) ready.
Name (ena:petros):
331 Password required for petros.
Password:
230- Have a lot of fun...
230 User petros logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put tria_home_090603-tdm.tar
local: tria_home_090603-tdm.tar remote: tria_home_090603-tdm.tar
ftp: local: tria_home_090603-tdm.tar: File too large
i have to add also the info that comes from the limit command (tcsh):
tria /home# limit
cputime unlimited
filesize unlimited
datasize unlimited
stacksize unlimited
coredumpsize 0 kbytes
memoryuse unlimited
descriptors 1024
memorylocked unlimited
maxproc 32765
openfiles 1024
how it is possible to overcome this problem? (one idea is to split the file, but I would prefer to modify an ftp key related to the file_size)
THANK YOU VERY MUCH,
at least for spending so much time to read my problems!
I hope to find some help....
Regards,
Petros Chassapoyiannis
Last edited by petros; 06-10-2003 at 01:38 AM.
|