PDA

View Full Version : Unable to upload a file using ISPConfig web-FTP UI


gimhan90
14th February 2006, 15:05
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?

falko
14th February 2006, 21:39
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 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?

gimhan90
15th February 2006, 08:39
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 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 ..

gimhan90
16th February 2006, 09:39
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 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?



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

till
16th February 2006, 09:54
The following error occurred:

FTP: Failed to write Array/.htaccess

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?

gimhan90
16th February 2006, 13:05
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

gimhan90
17th February 2006, 12:06
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 ..

falko
17th February 2006, 19:43
You've already posted this before...
I'd really like to help, but I have no clue what's wrong on your system... :confused:

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

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

falko
18th February 2006, 12:38
Do u need any additinal machine settings to solve this issue ?
Thx
gimhan
I don't think this would help... :(

gimhan90
20th February 2006, 13:47
I don't think this would help... :(


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 ?

till
20th February 2006, 14:34
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 ?

The webftp does not have an logfile.

And Can u give some hint to resolve this issue ?

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

falko
20th February 2006, 16:16
You can have a look at the FTP log file /var/log/xferlog.