Professional Web Applications Themes

Beginning FTP? - Mac Programming

My in-house app will need to upload a simple text file to a fixed ftp server. As I know that these simple requirements won't change, I was hoping I could avoid studying a whole new set of net technologies just at this moment and find some existing library code to do this. I know there's some PowerPlant net stuff, but it's pre OSX. I need to do it in Carbon, C/C++, CW8.3, 10.2/3 though. Any pointers, or code snippets would be much appreciated. Thanks Steve...

  1. #1

    Default Beginning FTP?

    My in-house app will need to upload a simple text file to a fixed ftp
    server. As I know that these simple requirements won't change, I was
    hoping I could avoid studying a whole new set of net technologies just
    at this moment and find some existing library code to do this. I know
    there's some PowerPlant net stuff, but it's pre OSX.
    I need to do it in Carbon, C/C++, CW8.3, 10.2/3 though.
    Any pointers, or code snippets would be much appreciated.

    Thanks

    Steve

    Steve Guest

  2. #2

    Default Re: Beginning FTP?

    In article <bq21hl$c8e$btinternet.com>,
    Steve James <com> wrote:
     

    Several options:

    -> IIRC PowerPlant (comes with CodeWarrior) has some FTP classes.
    -> Read the RFC. (http://www.faqs.org/rfcs/ or something like that) Protocols like FTP, SMTP and POP are fairly
    simple since they used to be entered interactively on the command-line.
    -> URLAccess supports upload and download via FTP. If you don't need to
    do batch processing of multiple files, you can use the "Simple"
    functions from that.

    Cheers,
    -- M. Uli Kusterer
    http://www.zathras.de
    Uli Guest

  3. #3

    Default Re: Beginning FTP?

    In article <t-online.com>,
    Uli Kusterer <de> wrote:
     

    FTP == not simple. Trust me. :-)

    meeroh

    --
    If this message helped you, consider buying an item
    from my wish list: <http://web.meeroh.org/wishlist>

    Miro Guest

  4. #4

    Default Re: Beginning FTP?

    Uli Kusterer <de> wrote: 
     [/ref]
     
     

    I've used libcurl in a C application to download a txt file from a HTTP
    server. It also does FTP, proxies, authentication, etc, etc. Excellent
    library! The 'simple' interface is pretty easy to use. I think you could
    use it in the environments you mention.

    --
    *--------------------------------------------------------*
    | ^Nothing is foolproof to a sufficiently talented fool^ |
    | Heath Raftery, HRSoftWorks _\|/_ |
    *______________________________________m_('.')_m__ _______*
    Heath Guest

  5. #5

    Default Re: Beginning FTP?

    Thanks.
    URLAccess doesn't seem to support authentication, and PP is pre-OSX.
    I'm lookng at libcurl, but as a non-Unix person, it's pretty bewildering.

    Steve

    Heath Raftery wrote:
     
    >
    > [/ref]
    >

    >

    >
    >
    > I've used libcurl in a C application to download a txt file from a HTTP
    > server. It also does FTP, proxies, authentication, etc, etc. Excellent
    > library! The 'simple' interface is pretty easy to use. I think you could
    > use it in the environments you mention.
    >[/ref]

    Steve Guest

  6. #6

    Default Re: Beginning FTP?

    On Fri, 28 Nov 2003, Steve James wrote:
     
    URLAccess does support authentication, on os x 10.3 you can also use
    CFNetwork i think.

    Fred
     
    > >
    > > 
    > >
    > > 
    > >
    > > 
    > >
    > >
    > > I've used libcurl in a C application to download a txt file from a HTTP
    > > server. It also does FTP, proxies, authentication, etc, etc. Excellent
    > > library! The 'simple' interface is pretty easy to use. I think you could
    > > use it in the environments you mention.
    > >[/ref]
    >
    >[/ref]

    Frederick Guest

Similar Threads

  1. beginning..
    By Versam in forum Coldfusion - Getting Started
    Replies: 3
    Last Post: April 16th, 10:13 AM
  2. Beginning Sockets
    By Mick in forum UNIX Programming
    Replies: 4
    Last Post: August 17th, 04:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139