PDA

View Full Version : webftp: FTP: Failed to write Array/.htaccess


stefan
5th April 2007, 16:23
Hello all, :)
I installed the latest version of ispconfig on debian etch. all seems runnning fine. Only webftp is not working. I can login to webftp but I can not upload files. I get an error:
FTP: Failed to write Array/.htaccess

I tried with another web too but the same.
I googled but nothing to find.
What can cause this error.? :confused:

can someone help?

tia
stefan

stefan
6th April 2007, 10:13
I tried the ftp connect with an ftp-client and all is running well.
So what could it be?

can someone help?

tia
stefan

till
6th April 2007, 11:29
FTP: Failed to write Array/.htaccess

Does this error occur when you upload a .htaccess file or when you upload any file?

stefan
7th April 2007, 08:20
Hello Till :)

It happens uploading any files, I tried different extension, all the same.

tia

stefan

falko
7th April 2007, 15:00
You're not the first who reports that problem, but neither me nor Till have been able to reproduce this problem on our installations, so we can't tell when/why the problem occurs. :(

stefan
7th April 2007, 19:38
okay,
what I can I do now? where can I look?

tia
stefan

alexillsley
8th April 2007, 02:50
does the web folder have the correct perrmissons? It should have write access

stefan
12th April 2007, 21:36
does the web folder have the correct perrmissons? It should have write access

drwxr-xr-x 4 web1_stefan web1

is there some more information available now about that issue?

tia
stefan

falko
13th April 2007, 17:09
Unfortunately not... :(

stefan
13th April 2007, 20:36
hmm,

I just did a connect via an ftp -client. Im able to browse with a normal ispconfig- user through the whole filesystem. :mad: :confused:
Maybe this is an error together /dependend with the "write array"- error ?

How can I solve that the user is only in his path? new issue?

tia
stefan

stefan
13th April 2007, 21:01
It seems I have it solved. I followed the new instructions for debian etch:
http://www.howtoforge.com/perfect_setup_debian_etch_p6

and did a reconfigure with that. Now all is running fine!!

thanks to all !!! :)

stefan

falko
14th April 2007, 15:06
And the
FTP: Failed to write Array/.htaccess
error is gone, too?

stefan
14th April 2007, 15:17
yes! The error is away! I backuped the proftpd.conf and did the new link and configuration how it is discribed in the howto for etch.

stefan

falko
14th April 2007, 15:38
Then the problem was IPv6, I guess...

blackmask
13th July 2007, 11:21
Hello all, :)
I installed the latest version of ispconfig on debian etch. all seems runnning fine. Only webftp is not working. I can login to webftp but I can not upload files. I get an error:
FTP: Failed to write Array/.htaccess

I tried with another web too but the same.
I googled but nothing to find.
What can cause this error.? :confused:

can someone help?

tia
stefan

May be you can try this..
step 1-create user&email and set as administrator
#if u already have an administrator.. delete it first.

step 2- log in to webftp using the new user that you create in step 1.

*** are you using joomla with ispconfig?

tkd1987
3rd September 2007, 00:26
hi i have the same problem

unable to upload via ispconfig.

and if they upload with a ftp client they are able to acces entire system!

look forward to seeing a response
regards


Aaron

till
3rd September 2007, 00:31
hi i have the same problem

unable to upload via ispconfig.

and if they upload with a ftp client they are able to acces entire system!

look forward to seeing a response
regards

Please reconfigure your FTP server as described in the perfect setup guide for your Linux distribution.

tkd1987
3rd September 2007, 00:35
i followed this guide http://www.howtoforge.com/perfect_setup_ubuntu_6.06_p7

it was great, but there are the issues mentioned.

any help available?

till
3rd September 2007, 08:45
i followed this guide http://www.howtoforge.com/perfect_setup_ubuntu_6.06_p7

it was great, but there are the issues mentioned. any help available?

Please reconfigure proftpd as mentioned in the guide:

Open the file /etc/proftpd.conf in an editor and add the lines:

DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."

at the end if the file, right before the proftpd_ispconfig.conf include and restart postfix.

gillesdevals
25th June 2008, 21:35
Hi,


I have the same problem, I checked the file /etc/proftpd.conf, all is OK.

It's possible to login through ftp client, but I cannot upload, delete ... any files with an administrator login.

Anybody can help me ?


Gilles

falko
26th June 2008, 17:18
Hi,


I have the same problem, I checked the file /etc/proftpd.conf, all is OK.

It's possible to login through ftp client, but I cannot upload, delete ... any files with an administrator login.

Anybody can help me ?


Gilles

Are you using ISPConfig's Web-FTP, or a real FTP client?

gillesdevals
26th June 2008, 23:55
If i use Web-ftp, ISPConfig return the following message : " FTP: Failed to write Array/.htaccess"

And if I use FireFTP for example, the client return this message : "550 temp.wav: Permission denied : /web/[filename]"

For the same file : example.wav

till
27th June 2008, 12:32
Which ISPConfig version do you use?

gillesdevals
28th June 2008, 14:01
I use ISPConfig version 2.2.23

falko
29th June 2008, 14:14
Which distribution are you using? Are there any errors in your logs?

gillesdevals
29th June 2008, 23:16
I use the distribution Debian etch.
Which logs do you want ?

falko
30th June 2008, 16:41
Which logs do you want ?Check all logs in the /var/log directory.

gillesdevals
30th June 2008, 22:07
I cannot transfer the log files, I tried with explorer of Windows(r) and the error message is : "550 mysql : permission denied"

Maybe this new information can help you.


I begin to be discouraged :mad:


Thanks in advance.


Gilles

falko
2nd July 2008, 00:06
I cannot transfer the log files, I tried with explorer of Windows(r) and the error message is : "550 mysql : permission denied"

Maybe this new information can help you.


I begin to be discouraged :mad:


Thanks in advance.


Gilles

You can copy the logs to your windows box with WinSCP ( http://winscp.net/eng/index.php ) and then open them in a text editor.

MorisatoKeiichi
6th November 2008, 17:30
If anyone encounters the "550 Access is denied."-problem again:
Check your router/gateway/firewall settings from where you are uploading (not on the ftp/ispconfig-server itself!). And check them again.
In my case there was a Microsoft ISA Server 2006 with standard configuration and full internet access. But there is some (hidden) configuration for FTP, which is read-only in standard config. You have to edit that firewall rule (configure FTP) and remove the option for "read-only".
In german, see here: http://www.edvblogger.de/2006/12/19/ms-isa-server-2006-und-ftp/

Grrr, Microsoft. What does "unlimited internet access" mean to them? Just browse the web, but don't be able to contribute? Grr.. :mad:

jmroth
9th April 2009, 18:36
We have experienced the same error today. (ISPC 2.2.25)

When I look at upload_save.php I see a strange error handling.

if(!$go_api->isp_webftp->webftp_put($file['tmp_name'],$updir."/".$file['name'], FTP_BINARY)) $go_api->errorMessage($go_api->lng("FTP: Failed to write")." $file/.htaccess");
I suppose this is a copy/paste error and should read

if(!$go_api->isp_webftp->webftp_put($file['tmp_name'],$updir."/".$file['name'], FTP_BINARY)) $go_api->errorMessage($go_api->lng("FTP: Failed to write").$updir."/".$file['name']);
for the error message to be correct.

I will now dig further and see if it has something to do with that :)

jmroth
15th April 2009, 23:43
*BUMP*
just reminding that this should go into the bugtracker