Upload/Download to Website?

I would like users of an iPhone app to be able to create text/string content (e.g. recipes, business cards, quotes, etc.) and upload it to a website. This content will reside and be persistent on the iPhone in a database (or something) but the idea would be to share and exchange the content with other iPhone users in a website. Ideally, the content would move back and forth as an XML document.
Downloading an XML document with the iPhone seems straightforward (a HTTP request that returns an XML document and then parsing that document) but I am at a loss on how I can send/upload an XML document to a server from an iPhone.
Any hints on how to do this?
I suppose, I could put together an XML document, wrap it in SOAP (or not), and send it to a web service as a parameter, but I'm hoping there is a much simpler way.

Take a look at the NSURLConnection class and its associated NSURLRequest.

Similar Messages

  • How do I monitor download/upload volumes by website

    I'm using NetLimiter to see which applications are using the net and how much each is downloading and uploading. From that I can see that Firefox, my main browser, is the biggest contributor. Is there a way of analysing FF download/upload volumes by website?
    == n/a

    The only extension found for this so far is
    https://addons.mozilla.org/en-US/firefox/addon/5917/

  • Media content upload download

    Hi,
    I am quite new to the iPhone development. My requirement is to create an app which should be able to upload/download/tag a specific media content - image, video or audio to a Ruby on Rails based social networking
    There could be two solutions
    1. Standalone app - using the underlying framework APIs.
    Does the standard Foundation framework's underlying HTTP Connection object support uploading / downloading of videos/audios? I found a Ruby Cocoa framework in the library though.
    2. Can I enable my website to for iPhone so that the browser itself takes care of upload/download of the content
    Would greatly appreciate pointers on this
    Thanks in advance

    Using NSMutableURLRequest and NSURLConnection one can do POST and GET requests to a web service. These classes abstract all of the set up so simple requests are easy to do. For more complicated requests you have the ability to programatically set or adjust the HTTP header fields. NSURLConnection can be used in either synchronous or asynchronous modes. The latter allows you to make network requests without all the bother of creating and managing threads but still keeping your UI from blocking on the request.

  • How can I get out of the upload/download and just use a convert program right on my computer?

    i recently purchased a package which I thought would download a program for directly converting my Word documents to Adobe.  I realized after the purchase that I had to 'upload/download' everything.  This is extremely slow for me becasue of my feed rate.  Can I get a package to actually install on my computer like the old days?

    Reading a question like this makes me feel significantly less guilty about having my iPod loaded to the brim with episodes of classic +Star Trek+.
    mgmcs,
    The iTunes Store is the only officially supported means of downloading TV shows to your device. The iPod doesn't yet support the internet plugin that CBS uses to display TV episodes on its website.

  • Upload/Download page

    Idiotic question, I know:   How do I bring up the file screen on the right hand side of Dreamweaver 8 that allows me to upload/download files and changes from my existing website?  I'm looking for the screen that has the "padlock" icon, and the "up/down" arrows.
    Thanks to anyone for help.

    That's the Files Window once you click the Expand button (double square icon on right hand side).
    At least, it is in everything from DWCS3 and up. DW8 is pretty old, but should be the same.

  • FTP uploading & downloading.

    I creating my website using iweb, i was wonder is it possible to create a FTP access on my website for my clients to upload & download files?
    Right now they are all using third party FTP client "free software like Cyberduck for Mac User & WinSCP for PC User" to access my FTP for uploading & download of files now.
    Message was edited by: robinlim

    You can do this from any server.
    My hosting service, Host Excellence, allows me to create first level directory folders and call them what I want.
    You can give your clients access to a folder and set privileges in the control panel.
    The basic hosting plan allows you about six sites and a free domain name.
    I don't know about password protecting individual folders but you can ask their tech support about this or plough your way through the manual.
    http://www.hostexcellence.com/index.php/v2/pages.packages

  • How Do You Use XML To Create Image Upload On A WebSite?

    Hello,
    Could some one please help me understand how to create web image gallery and web video gallery using XML? I have found few xml codes that could be used to do this but I am not so sure how to use them. I want my clients to be able upload images and videos with linking thumbnails to Image and or Videos. Do you think the codes I included in this question will help me achive this goal? And do I need to put all in one and in the same directory so it will work? Please help with your idea and tell me how you would use these codes and how you may step-by-step implement the idea your self to your own web site.
    I have also included the instruction I found on the web with the codes.
    Starting with You Tube, API on their video gallery, here are the codes I found,
    Assume you are to use the YouTube, XML code; What will you change here so it will work on your own www.domain.com?
    <% Dim xml, xhr, ns, YouTubeID, TrimmedID, GetJpeg, GetJpeg2, GetJpeg3, thumbnailUrl, xmlList, nodeList, TrimmedThumbnailUrl Set xml = Server.CreateObject("MSXML2.FreeThreadedDOMDocument")
    xml.async = False
    xml.setProperty "ServerHTTPRequest", True
    xml.Load("http://gdata.youtube.com/feeds/api/users/Shuggy23/favorites?orderby=updated") If xml.parseError.errorCode <> 0 Then
        Response.Write xml.parseError.reason End If Set xmlList = xml.getElementsByTagName("entry") Set nodeList = xml.SelectNodes("//media:thumbnail") For Each xmlItem In xmlList
        YouTubeID = xmlItem.getElementsByTagName("id")(0).Text
        TrimmedID = Replace(YouTubeID, "http://gdata.youtube.com/feeds/api/videos/", "")
        For Each xmlItem2 In nodeList
            thumbnailUrl = xmlItem2.getAttribute("url")
            Response.Write thumbnailUrl & "<br />"
        Next     Next    
    %>
    For the image gallery, the following are the codes I found with your experience do I need to use the entire codes or just some of them that I should use?
    CODE #01Converting Database queries to XML
    Using XML as data sources presumes the existence of XML. Often, it is easier to have the server create the XML from a database on the fly. Below are some scripts for common server models that do such a thing.
    These are starting points. They will need to be customized for your particular scenario.
    All these scripts will export the data from a database table with this structure:
    ID: integer, primary key, autoincrement
    AlbumName: text(255)
    ImagePath: text(255)
    ImageDescription: text(2000)
    UploadDate: datetime
    The output of the manual scripts will look like:
    <?xml version="1.0" encoding="utf-8" ?>
      <images>
         <image>
              <ID>1</ID>
              <album><![CDATA[ Family ]]></album>
              <path><![CDATA[ /family/us.jpg ]]></path>
              <description><![CDATA[ here goes the description ]]></description>
              <date><![CDATA[ 2006-11-20 10:20:00 ]]></date>
         </image>
         <image>
              <ID>2</ID>
              <album><![CDATA[ Work ]]></album>
              <path><![CDATA[ /work/coleagues.jpg ]]></path>
              <description><![CDATA[ here goes the description ]]></description>
              <date><![CDATA[ 2006-11-21 12:34:00 ]]></date>
         </image>
      </images>
    These are all wrapped in CDATA because it is will work with all data types. They can be removed if you know you don't want them.
    Note: If using the column auto-generating versions, ensure that all the column types are text. Some databases have data type options like 'binary', that can't be converted to text. This will cause the script to fail.
    CODE #02ASP Manual: This version loops over a query. Edit the Query and XML node names to match your needs.
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <%
    Dim MM_conn_STRING
    MM_conn_STRING = "dsn=image_gallery;uid=xxxx;pwd=xxxx"
    %>
    <%
    Dim rsImages
    Dim rsImages_cmd
    Dim rsImages_numRows
    ' Query the database and get all the records from the Images table
    Set rsImages_cmd = Server.CreateObject ("ADODB.Command")
    rsImages_cmd.ActiveConnection = MM_conn_STRING
    rsImages_cmd.CommandText = "SELECT ID, AlbumName, ImagePath, ImageDescription, UploadDate FROM images"
    rsImages_cmd.Prepared = true
    Set rsImages = rsImages_cmd.Execute
    ' Send the headers
    Response.ContentType = "text/xml"
    Response.AddHeader "Pragma", "public"
    Response.AddHeader "Cache-control", "private"
    Response.AddHeader "Expires", "-1"
    %><?xml version="1.0" encoding="utf-8"?>
    <images>
      <% While (NOT rsImages.EOF) %>
         <image>
              <ID><%=(rsImages.Fields.Item("ID").Value)%></ID>
              <album><![CDATA[<%=(rsImages.Fields.Item("AlbumName").Value)%>]]></album>
              <path><![CDATA[<%=(rsImages.Fields.Item("ImagePath").Value)%>]]></path>
              <description><![CDATA[<%=(rsImages.Fields.Item("ImageDescription").Value)%>]]></description>
              <date><![CDATA[<%=(rsImages.Fields.Item("UploadDate").Value)%>]]></date>
         </image>
        <%
           rsImages.MoveNext()
         Wend
    %>
    </images>
    <%
    rsImages.Close()
    Set rsImages = Nothing
    %>
    CODE #03
    Automatic: This version evaluates the query and automatically builds the nodes from the column names.
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <%
    Dim MM_conn_STRING
    MM_conn_STRING = "dsn=image_gallery;uid=xxxx;pwd=xxxx"
    %>
    <%
    Dim rsAll
    Dim rsAll_cmd
    Dim rsAll_numRows
    ' Query the database and get all the records from the Images table
    Set rsAll_cmd = Server.CreateObject ("ADODB.Command")
    rsAll_cmd.ActiveConnection = MM_conn_STRING
    rsAll_cmd.CommandText = "SELECT * FROM Images"
    rsAll_cmd.Prepared = true
    Set rsAll = rsAll_cmd.Execute
    ' Send the headers
    Response.ContentType = "text/xml"
    Response.AddHeader "Pragma", "public"
    Response.AddHeader "Cache-control", "private"
    Response.AddHeader "Expires", "-1"
    %><?xml version="1.0" encoding="utf-8"?>
    <root>
      <% While (NOT rsAll.EOF) %>
         <row>
             <%
                 For each field in rsAll.Fields
                 column = field.name
             %>
              <<%=column%>><![CDATA[<%=(rsAll.Fields.Item(column).Value)%>]]></<%=column%>>
              <%
                 Next
              %>
         </row>
        <%
           rsAll.MoveNext()
         Wend
    %>
    </root>
    <%
    rsAll.Close()
    Set rsAll = Nothing
    %>

    OK, I understand - thanks for that.
    I thought the whole process was supposed to be a bit more seemless? Having to upload/download documents and manually keep them in sync will leave a lot of room for errors.
    It's kinda painful the way iOS doesn't have folders. It makes things incompatible with the Mac and means you can't group files from multiple apps into a single project - who organises their digital life by the apps they use?
    I think I'll recommend they use their iPad only.
    Thanks for that.
    Cheers
    Ben

  • Just downloaded IOS 6 and it disabled my favorite game, Bubblets Tilt, and it won't let me reload this game I originally bought through the Apps store because it says it is no longer sold in the US. I tried to download off website and same. Help!

    Just downloaded IOS 6 and it disabled my favorite game, Bubblets Tllt. Restarted and no luck. Tried to download new app and it is gone. Tried to download from website off Safari and message it is no longer sold in the US. Please help. Apple owes me for the cost of this app. Plus Google Maps is infinitely better and that the download kicking it off makes me want to buy an android. And I am not alone is resenting this meddling in my right to keep what I originally purchased. What are they thinking?

    hi Bern 
    Firstly welcome to Crowd Support  
    The Australian Communications Industry Forum (ACIF) Credit Management code states that Telstra must perform s credit assessment when a customer is applying to us for credit.   
    For our Credit Assessments to be passed there are many factors of information considered to determine if the Credit Assessment is satisfied. 
    There are many reasons why a Credit application may be declined, and one of the most common is due to the new Customer not having any previous history with Telstra.
    While this may be frustrating for you, in the circumstance of a Mobile Phone contract being involved, we really do need to be sure that we have the correct billing information, up to date contact details and also viability to pay bills on time. 
    There is a process where this decline decision can be disputed, and I would be more than happy to lodge this dispute for you if you could provide me with some information. 
    I will send you a PM so that we can work together offline to lodge this dispute. 
    Lindy  
     

  • File Upload/Download Problem

    Hi,
    I have a fileupload button. The attributes type is XSTRING, which i bound it with "data" property of download.
    When i download this file with "download" element, it comes in a zip file and as XML files. Only the jpg files are downloaded correctly.
    How can i solve this?
    Thanks.

    Hi,
    I am so sory for my very late answer.
    If you want to upload/download files, you should have a node which includes attributes
    (attribute names are just example ):
    1) filename(type: for example afilename),
    2)mimetype (type : string),
    3) file(type : a data element with type 'RAWSTRING').
    You must match your fileupload element's attributes with them:
    "DATA" attribute --> file ,
    "fileNAME" attribute--> filename,
    "mimeTYPE" attritube -->mimetype.
    When you want to download this file, you should put a filedownload element and match this element's attributes with the node's attributes which i described above.

  • Since I have downloaded IOS5 on my IPAD and synced to my IMac, Safari keeps dropping off before downloading the website, is slow, also an icon which accessed open safari windows is no longer available.  Apps trouble too.  Help?

    Since I have downloaded IOS5 on my IPAD2 and synced to my IMac, Safari keeps dropping off before site is downloaded and is slow.  There was an icon that showed how many windows were open on Safari and when pressed displayed them, that has disappeared and apps do not always download.  Sometimes by making several/many attempts, it eventually downloads the website or app, but this is not right.  When trying to dowload any lonks from an email, they simply do not open, it keeps going back to the home screen.  Does anybody have any suggestions?  I only bought the IPAD 2 in June! 

    Also the touch screen does not seem to be responding adequately.  Thank you for any help you can give.

  • Is there a way to upload/download photos anonymously?

    Is there a way to anonymously upload/download photos to the web without any sort of identification?
    For example, if I'm using something like TOR to browse, and I find an icon on a site or Google Images that I want to use as my avatar for a social networking site, can I "Save As" from my TOR browser and download that image anonymously to my computer's desktop? Or does my information leak when I save to my computer?
    ...and then, in turn and perhaps more importantly, how do I upload that photo as my social network photo/avatar without any sort of identifying source tag or whatever from my computer?
    When I attempt to upload a photo to the site, it keeps showing something like /Users/[iMacUserName]/Desktop
    Is there any way to do this anonymously?
    Would having something like a VPN be more useful than TOR in this situation?
    I'm new to all this, so I'd really appreciate any information possible. If it makes more sense to send an IM or private email, please feel free to contact me that way as well.
    Any recommendations for a great VPN to use with mac would be great too.
    Thanks so much in advance for your time.

    The image isn't anything dirty, nor is it necessarily copyrighted... I mean, it's a photo still from a movie I like that I wanted to use as my avatar photo. So I suppose technically it's copyrighted, but I'm not trying to pass it off as really being me, or mine. I see people using that kind of thing for avs all the time.
    I guess what I'm trying to say is that I'm not worried about the image I'm using, I'm worried about other users on the site being able to somehow find out that the image was uploaded from my computer (IP address, location, etc)
    Like, could the admins at a social networking site see that the image was uploaded from my computer?
    When I prompt the "upload" it only gives me the option to directly upload it from my computer, and as I said in my OP, it comes up with my iMac computer ID or whatever as the source of the file. (In the upload bar). Once I upload it, I think this information disappears, as I've tried to inspect other users avatars and it says owner info is private... but can the admins see WHERE the photo was uploaded from?
    Does something like TOR block this? Or do I need something else? I tried to do some research on it and found another user asking a similar question and someone responded saying they needed to tunnel it or something?
    Again, I'm not asking this b/c I'm trying to upload some inapropriate photo, but because this site is very strict about multiple accounts, and I have another account there that I'm not ready to delete yet. I just want to have a second, 100% anonymous account. (and feel I should also put it out there that it's not to do anything illegal or harmful to anyone either) just for me.
    Thanks again for any more answers on this.

  • I accidentally downloaded a website for coupons and its toolbar keeps popping up? I want to completely get rid of it on my internet. How do I do this?

    I accidentally downloaded a website for coupons and its toolbar keeps popping up at the top of my internet window. I went to the toolbar options and unchecked it but when I get back into the internet it is up again. I want it completely gone so that it doesn't even have a chance to be seen. I don't want it. How do I get rid of it?

    I would start off with Firefox's Add-ons page. Either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then look for unwanted extensions and try the Remove button.
    If the Remove button is missing, this usually means the extension was installed through the Windows installer. In that case, check for it in the Windows Control Panel, Uninstall a Program. Clicking the "Installed on" column header will bring the most recent additions to the top for easier spotting.
    After you get rid of it, assuming you can remove it in one of those two ways, I suggest "mopping up" with some malware removers. This article lists tools that other Firefox users have found helpful: [[Troubleshoot Firefox issues caused by malware]].
    Any luck?

  • How can I get itunes to download on my PC. I just got an ipod classic for Christmas and can not get Itunes to download. Website goes to downloaded page but i never get a downloading popup. I even turned off my popup blocker.

    How can I get itunes to download on my PC. I just got an ipod classic for Christmas and can not get Itunes to download. Website goes to downloaded page but i never get a downloading popup. I even turned off my popup blocker.

    Make an appointment at the genius bar.
    If you went without an appointment, then it would make sense that you could be turned away.

  • Upload/Download file to/from a document library in a SharePoint online site

    Hi,
    I am referring to the below blog for Upload/Download file to/from a document library in a SharePoint online site.
    http://blogs.msdn.com/b/rohitpuri/archive/2007/04/10/upload-download-file-to-from-wss-document-library-using-dav.aspx?CommentPosted=true#commentmessage
    I would like to know if this is feasible with a SharePoint online site.
    If feasible, how can I resolve the below exception I am getting while using the code.
    “The remote server returned an error: (403) Forbidden”.
    Thanks,
    Thanan

    Hi,
    Actually what I am trying to achieve is the two things.
    1) By using only the user's name, need to upload/download from/to the document library of SharePoint online site using the CSOM. (i.e., achieving Single Sign On / Windows Authentication)
    2) I need to achieve the above only by passing the document URL; not by hardcording/ configuring the document library name in the windows application.
    Can anyone pls help on this now?
    [Below code is working fine. But need to arrive the solution whereas the above 2 conditions are not violated.
    using (var clientContext
    = new ClientContext("https://yoursiteurl.com"))
               string passWd
    = "password";
               SecureString securePassWd
    = new SecureString();
               foreach
    (var c in passWd.ToCharArray())
                    securePassWd.AppendChar(c);
                clientContext.Credentials
    = new SharePointOnlineCredentials("username", securePassWd);
               using
    (var fs =
    new FileStream("fileName",
    FileMode.Open))
    var fi =
    new FileInfo("fileName");
    var list = clientContext.Web.Lists.GetByTitle("Doc Library");
                   clientContext.Load(list.RootFolder);
                   clientContext.ExecuteQuery();
    var fileUrl = String.Format("{0}/{1}", list.RootFolder.ServerRelativeUrl,
    fi.Name);
    Microsoft.SharePoint.Client.File.SaveBinaryDirect(clientContext, fileUrl,
    fs, true);
    Thanks,
    Thanann

  • File Upload/Download

    Hi
    When using the file upload/download functionality, APEX stores the uploaded object in a table by default. See: http://download-uk.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/up_dn_files.htm#CJAHDJDA
    Is there a way to specify that the file should NOT be stored in a table, but rather, be stored on the file system?. Example in a directory object location.
    I intend to use the upload/download functionality to load csv files that will then be parsed as external tables.
    Thanks
    Kezie

    Hi,
    I modified the above procedure to point to my tables and trying to create the procedure in Apex database and am getting the following error:
    Procedure:
    CREATE OR REPLACE PROCEDURE write_blob_to_file
    ( p_docid IN NUMBER,
    p_directory IN VARCHAR2,
    p_filename IN VARCHAR2 DEFAULT NULL )
    IS
    l_file utl_file.file_type;
    l_buffer RAW(32767);
    l_amount BINARY_INTEGER := 32767;
    l_position INTEGER := 1;
    l_blob BLOB;
    l_length INTEGER;
    l_filename VARCHAR2(400);
    BEGIN
    SELECT BLOB_CONTENT, MPP_name
    INTO l_blob, l_filename
    FROM MPP_FILES
    WHERE id = p_docid;
    IF p_filename IS NOT NULL THEN
    l_filename := p_filename;
    END IF;
    l_length := dbms_lob.getlength( l_blob );
    l_file := utl_file.fopen( p_directory, l_filename, 'wb', 32767 );
    WHILE l_position < l_length LOOP
    dbms_lob.read( l_blob, l_amount, l_position, l_buffer );
    utl_file.put_raw( l_file, l_buffer, TRUE );
    l_position := l_position + l_amount;
    END LOOP;
    utl_file.fclose( l_file );
    EXCEPTION
    WHEN others THEN
    IF utl_file.is_open( l_file ) THEN
    utl_file.fclose( l_file );
    END IF;
    raise_application_error( -20001, SQLERRM );
    END write_blob_to_file;
    Error:
    ERROR at line 6: PLS-00201: identifier 'UTL_FILE' must be declared
    4. p_filename IN VARCHAR2 DEFAULT NULL )
    5. IS
    6. l_file utl_file.file_type;
    7. l_buffer RAW(32767);
    8. l_amount BINARY_INTEGER := 32767;
    Please let me know what am i missing. I am pretty new to PL/SQL and Apex.
    Also wondering is there a way to download files from tables using Java Stored Procedure. Please give some pointers.
    Ramesh K

Maybe you are looking for