Announcement

Collapse
No announcement yet.

Trouble uploading files to internet

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Trouble uploading files to internet

    I seem to be having trouble uploading files to the internet, mainly with ftp, although it seems to apply to http website file uploading too.

    I have tried a number of solutions to this from filezilla, fireftp (add-on to firefox), and even dreamweaver through wine, but with similar results. I can connect to the server, and upload one maybe two files, but after that the connection times out and I it seems to refuse to upload any more files. With fireftp and filezilla it'll reconnect after the timeout, but not upload the file >

    Any suggestions about where to look or what to do, any logs I can provide?

    David

    #2
    Re: Trouble uploading files to internet

    That's seems to be a network problem, or less probable the server itself is applying kind of policy.
    If the application itself (ftp) does not provide logs, system could report something at /var/log/messages

    Anyway, you can check somethings. Do you know which is your NIC name? mine is eth0. So
    Code:
    ifconfig eth0
    eth0 Link encap:Ethernet HWaddr xxxxxxx
    inet addr.x.x.x Bcast.x.x.x Mask.x.x.x
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:3032302 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2642492 errors:0 dropped:0 overruns:0 carrier:0
    collisions:17878 txqueuelen:1000
    RX bytes:3420046398 (3.1 GB) TX bytes:1384413639 (1.2 GB)
    Interrupt:5 Base address:0xe000


    When your connections is on, repeat the command above. Does it constantly increase any of the bold numbers above? That would point to a physical problem on your computer (cable, modem, NIC, whatever...)

    You may check the network stats too
    Code:
    netstat -s -t
    this is a long output, you may study it a bit. Pay attention to
    366 failed connection attempts
    135 connection resets received
    56205 segments retransmitted
    352 bad segments received.
    772 resets sent


    Increasing them constantly may indicate MTU problem in your path to the server. This is hard to verify specially because this debug information is discarted in order to prime for security, so I believe the command bellow will not work for you
    Code:
    tracepath [url]www.<your[/url] server>.com
    Anyway you may try it.
    Good luck.

    PS: after checking, a good advice would be opening a ticket at your ISP if this is the case

    Comment


      #3
      Re: Trouble uploading files to internet

      Thanks for your reply.

      I would like to point out that I have no problem using ftp while booted into windows, which suggests to me that it is a configuration setting somewhere. I've considered whether my router is getting in the way somehow ... but not sure why.

      here is the output from those commands:
      ifconfig ath0

      ath0 Link encap:Ethernet HWaddr xxxxxxx
      inet addrx.xx.xx.xx Bcastx.xx.xx.xx Maskx.xx.xx.xx
      inet6 addrxxx:xxxxxxxxxxx/xx Scope:Link
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:92943 errors:0 dropped:0 overruns:0 frame:0
      TX packets:74137 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:96186240 (91.7 MB) TX bytes:12932717 (12.3 MB)
      The "0"'s did not change

      netstat -s -t

      IcmpMsg:
      InType3: 7
      Tcp:
      2333 active connections openings
      2 passive connection openings
      275 failed connection attempts
      233 connection resets received
      5 connections established
      90346 segments received
      70143 segments send out
      264 segments retransmited
      0 bad segments received.
      572 resets sent
      UdpLite:
      TcpExt:
      30 packets pruned from receive queue because of socket buffer overrun
      693 TCP sockets finished time wait in fast timer
      3 time wait sockets recycled by time stamp
      2799 delayed acks sent
      1 delayed acks further delayed because of locked socket
      Quick ack mode was activated 156 times
      11067 packets directly queued to recvmsg prequeue.
      3614334 bytes directly received in process context from prequeue
      54140 packet headers predicted
      2680 packets header predicted and directly queued to user
      4854 acknowledgments not containing data payload received
      3582 predicted acknowledgments
      6 times recovered from packet loss due to fast retransmit
      1 times recovered from packet loss by selective acknowledgements
      75 congestion windows recovered without slow start after partial ack
      14 timeouts after reno fast retransmit
      33 timeouts in loss state
      8 fast retransmits
      11 retransmits in slow start
      148 other TCP timeouts
      912 packets collapsed in receive queue due to low socket buffer
      106 DSACKs sent for old packets
      7 DSACKs received
      48 connections reset due to unexpected data
      115 connections reset due to early user close
      TCPDSACKIgnoredOld: 3
      TCPDSACKIgnoredNoUndo: 2
      IpExt:
      InMcastPkts: 557
      OutMcastPkts: 428
      InBcastPkts: 1247
      OutBcastPkts: 1113
      Any suggestions?

      tracepath www. mydomain .com
      ended with

      31: no reply
      Too many hops: pmtu 1500
      Resume: pmtu 1500

      Comment

      Working...
      X