Announcement

Collapse
No announcement yet.

FTP problem

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • FTP problem

    Greetings,

    Just registered on this forum, and want to do what's right, so....

    I'm having a hecka'va problem with an FTP issue. Before I post log files, etc. is the "MISC" forum the best place for this type question, or should I move to one of the other topics?

    gris2901
    Last edited by gris2901; 4th December 2005, 00:04.

  • #2
    Re: FTP problem

    Hi,

    You can publish it in this forum. It the forum managers will find out that this question should be moved to another forum, it will be move to the correct forum.

    Regards,

    Yuval
    Best Regards,

    Yuval Sinay

    LinkedIn: https://www.linkedin.com/in/yuval14, Blog: http://blogs.microsoft.co.il/blogs/yuval14

    Comment


    • #3
      Re: FTP problem

      o.k.....here goes. Any tips and/or suggestions appreciated.

      Conventions: xyz server = FTP server giving me problems. Username = me. Problem is on my "home" pc.

      o/s on home pc = Win2K

      Nature of problem: Have been successfully using an FTP site that I have access to for several years.
      I didn't need to log in for a month or two, and when I tried to access it a week or so ago I started having problems.

      Here is what I know: I can log in to server successfully, but when an "ls" or "list" command is issued, FTP connection hangs and then drops (see log files). I can access other FTP sites from my home pc with no problem. Can access xyz.com FTP site from other pc's in my home (on same subnet) so no problem at router level I assume? Can also FTP to xyz.com from work successfully.
      Have tried various FTP clients (SmartFTP, DirectFTP, command line, etc.) same result with all. Have toggled "passive" mode on and off: get different error messages, but same result. Have spoken with server admin who says there were no known server issues/changes. Had ZoneAlarm firewall running
      for long period on home pc with no known issues. Uninstalled ZoneAlarm, just to see what happened…got same result from FTP server.

      Whatever the problem is, it is unique to the xyz.com FTP server from my home pc? Sorry to be so long-winded, but it's driving me nuts.

      see log files below:

      ************************************************** *****************************

      Successful connection log below:
      Initiated from Username work pc to xyz server with passive mode disabled.

      Connecting to www.xyz.com 12/2/2005 8:56:35 PM
      220 (vsFTPd 1.2.1)
      USER username

      331 Please specify the password.
      PASS ****
      230-Username -
      230-
      230-This is your home directory.
      230-I will set you up a web server shortly.
      230-
      230-
      230-
      230-
      230-
      230-
      230 Login successful.
      FEAT

      211-Features:
      MDTM
      REST STREAM
      SIZE
      211 End
      PWD

      257 "/home/username"
      TYPE A

      200 Switching to ASCII mode.
      CWD /home/username

      250 Directory successfully changed.
      PORT 192,168,16,21,14,199

      200 PORT command successful. Consider using PASV.
      LIST -a

      150 Here comes the directory listing.
      226 Directory send OK.
      TYPE A

      200 Switching to ASCII mode.
      CWD /home/username

      250 Directory successfully changed.
      PORT 192,168,16,21,14,200

      200 PORT command successful. Consider using PASV.
      LIST -a

      150 Here comes the directory listing.
      226 Directory send OK.


      ************************************************** ************************

      Successful connection log below:
      Initiated from Username home pc to ftp.smartftp.com server (anonymous) with passive mode enabled.


      Connecting to ftp.smartftp.com 12/3/2005 8:35:11 AM
      220-SmartFTP Server
      220 service ready
      USER anonymous

      331 User name okay, need password.
      PASS ****
      230 User logged in, proceed.
      FEAT

      211-Extensions supported:
      SIZE
      REST
      MDTM
      AUTH TLS
      AUTH SSL
      PBSZ
      PROT
      CLNT
      SSCN
      XCRC
      XMD5
      XSHA1
      EPRT
      EPSV
      MODE Z
      MLST type*;size*;modify*;create*;perm*;unix.owner;unix. group;windows.lastaccesstime;win32.ea;
      UTF8
      211 END
      PWD

      257 "/" is the current directory
      TYPE A

      200 Command okay.
      MODE Z

      200 Command Ok.
      OPTS MODE Z LEVEL 6

      200 MODE Z LEVEL set to 6
      CWD /

      250 Requested file action okay, completed.
      PASV

      227 Entering Passive Mode (213,144,155,6,62,207)
      LIST -a

      150 File status okay; about to open data connection.
      226 Closing data connection. Transfer Complete (104 bytes)
      TYPE A

      200 Command okay.
      CWD /

      250 Requested file action okay, completed.
      PASV

      227 Entering Passive Mode (213,144,155,6,62,190)
      LIST -a

      150 File status okay; about to open data connection.
      226 Closing data connection. Transfer Complete (104 bytes)


      ************************************************** ******************************

      Failed connection log below:
      Initiated from Username home pc to xyz server with passive mode disabled.

      Connecting to www.xyz.com 12/2/2005 10:56:41 PM
      220 (vsFTPd 1.2.1)
      USER username

      331 Please specify the password.
      PASS ****
      230-Username -
      230-
      230-This is your home directory.
      230-I will set you up a web server shortly.
      230-
      230-
      230-
      230-
      230-
      230-
      230 Login successful.
      FEAT

      211-Features:
      MDTM
      REST STREAM
      SIZE
      211 End
      PWD

      257 "/home/username"
      TYPE A

      200 Switching to ASCII mode.
      CWD /home/username

      250 Directory successfully changed.
      PORT 192,168,0,6,8,46

      200 PORT command successful. Consider using PASV.
      LIST -a

      425 Failed to establish connection.
      ERROR 40425 Failed to establish connection.
      TYPE A

      200 Switching to ASCII mode.
      CWD /home/username

      250 Directory successfully changed.
      PORT 192,168,0,6,8,48

      200 PORT command successful. Consider using PASV.
      LIST -a

      425 Failed to establish connection.
      ERROR 40425 Failed to establish connection.


      ************************************************** ********************************

      Failed connection log below:
      Initiated from Username home pc with passive mode enabled.

      Connecting to www.xyz.com 12/2/2005 11:40:20 PM
      220 (vsFTPd 1.2.1)
      USER username

      331 Please specify the password.
      PASS ****
      230-Username -
      230-
      230-This is your home directory.
      230-I will set you up a web server shortly.
      230-
      230-
      230-
      230-
      230-
      230-
      230 Login successful.
      FEAT

      211-Features:
      MDTM
      REST STREAM
      SIZE
      211 End
      PWD

      257 "/home/username"
      TYPE A

      200 Switching to ASCII mode.
      CWD /home/username

      250 Directory successfully changed.
      PASV

      227 Entering Passive Mode (64,6,42,21,244,144)
      ERROR 10060 Data Socket: The current connection has timeout.
      TYPE A

      200 Switching to ASCII mode.
      CWD /home/username

      250 Directory successfully changed.
      PASV

      227 Entering Passive Mode (64,6,42,21,216, 118 )
      ERROR 10060 Data Socket: The current connection has timeout.

      ************************************************** *********************

      If you have read this far in these log files, thank you very much and God bless you.
      Last edited by gris2901; 4th December 2005, 05:35.

      Comment


      • #4
        Re: FTP problem

        Please backup the system, run:

        http://www.shadowall.net/freeware/Ut...nsockXPFix.zip

        and reboot.

        Before all.. Try to remove any antivirus software that you use and access the ftp.

        Regards,

        Yuval
        Best Regards,

        Yuval Sinay

        LinkedIn: https://www.linkedin.com/in/yuval14, Blog: http://blogs.microsoft.co.il/blogs/yuval14

        Comment


        • #5
          Re: FTP problem

          Thanks very much for suggestions, Yuval. I will do as you recommend: backup system, download and run the WinsockXPfix util.

          One followup question though re my A/V software. I use CA eTrust Antivirus and it has a "temporary suspend" feature, which I invoked, and it made no difference in the FTP behavior. Do you think I should totally uninstall it and test FTP before attempting the Winsock fix?

          thanks again,

          gris2901

          Comment


          • #6
            Re: FTP problem

            Ran the Winsock fix util but, unfortunately, exact same FTP problem persists. Yuval, I appreciate your suggestion to try that fix. Any other ideas? At this point I'm pretty much out of my league trying to go it alone and figure this one out.

            thanks again...

            gris2901

            Comment


            • #7
              Re: FTP problem

              I'm still plugging away at trying to get this issue fixed. I am now suspecting that my problem lies at the os level. An arcane Windows security policy setting that somehow got changed...maybe?

              recap...

              As best I can tell from troubleshooting and trying various fixes it's not caused by any of the following:

              ftp client
              firewall/router
              Winsock problem

              Anyone with any idea of what else to look for, please let me know.

              Thanks,

              gris2901

              Comment


              • #8
                Re: FTP problem

                hi,
                what is a timeout value set to ? have you or anyone change / reset it ?

                here is a same problem disccussed on another board , have a look at :

                http://www.techwarelabs.com/communit...opic.php?t=936

                and here are some more FYI :


                http://msdn.microsoft.com/library/de...or_codes_2.asp

                http://www.anzio.com/support/trouble...sockerrors.htm

                http://www.sockets.com/err_lst1.htm

                http://www.mabry.com/whoisx/

                http://www.codeguru.com/forum/archiv.../t-284799.html

                http://www.experts-exchange.com/Appl..._20988764.html

                http://www.eudora.com/techsupport/kb/1357hq.html



                Regards

                Comment


                • #9
                  Re: FTP problem

                  ghemant,
                  thanks very much for reply. on the timeout issue, are you referring to the timeout settings on my ftp client, or the server? the timeout settings on my ftp client is 120sec. I have looked over the links and will go back and study them more for clues to my problem, although I think some of these articles may be beyond my technical level.

                  in summary, do you agree that my problem is client side (on my pc_) and not a server issue, since the server can be accessed fine via ftp from anywhere other than my pc?
                  and if I have eliminated router/firewall/av/winsock/ftp client issues what do I look at next?

                  thanks again,

                  gris2901

                  Comment


                  • #10
                    Re: FTP problem

                    Hi,
                    please try to do some tweak with timeout level and port no seted at client side and server site too (ftp server for which you have problem ).
                    and please go through the thread that discuss the same issue you have it will ended after changing a port no and timeout value.



                    Regards

                    Comment

                    Working...
                    X