How to get the FTP clients to work?

This is something that (to me at least) should be trivial but I just can't
get it to work at all.
How do you get an FTP client to work?
I've tried several GUI clients as well as the terminal FTP command and they
all seem to get stuck entering passive mode - according to the log entries
they send the command.... And then nothing or a timeout, the following is
from the terminal FTP command:
Titania:~ susan$ ftp ftp.apple.com
Trying 17.254.16.11...
Connected to ftp.apple.com.
220 17.254.16.11 FTP server ready
Name (ftp.apple.com:susan): anonymous
331 Anonymous login ok, send your complete email address as your password.
Password:
230 Anonymous access granted, restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
501 EPSV: Operation not permitted
227 Entering Passive Mode (17,254,16,11,223,157).
200 PORT command successful
421 Service not available, remote server timed out. Connection closed
ftp>
In my System Preferences -> Network panel in the Proxies tab, I have the
"use Passive FTP mode (PASV) checked.
I also have checked the FTP firewall option (but I think that is only if I'm
acting as an FTP server).
I am connected to the internet via a Netgear wireless router.
I also have an old Windows laptop that also uses the same wireless router
and it can FTP quite happily!!!!!
Any suggestions would be gratefully received.
Susan

ejn - thanks for your continued assistance.
I've tried turning the firewall off but this does not appear to make any difference(*). Also, I have Parallels installed and I'm sharing the internet connection with this (even though Parallels itself is not currently running). Turning this sharing off doesn't seem to change anything either.
I have noticed some entries in the ifpw.log file that coincide with some of the ftp actions. Given the following terminal session:
Titania:~ susan$ ftp ftp.apple.com
Trying 17.254.16.10...
Connected to ftp.apple.com.
220 17.254.16.10 FTP server ready
Name (ftp.apple.com:susan): anonymous
331 Anonymous login ok, send your complete email address as your password.
Password:
230 Anonymous access granted, restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
501 EPSV: Operation not permitted
227 Entering Passive Mode (17,254,16,10,245,46).
200 PORT command successful
421 Service not available, remote server timed out. Connection closed
ftp>
at the time the "200 PORT command successful" is displayed, the ifpw log starts showing:
Sep 5 09:11:21 Titania ipfw: 12190 Deny TCP 17.254.16.10:20 192.168.0.5:49162 in via en1
Sep 5 09:11:24 Titania ipfw: 12190 Deny TCP 17.254.16.10:20 192.168.0.5:49162 in via en1
Sep 5 09:11:27 Titania ipfw: 12190 Deny TCP 17.254.16.10:20 192.168.0.5:49162 in via en1
Sep 5 09:11:30 Titania ipfw: 12190 Deny TCP 17.254.16.10:20 192.168.0.5:49162 in via en1
Sep 5 09:11:33 Titania ipfw: 12190 Deny TCP 17.254.16.10:20 192.168.0.5:49162 in via en1
Sep 5 09:11:36 Titania ipfw: 12190 Deny TCP 17.254.16.10:20 192.168.0.5:49162 in via en1
Sep 5 09:11:42 Titania ipfw: 12190 Deny TCP 17.254.16.10:20 192.168.0.5:49162 in via en1
which makes sense as the system tries to go for an active transfer.
(*) Actually, while I've been writing this, I've been playing on the terminal as well. I've found the combination of:
1) turning off the firewall
2) starting ftp
3) issuing the 'passive' command to turn off passive mode
4) issuing 'ls' etc. works
Looks like I've not been waiting long enough for the ftp client to get sick of trying the passive transfer and switching to an active one with the firewakk turned off!
Still doesn't answer the question - why does passive mode not work?
Susan

Similar Messages

  • How to get the real client ip from HttpClusterServlet?

    Hi All,
              WL 6.0 sp2 on Linux.
              When HttpClusterServlet is used, invoking HttpServletRequest.getServerName()
              will return the server name of the proxy server where HttpClusterServlet
              installed,
              rather than the actual client's ip which we are interested in.
              Anybody knows how to get the correct client ip through the proxy server? Any
              workaround? Or does a patch exist?
              Any help will be appreciated,
              Lynch
              

    Sorry I mean HTTPServlet.getRemoteAddr()
              "Lynch" <[email protected]> ¼¶¼g©ó¶l¥ó
              news:3baea0c5$[email protected]..
              > Hi All,
              >
              > WL 6.0 sp2 on Linux.
              >
              > When HttpClusterServlet is used, invoking
              HttpServletRequest.getServerName()
              > will return the server name of the proxy server where HttpClusterServlet
              > installed,
              > rather than the actual client's ip which we are interested in.
              >
              > Anybody knows how to get the correct client ip through the proxy server?
              Any
              > workaround? Or does a patch exist?
              >
              > Any help will be appreciated,
              > Lynch
              >
              >
              

  • How to get the garbage collector to work?

    Hi,
    i have i program where i load an image scale it down and save the scaled version in an array. I do this for a whole directory of images.
    After every image i set the temporary variable for the loaded image = null and call the function System.gc().
    My problem is, that the garbage collector does�nt give the memory of the loaded image free and the used memory of my program grows with every loaded image.
    /* Reads all images from a folder an stores them in an Array of images */
         public static BufferedImage[] readScaledImagesFromFolder(String folder,
                   int maxSize) {
              File dir = new File(folder);     /* Open the Folder */
              String[] children = dir.list();          /* Get the children of the folder */
              if (children == null) {
                 // Either dir does not exist or is not a directory
                  System.out.println("No images in the folder!");
                  return null;
             } else {
                  /* Init array for images */
                  BufferedImage[] images = new BufferedImage[children.length];     
                  int i = 0;
                  int index = 0;
                  BufferedImage temp;
                  String filename, fileending;
                 for (i=0; i<children.length; i++) {
                      // Get filename of file or directory
                     filename = children;
         /* Get the fileending of the file */
         fileending = filename.toLowerCase().substring(filename.length()-4);
         if(fileending.equals(".jpg") || fileending.equals(".bmp")
                   || fileending.equals(".png") || fileending.equals(".gif"))
              /* Read the image */
              temp = util.ImageUtils.loadBufferedImage(folder+"/"+filename);
              /* Scale the image down and save it in an array */
              images[index] = Util.getScaledImage(temp,maxSize);
              index++;          
         temp = null;
         System.gc();
         Mosaic.sourceImageNum = index;
         System.out.println((index+1)+" resized pictures loaded from folder: "+folder);
         return images;     
    How can i get the gargabe collector to work after every iteration?
    I tried to let the Thread.sleep(10) after System.gc() but it does�nt help.
    Thank you every much
    JackNeil

    Hm yes.. i now that System.gc() is only a
    suggestion.
    But i know what my program is doing and that it
    does�nt need the temporary image anymore after i have
    a scaled down version. And the temporay image will become unreachable as soon as reading the next one overwrites your temp variable. Setting the variable to null doesn't have much effect.
    It would be smarter to load the new image over the
    old temporary image and not to expand the heapsize to
    maximum.Then look at the possibitly of loading the next image into the same bufferedimage.

  • How to get the real client ip by the request header like asp/php,etc?

    I want to get the real client ip by request.getHeader("HTTP_X_FORWARDED_FOR"), who use the proxy server to access my site, the way asp/php using, however, I got nothing. Does jsp support the similar header from request, if yes, how to do?
    thanks for your tips.
    frederick

    I want to get the real client ip by request.getHeader("HTTP_X_FORWARDED_FOR"), who use the proxy server to access my site, the way asp/php using, however, I got nothing. Does jsp support the similar header from request, if yes, how to do?
    thanks for your tips.
    frederick

  • How to get the Wiki search functionality working?

    hi,
    Another Wiki question regarding the 7.1u1 Portal wiki functionality: What is necessary to get the wiki search functionality working? Right now when using the wiki search page all it does is return to the search form, no errors but no hits either. I guess some additional administrative work is needed to get search working?
    thanks, tom

    haven't touched anything except for the wiki template jsps to change the design. it is a linux rh4 install. there are no communities on that server (yet), just the wiki portlet in a tab so far. is the wiki search dependent on the portal search server or totally separate (ie self contained wiki search)? any additional services or such that need to be started for it to work?

  • How to get the OPC Client (VC++ example program) to work? Having DataSocket problems...

    I'm trying to get our custom software (written in C++ by someone else) to talk with a NI FieldPoint device. The device works fine, and can communicate perfectly with the FieldPoint Explorer.
    Our software uses the ComponentWorks DataSocket ActiveX control (cwds.ocx) to talk with an OPC Server which in turn communicates with the FieldPoint device. (I think this is what happens, but my detective work is far from complete). The call to Create the datasocket results in an error:
    Can't connect to URL step 4 (0x800c000d)
    I think this error comes from our code and I believe that the URL is not the problem.
    This led me to investigate whether the DataSocket is working at all.
    I downloaded the sample application called OPC Client, compiled it into a Release version executable ran it on my client machine.
    I believe the Browse button is supposed to bring up a list of OPC servers, but instead i get the error message:
    OPC Client, Member not found.
    I have installed and registered every possibly related .dll and .ocx file I could find, but believe that I am still missing something. If anyone could help me get this example program working, I think it would go a long way towards solving my overall problem.
    Thanks,
    Eric
    Process Instruments, Inc.

    Another clue: In reading the KB article called "Redistributing a ComponentWorks Application Built with DataSocket" (Document ID: DIRECT-45GPQQ) I came across this line:
    "If you want to use OPC browsing, include BVOPCClient.dll."
    This seemed like the thing to do, but I couldn't find it on my client or development machine. However I did find it on an old development machine that was used to develop the original software that I am working on, and happens to be the only machine on which the OPC Client example program works. (I can't test my code on this machine because the instrument isn't connected to it.)
    I copied the file BVOPCClient.dll into the C:\WINDOWS\SYSTEM directory on my client machine and then tried to register it with regsvr32.exe. I go
    t the following error message:
    c:\windows\system\BVOPCClient.dll was loaded, but the DllRegisterServer entry point was not found. DllRegisterServer may not be exported, or a corrupt version of c:\windows\system\BVOPCClient.dll may be in memory. Consider using PView to detect and remove it.
    I then found a newer version of BVOPCClient.dll on your site and downloaded that with the same result.
    I then reinstalled FieldPoint Explorer 3.0 with all options checked AND ComponentWorks 2.01 with all options checked to see if the .dll would show up and be registered that way. No dice.
    Do you think this .dll may be the key to getting my OPC Server communicating? And if so, what is my problem with registration? I am a newbie when it comes to regsvr32.
    Thanks,
    Eric

  • How to get the loaded client sequence file path/name?

    I added a step in Process model, and wanted to get currently loaded client sequence file name/path. I used the variable of "SequenceFile.Path" but then I realized what I would get is the process model file path, not loaded client sequence file path/name. How can I get loaded client sequence file path/name?
    Thanks!
    Jacky

    I dont understand what you are trying to achieve.  Can you provide more information.
    If you are trying to dynamically load and run a client sequence file at run time you need to make a couple of calls to the TS API from inside the process model, Engine.GetSequenceFileEx to get a reference to your sequence identified by its pathname, and then Execution.ClientFile to tell the process model which sequence you want to run.
    Steve
    There are 10 types of people in the world that understand binary, those that do and those that don't.

  • How to get the wireless router to work when i change to new modem and internet connection

    I already set up my wireless router in my macbook but then moved to a new house and basically have a new internet connection. My internet connection is fine when i connect the ethernet cable form the modem to my macbook. But when i plugged in the wireless router, my computer sees it but will not connect to the internet. I lost my installation CD and i tried to re-install using the dowloaded installation but it goes into error saying i can't re-install if i don't change back to default.. anyway, maybe the solution is simple but it eludes me so please help!
    In summary:
    1. same macbook
    2. same wireless router
    3. same internet provider but new connection and modem (since i moved to a different house)
    how do i get my wireless router to work? thanks!!!

    Who is your Internet Service Provider(ISP)?
    If you have a cable connection then follow this link and if you have a DSL connection then follow this link to configure your router.

  • My FTP client rejects my password yet the web access to file manager remains intact. What do I need to do to get the ftp client to allow me access

    I have access to upload files...to my business catalyst site through a browser.
    My FTP client route is non functional as it has started to reject my password.
    this is the second occurance of this type.
    Id use the browser access only but as it wont accept html files I need the ftp access as well
    What could be happening and how do I solve this issue.?

    I changed ,my password yesterday.  finally  gained access via my ftp client this morning.
    Thank you

  • Help! How to get the Java Communication Package work in JDK1.3.1?

    I downloaded a Java Communications API Win32 ver 2.0 from java.sun.com, and try to use it to do some programming to communication ports with JDK1.3.1.
    I failed. When I tested with the samples (BlackBox, SimpleRead) coming with the javax.comm. It showed "no serial port found", something like that. I check the installation Instructions of the comm. package, it only described the installation under JDK1.1 and the pre-release version of JDK1.2. (and the installation of the same package in JDK1.1 and JDK1.2 are totally different.)I tried the specification with my JDK1.3, but it doesn't work.
    Who knows how to install the Javax.comm package in JDK1.3.1? Please let me know as soon as possible. Thanks a lot.

    This comes straight out of the FAQ that you got with your download:
    Q: My application does not find any ports when it enumerates available ports.
    Q: BlackBox gives me a message that says "No serial ports found!"
    A: In order for the Java communications API to find ports the file
    javax.comm.properties must be in the correct place. The preferred location
    is in <jdk>/lib. See the installation instructions for alternate locations
    and further information.
    Installation is very simple. Comm is a standard extension, so copy comm.jar to %JAVA_HOME%\jre\lib\ext
    This is all in the docs....

  • How to get the SupportCenter Nav to work ?

    Hiya All
    I am trying to get the [url[/url]Nav_SupportCenter-C#.zipsample working in a dev 5.0.2 environment.
    I can compile the code cleanly.
    Have modified the CustomActivitySpaces.xml file to look for the new dll.
    Placed the dll in the ..\webapp\portal\bin directory.
    On start up the file is discovered and loaded.
    In the sub portal manager I can select the new nav scheme
    When I log in to the sub portal containing the new nav scheme it doesn't appear.
    PTSpy return the following error on login
    5537 03-05 13:26:45 Error Portal UI - Common 3556 1588 com.plumtree.pscportalnavigation.views.PSCNavigationCommSectionDropDownView.DisplayJavascript(pscnavigationcommsectiondropdownview.cs:line 354
    ) DisplayJavascriptCrash in pscportalnavigation while evaluating navigation setting for community ID's System.NullReferenceException at com.plumtree.pscportalnavigation.views.PSCNavigationCommSectionDropDownView.DisplayJavascript() in d:\projects\leightons\support center nav\pscnavigationcommsectiondropdownview.cs:line 326
    The offending piece of code that trows the error is
    strKeyValue = vp.GetVarPackValue("commID").ToString();
    I suspect the string commID isn't in the varpack. What is the correct string id to make this work.
    Cheers
    Bob

    Mr. Singh,
    Each community you add to the NavigationSettings.xml commID node will appear in the support center tabbed list. That's the way that navigation works. It's one-dimensional, i.e., it doesn't support a concept ofubcommunities; they're all treated the same way.
    If those same communities happen to also be mandatory, they'll show up on the mandatory list.
    If I were you, I would make the communities not mandatory, or only make one of them mandatory. Anyone navigating to that one mandatory community would see the new navigation, with tabs showing all the other communities listed in NavigationSettings.xml. In a way, this is a "second set" of mandatory communities, in the sense that the UI presents them.
    Of course, you'll have to change the community security so that anyone can fully browse those communities. This is the approach we use on our own site.
    If this behavior is not precisely what you want, you'll need to modify that navigation code. Keep in mind that the support center navigation is not supported code, as is clearly stated on the Support Center where you downloaded it; it is simply an example to demonstrate other ways to write pluggable navigations. It also demonstartes the concept of "navigation switching" pretty well - when you're not on one of the communities listed in the XML file, you see the normal navigation. You can modify the code to show any navigation you want as "normal".
    David Phipps
    Plumtree Software

  • How to get the correct client certificate used in the two way ssl

    how to export the certificate in browser to the correct client certificate format needed by the WLSSSLAdaptor?
    I can export the certificate in browser to p12 or pfx format, but how to retrieve the private key from it and convert to PKCS#8?
    anyone did this before?
    Thanks

    Hi,
    Use the event after_user_command.When the user clicks any other buttons in the toolbar,this event will be triggered after the processing and you can handle the sub-total for % columns here.
    Regards,
    Archna Raja

  • How to get the arrow keys to work in 2D game?

    I am designing a 2D game (Applet) in which the objective is to move a dot from one end of the room to the other.
    how do i get the dot to move in all 4 directions, please help.
    If you may, please mention a few EXCEPTIONAL tutorials on JAVA game design.

    The best (?) way is to use a KeyListener. http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/KeyEvent.html
    In the class that you want the keyevent to occur, put this in your class declaration implements KeyListener { Then somewhere in that class, put addkeyListener(this);. You need to have three methods in this class - keyTyped(KeyEvent e), keyPressed(KeyEvent e) and keyReleased(KeyEvent e).
    Here's a sample.
    public class Example extends JFrame implements KeyListener
         //some code goes here...
         public void keyTyped (KeyEvent event) {}
         public void keyReleased (KeyEvent event) {}
         public void keyPressed (KeyEvent event)
              int key = event.getSource();
              if (key == KeyEvent.VK_UP)
              //etc.
    }

  • HOW TO GET THE VOCODER PLUG IN WORKING ?

    I have done alot of work with hardware but have not worked with a plug in before how does this work with logic ?
    Thanks

    I answered this one yesterday. You could use the Foum's search function
    http://discussions.apple.com/message.jspa?messageID=6666244#6666244

  • How to get the wireless mouse to work

    my mouse isnt working

    I also have a problem with Microsoft Wireless Mobile Mouse 3000.  I lost the original dongle and bought a Bluetooth (TM) Usb dongle v2.0, which had only PC software disc included.  I cannot locate any mac software or drivers for the dongle.  Any suggestions on how to resolve connectivity? I

Maybe you are looking for

  • Hard drive filling up, can I use external hard drive for my library?

    Hello all! My hard drive on my Sony laptop only has 30G harddrive, and as I am downloading my Cd collection and buy it tunes videos etc., into my ipod, my computer is slowing down and overloading because of all the other programs I have in there. So

  • Iterate through all the records in a table using Java API

    Hi All, What is the easiest way to iterate through all the records in a given table using Java API? I cannot find any methods that will return all records in a table and the only way I can use is to perform a free form search with a condition that is

  • Wireless channel from WRT400N to WAG600N adaptors.

    I am using three WGA600N adaptors connecting the WRT400N Router to DirecTV HD boxes. When I check the Channel connection all three of them are on the same channel. Is this normal? It seems to me that they should all be on a different channel. Thanks

  • Yet another hung start on HP Envy 15

    This machine has had "issues" almost since new, drivers wouldn't load, it got to the point where I had shortcuts on the desktop to install them. Programs listed in Run in the Registry didn't start, so I made shortcuts in the Windows Start folder, tha

  • Scrubbing numbers problem.

    Ever since I updated a long time ago, I have been having issues with scrubbing numbers by clicking on the number and dragging my mouse left or right to increase or decrease the value. Issues meaning: when I begin to move the mouse to the left or righ