#3364 Zero file size on uload / overwrite

closed-fixed
Jamie Cameron
5
2009-03-24
2009-03-24
John Le Guen
No

I am getting a problem when I try to upload a file and overwrite it. The file ends up with a zero byte file size. If I delete the file first and upload it works, this is a suitable workaround.
I am using PCLinuxOS2007 on one server and Ubuntu 6.06 on another. Both are exhibiting the same problem. On the Browser I am using Sun JDK1.6.0_10 on Firefox 3.0.7.
I began to look at the java source in the distribution but ran into difficulty finding the netscape JSObject class. If anyone can help me find this I can take a deeper look.
I have attached a screen shot of the file manager after uploading wksp10.zip and wksp9.zip were uploaded with overwrite. wksp11.zip was deleted first.

Discussion

  • Aleš Horvat
    Aleš Horvat
    2009-03-24

    It started doing this in the 1.460 version - I'm getting the same error. If the file already exists on the server, it will overwrite it with a 0 byte file. If you delete it first and then upload it, it will be uploaded correctly.

    I'm using Opera -> Server running on CentOS Linux 5.2

     
  • Jamie Cameron
    Jamie Cameron
    2009-03-24

    Thanks, I see the cause of this. An update to the File Manager module is now available at http://www.webmin.com/updates.html

     
  • Jamie Cameron
    Jamie Cameron
    2009-03-24

    • status: open --> closed-fixed