How to set FTP Connection type BINARY with the SOCKET

hi all,
manish here.
could anyone help me in setting the Binary type FTP with the SOCKET.....
one thing i tried command "TYPE" and argument "I ". but its not accepting and then the Window gets Hang.
Regards,
Manish

X-post:
http://forum.java.sun.com/thread.jspa?threadID=585104&tstart=0

Similar Messages

  • PLEASE:: FTP Connection type BINARY with the SOCKET

    hi all,
    using SOCKET s in the FTP how can i set the Binary mode transfer.
    i tried the "TYPE" command with the frist argument as "I"....but :(
    Please help me.
    Regards,
    manish

    Socket clientSocket = serverSocket.accept();
    Is used when you want to receive data.
    ... after seding the command it Hangs
    Suggenst you want to send data.
    The fact that Socket clientSocket = serverSocket.accept(); is because what this
    command does is wait untill some client sends you a connection request and when
    that happens accept that connection and create a socket for it.
    When you want to send data you don't need a ServerSocket.
    Socket s = new Socket();
    http://javaalmanac.com/cgi-bin/search/find.pl?l=split&words=socket
    I could not find any samples using ftp, I guess the URL object would wrap your
    messages according to the protocol you want to use and is a better candidate for ftp
    than the socket
    http://www.nsftools.com/tips/JavaFtp.htm

  • How to Set JFilechooser to show file with the same extension in the filetyp

    How to Set JFilechooser to show file with the same extension in the filetypes??
    help

    I also don't understand, but if you mean how to display only files with a certain extension in your JFileChooser then you should have a look at the JFileChooser API:
    http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JFileChooser.html
    The introduction shows an example of how to do that.

  • How to set up an iCloud email with the Apple Mail app

    If your computer does not automatically setup up your iCloud email app then you will have to set it up manually using these mail server settings:
    It worked on my MacBook Running OS X 10.6.8
    support.apple.com/kb/HT4864
    (You may have to copy and paste the link instead of clicking on the link)

    Plug it in, and if desired, set it up in the Displays pane of System Preferences.
    (59734)

  • My iPhone has my old email set up throught iCloud. How do I reset my new username with the device without deleting everything. And if I have to delete my old account, will everything (contacts, pictures, games, apps, etc.) be erased from my phone.

    My iPhone has my old email set up throught iCloud. How do I reset my new username with the device without deleting everything. And if I have to delete my old account, will everything (contacts, pictures, games, apps, etc.) be erased from my phone.

    Your old ID connects to an icloud account containing all your data (email, contacts, etc.)  If you then use a different ID, you will connect to a different account, which results in losing all your "apple" data, like emails, contacts, calendars, etc.
    However, Apple IDs are also used to connect to an itunes store account, with is different.  You can keep using the old itunes store ID to keep all your purchases (but if you change to a different ID, you will lose all purchased items) and use the new ID for icloud (but losing emails, contacts, etc. from the old account).

  • I just purchased an extreme.  I have an express.  The sales guy recommended setting up a hot spot with the express and use the extreme as a base station.  What does he mean and how do I do this?  What are the advantages?

    I just purchased an extreme.  I have an express.  The sales guy recommended setting up a hot spot with the express and use the extreme as a base station.  What does he mean and how do I do this?  What are the advantages?  How do I set this up?????

    I think he means to set up the main extreme as the main router or "main base station", and then use the express to "extend" the network.
    You can look up the manual for your express here for more details:
    http://support.apple.com/manuals/
    Extend the range of your network by adding AirPort Express to your existing AirPortExtreme or AirPort Express wireless network (this is called a Wireless DistributionSystem, or WDS). "
    Extending the Range of an Existing AirPort Extreme or
    AirPort Express Network
    You can extend the range of an existing AirPort Extreme or AirPort Express wirelessnetwork by setting it up in a WDS. Wireless computers can connect to the network andshare the Internet connection, share files, and play network games. If you connect yourAirPort Express to your home stereo, computers on your wireless network can useAirTunes to play music on the stereo from iTunes. If you connect a USB printer to yourAirPort Express, all of the computers on the network can print to it.
    n Open the AirPort Setup Assistant on a Macintosh, or the AirPort Express Assistant on acomputer using Windows XP. Follow the onscreen instructions to extend the range ofyour AirPort Extreme or AirPort Express network.
    Note: Extending the range of a network using WDS may reduce overall networkperformance.

  • How to get online apps to work with the Verizon DSL modem firewall set at "Medium" level, not "Low?"

    How to get online apps to work with the Verizon DSL modem firewall set at “Medium” level? Xbox 360 Live, FTP, and the Windows sntp Time checker native to Windows XP WON’T WORK unless the Verizon firewall is first reset down to “Low.” Then all works well, but I then risk low firewall protection. Setup: · Westell 6100 DSL modem (Software Version: VER:4.04.03.00 Transceiver Revision: 7.2.3.0 Model Name: C90-610015-06), · D-Link DIR-655 wireless router (Hardware Version: A3, Firmware Version: 1.21), For Xbox 360 Live the “canned” port forwarding rule for provided in Verizon’s drop-down list for the Westell 6100 modem forwards ports 88 and 3074 for both TCP and UDP. This does not meet Microsoft’s forwarding recommendations for Xbox 360 Live stated at http://support.microsoft.com/kb/908874. Instead, for the Verizon modem (Westell) I made a new port forwarding rule to comply with those Microsoft instructions. It forwards ports 53, 80 and 3074 for TCP and ports 53, 88 and 3074 for UDP. These same ports are also forwarded in the D-Link router configuration. For FTP, port 21 is also forwarded for TCP and UDP in both modem and router. But they don’t work until I first cripple the Verizon firewall down to “Low.” How to get them to work with the Verizon firewall up to Medium?

    While I do not know the answer to your question, BUT since you have this modem and another router - you could just follow.
    http://www.dslreports.com/faq/13600
    ^^
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • HT1695 How to connect my iPhone with the printers at school? Many thanks

    How to connect my iPhone with the printers at school? Many thanks

    They must be Airprint capable printers... if they are not, then there is no supported way of connecting to them.
    Airprint 101

  • While updating my iphone 4s to ios6, I had to restore it. Now every time I connect to itunes, I get the "Set Up Your iPhone" window with the set up as new iphone and restore from backup options. After the restore, I got everything except my apps back.

    While updating my iphone 4s to ios6, I had to restore it. Now every time I connect to itunes, I get the "Set Up Your iPhone" window with the set up as new iphone and restore from backup options. After the restore, I got everything except my apps and music back. Do I need to set the phone up as new again?

    Hi Vidbrent,
    If you are having issues updating or restoring your iPhone, you may find the following article helpful:
    Apple Support: If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    Regards,
    - Brenden

  • Muse: How to set up a bilingual site with 2 different navigation bars?

    Hi,
    I would like to create a website in 2 languages, desktop and mobile version. The structure of the page remains the same for each language. How should I create the site so that I get one navigation bar for the first language and a second one for the other language? Is it feasible in Muse?
    Thanks for any hint in advance.
    Regards,
    christine

    Hi Christine,
    Some related threads,
    Muse: Multilingual site?
    How can i create a multilingual website?
    how to set up a multilingual website with Adobe Muse and push it live to Adobe Business Catalyst
    Do let me know if you have any question.

  • How to make type flow with the shape of an object?

    Hi there,
    I am a bit of an Illustrator newbie. I am needing some help to work out how to wrap or manipulate type to fit the shape and flow of an object? I have attached an image to show you what I am trying to do. I want the "shop by measure" text to be in the yellow blank space of the tape measure but flowing with the shape of the tape. Any help appreciated! Be gentle please lol.

    See online help. Read about Envelope Distortion. Then keep things simple as you experiment. This takes about 2 minutes.
    When doing "ribbon distortions," selecting corresponding top and bottom MeshPoints as pairs and moving/scaling/rotating them together helps avoid things getting all distorted out of control. See this PDF for an example. The example was done using a 1 Row, 2 Column Mesh.
    JET

  • How to use TYPE addition with the OPEN DATASET ?

    Hi,
    How to use TYPE addition with the OPEN DATASET and what is the use ?
    For Example:
    OPEN DATASET 'test.dat'
      TYPE 'lrecl=80, blksize=8000, recfm=FB'
      FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    Also, if I wish to do the same for a .CSV file how can we do it.
    Thanks,
    -Sid

    Hi,
    OPEN DATASET 'test.dat'
      TYPE 'lrecl=80, blksize=8000, recfm=FB'
      FOR OUTPUT IN TEXT MODE ENCODING DEFAULT
    For more information press F1 on OPEN DATASET.
    Thanks

  • How to set resource connection factory?

    How to set resource connection factory if JMS is upported through JNDI?

    Hi,
    The Simplest Way to Load a Property file (Which is outside of your Application) ..is.
    Just Place the Property file in the Server Classpath...or in the "C:\bea103\user_projects\domains\7001_Domain\lib" folder of your Domain. It means somehow the Property file should be available in the Server Classpath...
    Now Please write the following code in your Application to read the Property file:
    java.util.Properties prop = new java.util.Properties();
    java.io.InputStream stream=this.getClass().getClassLoader().getResourceAsStream(“my.properties”);
    prop.load(stream);
    String hostProperty = p.getProperty(“host.name”);
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com/generalweblogic/   (WebLogic Wonders Are Here)

  • HT4527 Hi My old computer broke down.   I could not transfer anything across to my new PC.  Unfortunately I forgot my old i-Tunes account and set up a new one with the new PC.  However, I cannot now synch my music on my i-pod to my new PC - how can I do t

    Hi My old computer broke down.   I could not transfer anything across to my new PC.  Unfortunately I forgot my old i-Tunes account and set up a new one with the new PC.  However, I cannot now synch my music on my i-pod to my new PC - how can I do this?
    I'm a bit of a technophobe so any help gratefully received thanks

    It has always been very basic to always maintain a backup copy of your computer.  Use this to put eveything back.

  • How to set up iOS calendar app with shared Google Calendar data

    At work (in our small office) I've been given access to the shared Google Calendar that has our work schedule. It was set up using this page (click on Share an existing calendar):
    https://support.google.com/calendar/answer/37082
    The question I have is how to set it up to work with iOS calendar app on my iPhone?

    "currently there is no shared group calendar support."
    Well, not really. You hinted at it with: "set up a group wiki."
    Go into Workgroup Manager and set up an Open Directory group. Add people to it.
    Each client must then go into iCal --> Preferences --> Accounts and add an account. The name and password entered must be the same as that added to the group, Kerberos must be unchecked, and the account URL will be like (fill in the blanks properly):
    http://<your domain name here>:8008/principals/groups/<your group name here>/
    Now each properly logged in user of that group can make changes to the shared group calendar, without any "hacks" like making dummy users and delegation.
    However, I am getting a notifier: "Request Error: Accesss to <event name> in <your group name here> in account <your group name here> is not permitted." But that seems to be a lie, since multiple members of the group can make changes and others can see the changes.
    Oh yea, make sure you have a functioning DNS with valid reverse lookup.
    Message was edited by: Bytesmiths

Maybe you are looking for

  • How to change Page Text in Book Module?

    I am in the process of creating a 158 page photo book to be printed by Blub.  I have created many other Blurb books using their BookSmart software.  This is my first attempt using the Lightroom Book Module. My problem is I would like the change the d

  • Concurrency and Oracle Object Types

    Hi All, I have a question regarding Concurrent usage of an Object type in Oracle. I have a java program which calls an Oracle stored proc with the object's table type as IN parameter. In my stored proc, I am populating an Oracle Object with data rece

  • Batch converting psd images into jpegs in pse 10 or 11?

    I want to batch convert the above. I know i can convert one image at a time. If not can one recommend a batch conversion program which is safe to use and free from viri  and malaware.  Thanks!!

  • Resetting Network Settings? Can't connect at free internet cafe

    I'm having issues connecting to wifi at a free internet cafe. When I start up Firefox, it should go to a logon page where you enter some info like age, location, etc, and after you fill this out you are connected to the free wifi and can browse freel

  • Help with saving attachments from iphone email to my phone

    Hi...can anyone help me with saving photos sent to me in jpg as attachments in email ....can see them in email but unable to save photos? cant seem to find how to in tech. information..thanks!!