FTP connection possible with J2ME?

Hi all,
Does anybody if it is possible to make an FTP connection for a J2ME midlet (like you would make an http connection). If so, how can I do this and where could I find some information about this?
Kind regards

In MIDP 1.0, only HTTP support is required. With only HTTP, you could set up a custom proxy (which could be a Java servlet, CGI script, etc.) that does FTP on behalf of the client. So the client would make an HTTP request to, say, http://www.example.com/ftpProxy?url=ftp%3A%2F%2Fftp.example.com%2Ffoo%2Fbar, and the server-side ftpProxy program would fetch and return the specified FTP URL.
Some phones support raw sockets, in which case a proxy wouldn't be needed and you could implement FTP yourself (by reading the appropriate RFC). But this wouldn't be very portable as there are J2ME MIDP phones that only support HTTP.

Similar Messages

  • WiFi Connection Detection with J2ME

    Does anybody know how to detect the WiFi connection with J2ME? In fact i should ask that question = Is it possible ?
    I guess it is not possible but i need further help....
    A. Cansever

    Describe your network; router, make and model, network security setting...
    Good read:
    http://www.wi-fiplanet.com/tutorials/7-tips-to-increase-wi-fi-performance.html

  • Recurring ftp connection problems with CS3

    I've been experiencing recurring connection problems to a live server.   
    The settings have not changed, and the "test" verifies connection is working.
    I can connect to the site via ftp successfully using the same information.
    All I see in the remote server box is /www/ ,  I cannot open the folder however.
    The only way to resolve is to delete my profile on the computer and recreate.   This fixes it for up to 1 week, but sometimes as little as 24 hours.
    Others who log in to the same machine and use Dreamweaver are able to connect successfully.
    I work on a network and do use 2 separate work stations.   On one of these workstations is also installed Avid Newscutter, the full Adobe CS suite and a programme called Flip (for working with xml).    I had no problems until I started working at this terminal.
    The company technical support is at a loss, so I was hoping folk here might have some suggestions?  I've been using Dreamweaver, various versions both at work and home for many years and have never experienced a problem like this before.
    thanks.
    Karen

    Hi Jon
    I am getting two error messages, one that says that the log on info/password is wrong, the other is a large message that tells me to check everything from cables to firewalls. My provider has recently been updating their systems and I have had to change passwords etc, but they insist that it is nothing to do with them. I am sure that they have changed some protocols or something that dreamweaver won't recognise.
    I am connected to the internet via a cable to a belkin router and have no problems with internet connections.
    I have tested the adobe ftp test connection through dreamweaver which worked fine.
    I haven't tried filezilla - I'll have a look.
    Jane

  • Dial up connection possible with airport?

    Hello, I have a dial up connection for my desktop and am considering buying an airport express so that my laptop can connect with the dial up connection (and I won't have to pay for another phone line) is this the way it works?
    Thanks,
    Ben

    You can set-up internet sharing on the desktop and both computers can share the same connection. It is however quite a complicated set-up, and would be very slow if both computers try to access the internet at the same time.
    If you don't need them to both connect at the same time why not just connect both modems to the same line ?

  • FTP Connection Problem with DW CS3

    Someone gave me some FTP info to use to connect to their
    server and I have never seen FTP info like this nor can I figure
    out how to get DW CS3 to connect to it. I can connect to the site
    using an FTP program like Filezilla, but can't seem to find the
    settings to get it to work in Dreamweaver. Any thoughts would be
    appreciated. Here is the example of the info...
    ftp://www.mysite.com:20
    User Name: User
    Password: Mypassword
    That is all the info they gave. I think the ":20" is the port
    number on their server, but I can't figure out how to use that in
    Dreamweaver. I have tried getting rid of it and also just using
    mysite.com as the FTP. None of those work. Any ideas how to use
    this to connect?

    FTP Host -
    www.example.com:20
    connection information as shown....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Fortune Hunter Z" <[email protected]> wrote
    in message
    news:fii28l$8v7$[email protected]..
    > Someone gave me some FTP info to use to connect to their
    server and I have
    > never seen FTP info like this nor can I figure out how
    to get DW CS3 to
    > connect
    > to it. I can connect to the site using an FTP program
    like Filezilla, but
    > can't seem to find the settings to get it to work in
    Dreamweaver. Any
    > thoughts
    > would be appreciated. Here is the example of the info...
    >
    > ftp://www.mysite.com:20
    > User Name: User
    > Password: Mypassword
    >
    > That is all the info they gave. I think the ":20" is the
    port number on
    > their
    > server, but I can't figure out how to use that in
    Dreamweaver. I have
    > tried
    > getting rid of it and also just using mysite.com as the
    FTP. None of
    > those
    > work. Any ideas how to use this to connect?
    >

  • Is WLAN connection possible with Satellite A40-702?

    I phoned Broadband provider the other day to upgrade to wireless - now concerned that my laptop (model above) wont be compatible with wireless.
    Could anyone advise?

    Hi,
    Maybe is this a Help by your Problem with the Machine
    Check the Toshiba Download site http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/download_drivers_bios.jsp , you become Maybe a update from the WLAN Driver for your Notebook. Check this. Check the Website from your Service Provider.
    Find you not a Driver, check the actually Configuration with the Card. Go this not made a reinstall from the actually Driver and started a new Installation from the actually Driver and made a new Konfiguration.
    By

  • Ftp connection problem with cs5.5

    Hi,
       I am jsut starting to use the Dreamweaver part of CS5.5 after upgrading from CS4. I have been trying to access my previous
    web sites using ftp as I have done before. The pop up window asks for the ftp address which is ftp.sonic.net/pub/users/us  and
    the root directory which is /home/WWW_pages/us . But the pop up box keeps changing the root directory to /pub/users/us and
    setting the ftp address to ftp.sonic.net  whch doesn't work.
    How can I work around this?
                               Thank you,
                                              ~Vonnie A

    Based on instructions on the sonic.net site
    http://www.sonic.net/support/ss/windows/ws_ftp/
    try
    FTP: ftp.sonic.net
    Root directory: /home/WWW_pages/us or /home/www_pages/us

  • Internet connectivity possible with a Palm 550?

    Is there a wi-fi sd card or other adapters that I can purchasse to enable me to use my Palm M550 to get online?
    Post relates to: Palm TX

    I'm not sure the Wifi card will work with a Tungsten T...  I thought the T3 was the only model of the line that was supported...?
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • FTP Connection with backslash in username

    Hello,
    I am using Peter Torpey's FTPConnection.jsx to upload rendered movies to a server directly from After Effects. Works great on my server! Now, I have to use Microsoft's Azure for hosting this project, and their FTP username includes a backslash. The connection is refused ("Login failed: Server rejected username"). Seems like ExtendScript's Socket doesn't like the backslash in the FTP username!
    The logfile contains (domain\username is my ftp username):
    --Put: successfully connected
    +220 Microsoft FTP Service
    --Found code: 220
    :USER domain\username
    +451 The parameter is incorrect.
    :QUIT
    When defining the ftp username in JavaScript, I escape the backslash:
    var ftpUser = 'domain\\username';
    The FTP credentials work with a FTP desktop client (cyberduck in my case) and also in command line.
    Any tips of how to get this working?

    Hi Arie,
    thanks for your help. Unfortunately the two suggested solutions don't work. I have also tried other options with quotation marks (which work in command-line ftp) like
    var ftpUser='\"domain\\username\"';
    and none of them work.
    I can definitely verify that the FTP connection works with an FTP client or via the command line in OS X.
    I can also connect without any problems with a PHP script, so the current workaround uploads to a "normal" FTP server and then a PHP script transfers the files to the Azure server.
    Best,
    Andreas

  • Ftp connection and Dreamweaver

    Hi everyone,
    I was all day long reading the posts in this forum and Adobe's about ftp connection issues with Dreamweaver. Hope somebody else has a new idea or experience to help me.
    I have been working and updating 3 websites (different servers) with Dreamweaver 8 with no problem until yesterday. I'm pretty sure I didn't change any settings of my firewall or dreamweaver. But since yesterday I couldn't connect to just ONE of my websites. I always get the message: "Dreamweaver could not connect to the server. User canceled. Operation time out".
    It's odd because when I "test" the connection on "remote settings" it does work. But when I try to only upload any file it doesn't.
    So, I report to the server and it was not a problem with them. I tried to connect by ftp in Firefox and worked. So I realize it could be something with my ftp connection.
    I tried to turn off my firewall, but still not working.
    I tried to test the TCP/IP port 21 (and it is open).
    I tried to delete the site definitions from Dreamweaver and re-create again, but no luck.
    I just didn't re-install Dreamweaver because I'm afraid to lose the connection with my other 2 sites.
    Does anybody have any tip, or link with similar issue that I can get some turn around???
    Please any help would be appreciated.
    Thanks
    Viv
    MacBookPro2,2   Mac OS X (10.4.9)  

    But I don't understand why I get ftp connection with
    2 websites and just one is not working??? should this
    be happening if it was a "port" problem???
    I can help clarify this. With FTP, there are TWO connections. The first is the control connection, and that occurs on port 21. This is where the authentication takes place, and where commands are passed from cliet to server.
    The second connection is the data connection. This is where the transfer of data takes place (including a directory listing). There are two basic ways of establishing this connection, active and passive. In an active connection the server attempts to open a socket from port 20 to a random port on the client. This is the connection which is blocked by firewalls.
    In passive mode, the server sends back a port number that it (or rather a child) is listening on. The client connects to the server on that port, and receives data. The problem is, that while this is happening, the control connection is idle. This may cause the control connection (and thus the entire protocol) to time out.
    So there are quite a few things that can go wrong. If your server only supports active mode and you have a firewall which blocks its incoming connection, eventually the control connection will time out. If your server is load-balancing, or your router tries to recylcle ide connections, the control connection may be shut down. I don't know what's happening in your case, but I can tell you what may be happening with your ports. HTH.

  • FTP connection in J2ME

    Hi All,
    can anyone tell me is FTP connection in J2ME possible or not? If it is possible, how it is possible?
    Mahabub

    AFAIK at present there is no FTP API's avalable from J2ME/MIDP front that you can use to establish an FTP connection.
    Meanwhile I have a pretty easier solution for you. You can use Jakarta Commons Net API's at the App server end to communicate to the intended FTP server by means of Servlet so that you can form an Http response as per your requirements. for e.g.:- you issue ftp command from J2ME client and pass it over http to the Servlet residing in your app server. internally the web-tier component establishes the link to the FTP server and responds appropriately based on the issued commands.
    You can also use a telnet client that uses socket communications but the approach mentioned above I rekon would be a feasible one bcause the Usability matters the most when it comes to Mobile applications.
    Hope this information helps.
    ~Mohan

  • Pblm with FTP connection

    We have a process which exchanges files between UNIX and NT server. We are exchanging the files using FTP connection. But, this FTP transfer is hanging at random times. This behaviour is happening at only few times and if we start the process again immediately, it is competing successfully.
    We thought that the problem will be with FTP connection and we are checking the ftp connection using ftpClient.isConnected(). If this call returns false, we are skipping without transfering the files. But, this funtion is returning "true" and the process is still hanging.
    I have an assumption like.... the connection will be active and it may not be successful connection. can it be possible? If it is possible, can u pls let me know how to overcome this type of problems.
    I have an idea as below:
    After calling ftpClient.connect(inetAddress, ftpPort), can we verify the successful connection by using
    FTPReply.isPositiveCompletion(ftpClient.getReplyCode()) ???
    This should return "true" if the connection is successful connection and should return "false" if the connection is failure.
    Can there be case like getting false for the above call (FTPReply.is.....) and getting "true" by calling ftpClient.isConnected() function !!!??
    One more update here is..... after using ftpClient.Connect(...), we are logging into the FTP server using
    ftpClient.login(user,pwd) -> this is returning "true" all the times. :-(

    FTPClient.isConnected() just returns Socket.isConnected(), which is always true once it's first gone true. It doesn't (can't) report the state of the connection, only the history of what APIs have been called on the Socket. See http://archives.devshed.com/forums/java-118/help-ftpclient-isconnected-does-not-work-2084258.html
    Can you set a read timeout on the FTPClient?

  • When I connect my iPhone 5 to my laptop and iTunes, I can't play movies from the iPhone on my computer.Why is that? Can I do this or it's not possible with iPhone5? With my iPod it's no problem.

    When I connect my iPhone 5 to my laptop and iTunes, I can't play movies from the iPhone on my computer.Why is that? Can I do this or it's not possible with iPhone5? With my iPod it's no problem.

    Reinstall iTunes. Make sure you follow the instructions in this support document to the letter. http://support.apple.com/kb/HT1923.
    You may have some problems because Apple has not certified that everything works with Windows 8 yet.

  • Adobe Dreamweaver FTP connection doesn't work with german "Umlaut" like "ö" in the severadress

    Hi
    Today I tried to establish a FTP connection to the serveradress "ftp.möbelverwandlung.com", but I get the error message that the program couldn't connect to the host. As Dreamweaver works perfectly with other serveradresses and I managed to establish a connection to "ftp.möbelverwandlung.com" with other programs, I think that the problem is the german "Umlaut" "ö". Did anyone recognize the same problem and does someone know a solution?
    Thank you very much for your help

    Here is the English translation of your previous post -
    Hello Maximilian,
    I got a even looked at my provider. Usually there must pay the original domain for the agreed period and agree a new. However, they show a accommodating for so short "duration" of a few hours like you. Try to contact your ISP phone support.
    MfG
    Hans-Günter
    Anyhow, I think you have covered the options!

  • PI 7.1 FTP(S) - adapter with implicit connection type?

    Hi,
    We have encountered some issues involving FTP connection with SSL/TLS because the standard FTP - adapter in SAP PI 7.1 doesn't support the connection type "implicit". Many of our customers use FTP servers with connection type implicit and are somewhat reluctant or unable to configure the server to accept explicit connection type.
    Now, I wonder if there is any patch or update which makes the FTP adapter to communicate with connection type "implicit"?
    Or if you have another workaround for us to utilize?

    please refer this blog for the FTPs connection.
    http://scn.sap.com/people/rajasekhar.reddy14/blog/2010/04/13/how-to-configure-ftps-in-file-adapter

Maybe you are looking for

  • How do I put the music on my ipod onto a new computer?

    I read the thing on how to put the music on my ipod onto my new computer and it says you need the old computer which I don't have because it died. What else can I do?

  • RFC IN Report

    hi all, i had already create a report in crm , and a RFCin R3, now i have to call this RFC in my report, so plz tell me the procedure for doing this.

  • Eror when trying to open ITunes after installing

    I get this error when I try and open iTunes immediately after installing it on my new Windows Vista pc. Please help. "The folder itunes can not be found or created and is required. the default location for this folder is in side the My music folder."

  • IPCC Express Version 7 SQL Access

    We are trying to build a web app, in ASP .net but are having problems connecting to the Sql Server instance on the IPCC Server. The error appears to be related to the fact that the SQL server is not allowing remote connections. Usually this is fixed

  • Installation from DsfW aborted

    when i try to install DSFW on a oes11sp2 server with all actual patches, i become following error messages: "eDirectory is already configured on this server. Hence, DSfW installation is aborted." How is it possible to configure DSfW without remove Ed