Thread: Uploading Zips

  1. #1
    Handy Andy andyhunter's Avatar
    Join Date
    Dec 2004
    Posts
    540

    Uploading Zips

    So why can't we upload zip files anymore? It makes it kind of difficult to provide some sample code where there are resources or multiple files.
    i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced

    It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah

    Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem

  2. #2
    Bob Dole for '08 B0bDole's Avatar
    Join Date
    Sep 2004
    Posts
    618
    hmm thats weird, you can still attach full c and cpp files though
    Hmm

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Ah.. well that explains a recent problem in the C++ board...

  4. #4
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    The problem was that people were attaching executables by zip-ing them. At the same time .zip was removed .cpp, .h, .c was added.

  5. #5
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    How is not allowing .zips getting rid of .exes being uploaded? If someone really wants to upload an exe and it's a virus, they'll find a way to do it. Also, were there actually problems being caused by exes being uploaded? I hadn't heard of any, but then again, I've been away from the boards for a while with christmas break and all...*shrugs*

    But also, as posted recently in this post:
    http://cboard.cprogramming.com/showt...3&page=4&pp=15

    Near the bottom there....

    People can still upload .zips, .exes, .pdfs, .bobs, .smiths, .sallys, whatever you want to upload, just rename it to one of the allowed file types and there ya go.

    I just don't see the purpose in making it harder to bundle source code in posts when people can still do it anyway.

    My two cents

  6. #6
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Quote Originally Posted by jverkoey
    How is not allowing .zips getting rid of .exes being uploaded? If someone really wants to upload an exe and it's a virus, they'll find a way to do it. Also, were there actually problems being caused by exes being uploaded? I hadn't heard of any, but then again, I've been away from the boards for a while with christmas break and all...*shrugs*
    The majority of people who would spread a virus by uploading an exe are, more than likely, not skilful enough to get it uploaded in any other way. More often than not, stopping exes will stop them.

    The fact that we haven’t really had actual problems in the past with this is a good thing; this will just make sure things stay that way. Waiting for a crisis before reacting isn’t really the best policy is it?


    Quote Originally Posted by jverkoey
    But also, as posted recently in this post:
    http://cboard.cprogramming.com/showt...3&page=4&pp=15

    Near the bottom there....

    People can still upload .zips, .exes, .pdfs, .bobs, .smiths, .sallys, whatever you want to upload, just rename it to one of the allowed file types and there ya go.
    But running a "smith" file or a "sally" file wont usually infect anyone will it? Unless they are really stupid enough to change the extension. You cant really do anything for people that stupid, can you?

  7. #7
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    Yah, of course a .smith/.sally file isn't going to run as an exe, but, hmm, is even possible for exes to be run inside of a .zip file when people are downloading it? I don't understand how a file could be run on the server, so you must be talking about people download a file and running it, when it's a virus. Well, we could just enforce a policy of not running exes and if you do that's your own problem.

    It just seems unfair to make people not be allowed to use .zips anymore for uploading packages of code.

  8. #8
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    Uploading multiple source files is simply too tricky at the moment.

    Surely it would be possible to scan a ZIP file to make sure it only contained known source file types (c,h,cpp). If the ZIP file contains other file types, it won't be attached to the post (at least not immediately).

    Or maybe the board could automatically append to the post some large red writing warning that the attachment contains executables, and advising downloaders to exercise due caution.

    Face it, even if you have the source code, and that code contained
    system( "format c:" );
    I would not be surprised if some dolt actually tried to compile and run it, if it were called game.c for example.

    Or maybe ZIP attachments are held in a quarantine area until a mod has had chance to look at them, then decide whether it's suitable for the viewing public.

    Sure people have occasionally uploaded executables without source code, but they get pretty routinely jumped on for doing so.

  9. #9
    Handy Andy andyhunter's Avatar
    Join Date
    Dec 2004
    Posts
    540
    I am not even concerned about uploading executables, I think it is a bad idea. Even if you weren't trying to upload a virus if your system is infected you could do so without your knowledge.

    All I am saying is there is a size limit to what you can upload in a single shot. This is extremely limiting especially when it comes to windows and game programs. I mean if you want to upload a demo for DirectX or something that contains multiple sprites well, how are you going to do that if the sprite images are larger than the maximum upload size?

    Additionally the more involved you become with windows development the larger the applications become. This makes for a limiting factor if you want to upload source code as an example, aka a full working program vice just code snippets.

    But alas, whatever the mods want to do it is their right. I am just looking for some clarification.
    i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced

    It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah

    Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem

  10. #10
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    how are you going to do that if the sprite images are larger than the maximum upload size?
    Offsite linking
    Additionally the more involved you become with windows development the larger the applications become. This makes for a limiting factor if you want to upload source code as an example, aka a full working program vice just code snippets.
    In all honesty if you posted a program that you needed help with and the source exceeded the max upload size you won't get much help. Not many are willing to read that most code to solve a probelm for you.


    If I can get my hands on the vBulletin code I probably could modify it to check the zip's contents and allow/disallow based off of that. But as I'm not gonna pay for it I guess I won't be able to

  11. #11
    Handy Andy andyhunter's Avatar
    Join Date
    Dec 2004
    Posts
    540
    Thanx for the reply. I wasn't suggesting someone upload a program that size for help. I was saying if you wanted to upload a demo that would show off some concepts common to the thread and additionally answer some that weren't asked yet, aka by providing a working complete sample program, that it would become difficult. Especially with all the resources that go into some of those.
    i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced

    It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah

    Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem

  12. #12
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    Face it, even if you have the source code, and that code contained
    system( "format c:" );
    I would not be surprised if some dolt actually tried to compile and run it, if it were called game.c for example.
    Hehe, had to go back and find this thread: http://cboard.cprogramming.com/showthread.php?t=40209

    Check out t_rex's reply
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  13. #13
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    Quote Originally Posted by JaWiB
    Hehe, had to go back and find this thread: http://cboard.cprogramming.com/showthread.php?t=40209
    LMAO

    wow, that is honestly a new low for stupid people.....

  14. #14
    Rad gcn_zelda's Avatar
    Join Date
    Mar 2003
    Posts
    942
    What are you talking about? I... did... that...


    Wait a second...

  15. #15
    ---
    Join Date
    May 2004
    Posts
    1,379
    HAHA I cant believe someone could be so stupid!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Uploading generated files automatically
    By afflictedd2 in forum Linux Programming
    Replies: 1
    Last Post: 11-13-2008, 02:51 PM
  2. Uploading & Downloading >
    By arron in forum Networking/Device Communication
    Replies: 5
    Last Post: 01-04-2006, 12:59 AM
  3. Uploading exe's
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 05-20-2005, 08:42 PM
  4. Copying binary files, like ZIPs
    By frenchfry164 in forum C++ Programming
    Replies: 4
    Last Post: 03-16-2002, 03:54 PM