Can't upload files on DA interface

hddweb

Verified User
Joined
Dec 2, 2004
Messages
27
Hi I'm having trouble uploading files through the DA control panel. I can FTP just fine, but I can't seem to upload files on any account from the control panel. NO files will upload, I tried single images, single word docs, single html pages, nothing will upload.

After I try to upload a file it will ays "Upload Successful", but when I go back to the folder there is nothing there. Anyone know what the problem is?
 
Are you running the latest version of DirectAdmin? Has the filemanager upload feature ever worked?
What operating system are you running?
 
1. Yes it should be the latest version.

2. It worked when I last tried a few months ago

3. Linux RH Enterprise 3
 
Have you done any upgrades since it stoped working?

Since no error is provided, it is very hard to give you a solution. Are there any more detailed messages in any of the logs?

If you don't find anything there you might ask DirectAdmin to take a look at this problem if your plan includes support.
 
I have just upgraded to 1.24 and this problem is now occuring for me aswell on Debian 3.0, which would indicate some sort of bug.

I have sent an email to DirectAdmin regarding this issue.
 
Hello,

I was unable to duplicate it on any of our build systems.. so I'd need to see an affected system.

As a background, the file uploader first saves the data to a temp file in /home/tmp. The the request to upload is parsed from the httpd request. DA then changes the permission on the files to the owner of the file. It drops it's privileges to the user, then moves the file to the final location in the users home directory.

/home/tmp should be chmod 1777. Just browse over this info, and check it helps any. If not, then send your IP, root pass, and affected username to [email protected]

John
 
Thankyou for the fast response :)
The tmp directory was missing, I recreated it and it is working fine again.

May I suggest however that DirectAdmin report failure if the /home/tmp directory does not exist or have proper permissions set.
When the directory did not exist DirectAdmin would still say that the upload was successful, but would not include information about the file uploaded (full path).
 
I had the same problem, must make first tmp dir in home,
but my own script will not working , it does not upload the files
 
Back
Top