Unable to upload a file using ISPConfig web-FTP UI

Discussion in 'Installation/Configuration' started by gimhan90, Feb 14, 2006.

  1. gimhan90

    gimhan90 New Member

    HI
    I can add Clients , HostingPlanes,Web Sites using ISPConfig.Also FTP/SSH users are working properly.But when upload a file using web UI it give an error.


    The following error occurred:

    FTP: Failed to write Array/.htaccess

    Do i need to use .htaccess file in my web folder?How do i create it?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Ok, you tried to upload a file using Web-FTP. What's the username you used to log in, and can you post the output of
    Code:
    ls -la /path/to/FTP_directory
    ?

    Do you have problems when you try to upload the same file to the same directory with the same username when you use an FTP client like SmartFTP or WS_FTP?
     
  3. gimhan90

    gimhan90 New Member

    I am using the "FileZilla" ftp client & i can successfully upload the same file to the same directory by using that FTP clinet ..
     
    Last edited: Feb 16, 2006
  4. gimhan90

    gimhan90 New Member



    Here are the answers for your questions ? All commensts are welcome

    Ok, you tried to upload a file using Web-FTP. What's the username you used to log in,

    user name : web4_gallelink

    and can you post the output of
    Code:

    ls -la /path/to/FTP_directory

    ?

    ls -la /home/www/web4/user/web4_gallelink/

    su93254144:/home/www/web4/user/web4_gallelink # ls -la

    total 120
    drwxr-xr-x 4 web4_gallelink web4 4096 Feb 6 22:09 .
    drwxr-xr-x 4 web4_gallelink web4 4096 Feb 12 21:47 ..
    -rw-r--r-- 1 root root 544 Feb 12 21:48 .antivirus.rc
    -rw-r--r-- 1 root root 755 Feb 12 21:48 .autoresponder.rc
    -rw-r--r-- 1 root root 22 Feb 12 21:48 .bounce-exceed-quota.txt
    -rw-r--r-- 1 root root 67866 Feb 12 21:48 .html-trap.rc
    -rw-r--r-- 1 root root 3889 Feb 12 21:48 .local-rules.rc
    -rw-r--r-- 1 root root 180 Feb 12 21:48 .mailsize.rc
    -rw-r--r-- 1 root root 2669 Feb 12 21:48 .quota.rc
    -rw-r--r-- 1 root root 1151 Feb 12 21:48 .spamassassin.rc
    -rw-r--r-- 1 root root 1641 Feb 12 21:48 .user_prefs
    -rw-r--r-- 1 web4_gallelink web4 0 Feb 6 22:09 .vacation.cache
    -rw-r--r-- 1 root root 0 Feb 12 21:48 .vacation.msg
    drwxrwxrwx 5 web4_gallelink web4 4096 Feb 6 22:09 Maildir
    drwxrwxr-x 2 web4_gallelink web4 4096 Feb 6 22:09 web



    Do you have problems when you try to upload the same file to the same directory with the same username when you use an FTP client like SmartFTP or WS_FTP?

    I am using the "FileZilla" ftp client & i can successfully upload the same file to the same directory by using that FTP clinet ..
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you get this error only when you upload a file? Are the other functions in webftp working correct? e.g. creating a directory or list the files in a directory?
     
  6. gimhan90

    gimhan90 New Member

    FTP error

    HI..
    I am getting this when i save.such as creating directory , Changing permission , uploading a file.When i click the save button error ocuures.

    Command line ftp is working correctly.Only this issue comes in web interface FTP uploading
     
  7. gimhan90

    gimhan90 New Member

    Here are the answers for your(To FALKO) questions ? All commensts are welcome

    Ok, you tried to upload a file using Web-FTP. What's the username you used to log in,

    user name : web4_gallelink

    and can you post the output of
    Code:

    ls -la /path/to/FTP_directory

    ?

    ls -la /home/www/web4/user/web4_gallelink/


    su93254144:/home/www/web4/user/web4_gallelink # ls -la

    total 120
    drwxr-xr-x 4 web4_gallelink web4 4096 Feb 6 22:09 .
    drwxr-xr-x 4 web4_gallelink web4 4096 Feb 12 21:47 ..
    -rw-r--r-- 1 root root 544 Feb 12 21:48 .antivirus.rc
    -rw-r--r-- 1 root root 755 Feb 12 21:48 .autoresponder.rc
    -rw-r--r-- 1 root root 22 Feb 12 21:48 .bounce-exceed-quota.txt
    -rw-r--r-- 1 root root 67866 Feb 12 21:48 .html-trap.rc
    -rw-r--r-- 1 root root 3889 Feb 12 21:48 .local-rules.rc
    -rw-r--r-- 1 root root 180 Feb 12 21:48 .mailsize.rc
    -rw-r--r-- 1 root root 2669 Feb 12 21:48 .quota.rc
    -rw-r--r-- 1 root root 1151 Feb 12 21:48 .spamassassin.rc
    -rw-r--r-- 1 root root 1641 Feb 12 21:48 .user_prefs
    -rw-r--r-- 1 web4_gallelink web4 0 Feb 6 22:09 .vacation.cache
    -rw-r--r-- 1 root root 0 Feb 12 21:48 .vacation.msg
    drwxrwxrwx 5 web4_gallelink web4 4096 Feb 6 22:09 Maildir
    drwxrwxr-x 2 web4_gallelink web4 4096 Feb 6 22:09 web



    Do you have problems when you try to upload the same file to the same directory with the same username when you use an FTP client like SmartFTP or WS_FTP?

    I am using the "FileZilla" ftp client & i can successfully upload the same file to the same directory by using that FTP clinet ..
     
  8. falko

    falko Super Moderator ISPConfig Developer

    You've already posted this before...
    I'd really like to help, but I have no clue what's wrong on your system... :confused:
     
  9. gimhan90

    gimhan90 New Member

    Do u need any additinal machine settings to solve this issue ?
    Thx
    gimhan
     
  10. falko

    falko Super Moderator ISPConfig Developer

    I don't think this would help... :(
     
  11. gimhan90

    gimhan90 New Member


    So Can u tel me the path of the log file for this WEB-UI FTP thing ?
    I was unabel to find a such kind of thing ?
    And Can u give some hint to resolve this issue ?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    The webftp does not have an logfile.

    You can try to debug the php scripts in /home/admispconfig/ispconfig/web/isp_file/edit/
     
  13. falko

    falko Super Moderator ISPConfig Developer

    You can have a look at the FTP log file /var/log/xferlog.
     

Share This Page