Re: Very basic FTP question



On 13 Lug, 23:00, Max <nom...@xxxxxx> wrote:
I didn't read that you modified something to /etc/vsftpd.conf so you
might check the part with:

#ascii_upload_enable=YES
#ascii_download_enable=YES

aaa
that's the reason, thanks Max!
uncommented and it's ok
There is also a nice explaination WHY it works like that

I wonder if this is the standard behaviour by default of all the ftp
servers around ?

# By default the server will pretend to allow ASCII mode but in fact
ignore
# the request. Turn on the below options to have the server actually
do ASCII
# mangling on files when in ASCII mode.
# Beware that turning on ascii_download_enable enables malicious
remote parties
# to consume your I/O resources, by issuing the command "SIZE /big/
file" in
# ASCII mode.
# These ASCII options are split into upload and download because you
may wish
# to enable ASCII uploads (to prevent uploaded scripts etc. from
breaking),
# without the DoS risk of SIZE and ASCII downloads. ASCII mangling
should be
# on the client anyway..
#ascii_upload_enable=YES
#ascii_download_enable=YES

ciao,

Nicola Attico

.



Relevant Pages

  • vsftpd problem
    ... I am trying to setup a vsftpd server. ... # loosens things up a bit, to make the ftp daemon more usable. ... # Uncomment this to allow the anonymous FTP user to upload files. ... # mangling on files when in ASCII mode. ...
    (alt.os.linux)
  • vsftpd How Do I stop users from deleteing files.
    ... I am trying to set up a secure ftp server but am having some problems please ... can upload and download from but not delete, no mater how I change the umask ... # By default the server will pretend to allow ASCII mode but in fact ignore ...
    (Fedora)
  • Re: Binary vs ASCII for uploading
    ... never heard of changing the mode can solve the ftp transfer:) ... but generally binary is meant of not text / ascii data. ... IIS 5 and above support upload append or download resume feature.. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: cgi problem.
    ... but I still have error message. ... Make sure you upload it as ASCII text, and not whatever that other choice ... Patty Ayers | www.WebDevBiz.com ...
    (microsoft.public.frontpage.programming)
  • Re: How do I insert a cgi script into Publisher page?
    ... First time I have seen this one. ... I see that the upload must be done in ASCII. ... I am trying to only post the simplest of methods on here as I believe that the majority of users are in the novice to general understanding of the technology. ...
    (microsoft.public.publisher.webdesign)