• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Up/Downloading a File to/from Website
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Up/Downloading a File to/from Website


  • Subject: Re: Up/Downloading a File to/from Website
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 28 Sep 2013 11:45:38 -0700

On Sep 28, 2013, at 11:35 AM, Gordon Apple <email@hidden> wrote:

> OK, I just got off the phone with them.  FTP, SFTP, SSH.

IIRC there used to be some limited FTP support down in CFNetwork. But FTP is an old creaky protocol and best avoided. SFTP is a lot better; despite the name it’s not related to FTP at all. It’s basically file-access requests tunneled through SSH. I don’t know of any SFTP support in the OS, but there are probably some open-source libraries for it by now, so try searching around on Github or Bitbucket.

You don’t want to use SSH directly because it’ll involve sending shell commands (“ls”, “cp”, etc.) to a remote host. Giving your end users access to a shell on your server would be a bad idea — just imagine what someone could do with that if they hacked your app to send malicious commands.

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Up/Downloading a File to/from Website
      • From: Gordon Apple <email@hidden>
References: 
 >Re: Up/Downloading a File to/from Website (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: Up/Downloading a File to/from Website
  • Next by Date: Re: Up/Downloading a File to/from Website
  • Previous by thread: Re: Up/Downloading a File to/from Website
  • Next by thread: Re: Up/Downloading a File to/from Website
  • Index(es):
    • Date
    • Thread