It was 27/11/2006 14:15, when Stas Ostapenko wrote:

> I'm facing problems with file upload under admin account. It is
> happens when I'm using FAR  ftp client. I can delete a file, can
> overwrite, but cannot upload if there is no file with such name.

Your first trace doesn't show a file upload...

> LIST -la /file.txt
> 150 File status okay; about to open data connection.
> 501 Syntax error in parameters or arguments.

> SIZE /file.txt
> 550 /file.txt: No such file or directory.

Both of these are in error because the file doesn't exist. So I'm
not sure what the issue is that you have.

> STOR ftpserver-dev.jar
> 150 File status okay; about to open data connection.
> 226 Transfer complete.

> But ! The size of original file is 298,470 bytes, uploaded 300,046
> bytes. Configuration of server is default - server started with
> ftpd.bat.

A difference in size is almost always due to an incorrect data
transfer mode.  If you were in ASCII mode and running the server on
a Windows machine, then bytes are going to be added.  Try
transferring the file in BINARY mode.


Reply via email to