FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » File Manager bug
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
File Manager bug [message #16434] Fri, 30 January 2004 10:42 Go to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
Hello,
The file manager doesn't seem to like zero byte files. It's not possible to upload such a file (Seems to be an issue with boolean 0 (= false) or 0 as figure).

Expected result: Upload the file despite having zero byte as filesize.

Actual result: reload and nothing has changed (no file added)

forum affected: 2.6.0 stable

Olliver

[Updated on: Fri, 30 January 2004 10:43]

Report message to a moderator

Re: File Manager bug [message #16440 is a reply to message #16434] Fri, 30 January 2004 15:18 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
This has nothing to do with FUDforum. You won't be able to upload 0 byte files with PHP either (outside of FUDforum).

FUDforum Core Developer
Re: File Manager bug [message #16452 is a reply to message #16440] Fri, 30 January 2004 17:54 Go to previous messageGo to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
I didn't know about that limitation of PHP. How about a facility to create a new zero byte file as a substitute? Just like we'd do with "touch xy.z" on the shell. Then it wouldn't matter if uploading doesn't work.

Olliver
Re: File Manager bug [message #16454 is a reply to message #16452] Fri, 30 January 2004 18:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
In all honesty I don't see much use in 0 byte files. If you want to create those just add it manually. PHP already has a touch() function so this should not be difficult to implement.

FUDforum Core Developer
Re: File Manager bug [message #16464 is a reply to message #16454] Fri, 30 January 2004 21:13 Go to previous messageGo to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
This was just a suggestion, nothing more. I know how to implement such things, but that wasn't the issue (else I'd chose a different category and would ask how to perform such a task)

Olliver

[Updated on: Fri, 30 January 2004 21:14]

Report message to a moderator

Re: File Manager bug [message #16465 is a reply to message #16464] Fri, 30 January 2004 21:18 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Hence my reply Smile.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: New Topic button always appears
Next Topic: pathinfo issues
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 22:15:04 GMT 2024

Total time taken to generate the page: 0.03283 seconds