webftp: FTP: Failed to write Array/.htaccess

Discussion in 'General' started by stefan, Apr 5, 2007.

  1. falko

    falko Super Moderator ISPConfig Developer

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

    gillesdevals Member

    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
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Which ISPConfig version do you use?
     
  4. gillesdevals

    gillesdevals Member

    Version

    I use ISPConfig version 2.2.23
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Which distribution are you using? Are there any errors in your logs?
     
  6. gillesdevals

    gillesdevals Member

    Distribution

    I use the distribution Debian etch.
    Which logs do you want ?
     
  7. falko

    falko Super Moderator ISPConfig Developer

    Check all logs in the /var/log directory.
     
  8. gillesdevals

    gillesdevals Member

    Log

    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
     
  9. falko

    falko Super Moderator ISPConfig Developer

    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.
     
  10. MorisatoKeiichi

    MorisatoKeiichi New Member

    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:
     
  11. jmroth

    jmroth ISPConfig Developer ISPConfig Developer

    We have experienced the same error today. (ISPC 2.2.25)

    When I look at upload_save.php I see a strange error handling.
    Code:
    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
    Code:
    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 :)
     
  12. jmroth

    jmroth ISPConfig Developer ISPConfig Developer

    *BUMP*
    just reminding that this should go into the bugtracker
     

Share This Page