1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Problem Uploading MS Office files via http

Discussion in 'Networking (Hardware & Software)' started by Redeemer, 2008/06/26.

  1. 2008/06/26
    Redeemer

    Redeemer Inactive Thread Starter

    Joined:
    2008/06/23
    Messages:
    9
    Likes Received:
    0
    Hello,

    I am unable to upload ms office (ms word, excel, etc) files via http to any server on the internet. The computer is not on any corporate network, and the IP address is directly accessible via the internet (no network address translation)

    These are the steps I have tried:
    1. Uploading via https (works)
    2. Tried other non msoffice files (works)
    3. Zipped and sent the msoffice files (works)

    4. Tried to send the file to different servers (completely independent of each other) (did not work)
    4. Uploading using mozilla and internet explorer from windows xp (both dont work)
    5. Uploading from a fresh installation of windows xp (no software, no firewall) (did not work)
    6. Uploading from a virtual machine running ubuntu using mozilla (base machine windows XP) (did not work)

    I viewed the http traffic between the server and me, and found out that the browser was correctly posting the data, however the connection was timing out after that.

    I then used wireshark to see the raw data being transfered. And for a msword file i can see some red lines, which signify some sort of error. Based on the wireshark help files, it seems like there is a TCP RST packet along with either a bad tcp or a checksum error. (I dont know what "bad tcp" means, but that is what the default coloring rules of wireshark call it)

    I could provide those pcap files if required.

    I would appreciate any help or suggestions on solving this.

    Thanks.
     
  2. 2008/06/28
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Uploading how via http? Form on a Web page?

    If Wireshark is running on same computer as is doing the uploading, and it shows errors, then that means that the issue is caused by something on that computer itself. Thus I would check any software firewalls or antivirus programs. Often antivirus will filter certain Office file formats.

    If uploading directly from an application then definitely check any firewall rules for that application.
     

  3. to hide this advert.

  4. 2008/06/28
    Redeemer

    Redeemer Inactive Thread Starter

    Joined:
    2008/06/23
    Messages:
    9
    Likes Received:
    0
    Yes, uploading via http from a web form.

    As mentioned in my original post, i have tried uploading from a brand new installation, (with no other softwares) of windows, without the firewall. And even that didnt work.

    Also, i tried this from a linux based virtual machine. The only way the same firewall could affect that machine is if the said firewall is on an external machine. However, this doesnt seem to be the case.

    One more thing that i realized:
    I am connected to my ISP via a switched LAN. and i am connected to the internet via a PPPoE connection. Even when i try to send doc files to people on the lan via ipmsg it times out... even for really small files.
     
  5. 2008/06/28
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    A switched lan, i.e. at some point traffic goes through a router. There may be SPI in that router w/ rules to block file types.
    Also, to disable the windows firewall, which is ON by default, you need to shut it off in System Properties and also stop it in Services.

    Does uploading via linux work?
     
  6. 2008/07/01
    Redeemer

    Redeemer Inactive Thread Starter

    Joined:
    2008/06/23
    Messages:
    9
    Likes Received:
    0
    I have tried with the firewall off. But i did not know there were 2 places it had to be turned off. Ill try that.

    Also, when i try uploading via linux in a virtual machine it does not work. I have yet not tried linux directly. I will try that and let you know.

    I will be busy for the next few days, so there might be a delay to my next post.
     
  7. 2008/07/02
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Here's something else to consider:

    If uploading via a Web form, and the upload is using HTTP protocol, then the "upload application" resides on the server. The application could also be using FTP via the browser to do the uploading. If it's using FTP then you may need to change a browser setting in IE > Internet Options > Advanced tab: "passive or not passive mode ". If your connection is DSL then you must use passive mode. And some servers require passive mode despite the Internet connection type.
     
  8. 2008/07/02
    Redeemer

    Redeemer Inactive Thread Starter

    Joined:
    2008/06/23
    Messages:
    9
    Likes Received:
    0
    Well, I do not think that will work.

    Like i had mentioned earlier, i cannot transfer word files over ip messenger (http://www.ipmsg.org).
    People cannot even download a doc file hosted via apache from my machine (Not www.basildsouza.com, that isnt on my machine)

    So i think the problem is either with:
    1. The windows firewall
    2. Some software on my machine (Not very likely since i cannot even transfer files from a fresh installation of windows)
    3. An external ISP operated firewall (very unlikely, unless he has a specific grudge on me :) , cause others can upload word files)
    4. My network equipment is mysteriously broken in such a way that only word files get blocked. (I am really fishing for culprits here.. ;) )

    The only thing i can try now is to install / use a live cd of linux and try it. However i donot have the time to do that immediately. So i will let you know of how that turns out.

    Thanks a lot for all the advice so far
     
  9. 2008/07/02
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Give me a link to a download from your local server and I'll use wget on linux so as to see any errors that get spit out. Link to a doc file and link to a jpeg too.
     
  10. 2008/07/10
    Redeemer

    Redeemer Inactive Thread Starter

    Joined:
    2008/06/23
    Messages:
    9
    Likes Received:
    0
    Sorry for the delayed response, but i have been busy, the last week.

    In order for the links to work, my computer at home will have to be on. I will PM you the links, and will try to leave my computer on for the next 24 hours atleast.

    Thanks.
     
  11. 2008/07/11
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    The links you sent to me in the Private Message are NOT to your home server. Please post links to the files on YOUR server.
     
  12. 2008/07/11
    Redeemer

    Redeemer Inactive Thread Starter

    Joined:
    2008/06/23
    Messages:
    9
    Likes Received:
    0
    Those were links to my home server. I had setup a temporary CNAME from that to the proper address (for sake of anonymity)

    Also.. all my other friends on the lan can send me word files, but i cannot send them word files. And we are all with the same ISP. So i guess it rules him out.

    I still havent had time to try it from linux, will do that this weekend.

    Wrt to your private message:
    I am not certain of the size of the file, and since i am not at home i cannot check. But the file was relatively small. Just about 10 lines of text and nothing else.

    Also, files created by my friends, that i havent even opened on my computer cause problems when uploading, so it is unlikely i have a virus on my computer.
     
  13. 2008/07/11
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Understood re the temp cname.
    FYI, I was connecting using Linux and was able to grab the png but not the doc.

    Have you tried uploading/downloading using ssh? ftp? Do the files upload/download via these other protocols? If get joy using ftp or ssh, then it could be a mime-type issue w/ the www server.

    When uploading via a Web form, what scripting language are you using for the upload function? Correct r-w permissions set for the upload dir?
     
  14. 2008/07/12
    Redeemer

    Redeemer Inactive Thread Starter

    Joined:
    2008/06/23
    Messages:
    9
    Likes Received:
    0
    FTP doesnt work, ssh i havent tried, but it might work cause it is encrypted.. and https works..

    one of the sites i am uploading to is
    "http://online.primopdf.com/Default.aspx "

    which doesnt work..
    however
    "https://online.primopdf.com/Default.aspx" works....
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.