• 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: CURL vs FTP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CURL vs FTP


  • Subject: Re: CURL vs FTP
  • From: Errol Sayre <email@hidden>
  • Date: Fri, 17 Jun 2005 15:02:02 -0500

cURL is a multi-protocol download client... think Adium for file transfers. It can seemlessly handle ftp connections and in the end usually makes them easier than using the command line ftp program. The nice part is, you can use cURL and not have to change anything if the URL you need to access changes to another supported protocol.

cURL does not provide any sort of interactive shell on the server. Accordingly, if you need to connect to an FTP server and check the contents of a directory before performing your action, you'll need to use another program. Mac OS X has the standard ftp command built-in. There are better CLI ftp programs available such as ncftp that provide a lot of nice features that cURL provides, such as download resumes. However, since you are making an AppleScript, however, you can use any CLI or AppleScriptable app that understands ftp that you want. I'd recommend Transmit if you don't already own it.

The point is, their ftp server isn't going to care how you connect, as long as your using the file transfer protocol. It's probably just a misunderstanding of what cURL does.

Errol

On Jun 17, 2005, at 2:30 PM, Bruce Robertson wrote:

I am dealing with a client whose web host company insists that we use FTP
not CURL, because he insists that he only supports FTP.


Does this make sense? Isn't CURL just a particular way of controlling FTP?
My current CURL script uses Dan Shockley's simple FTP upload script starting
like this:


simpleFtpUpload("ftp://somewhere.com/newdata/";, theFile, user, password)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >CURL vs FTP (From: Bruce Robertson <email@hidden>)

  • Prev by Date: Re: One for the experts: Serial Number of computer using Applescript Studio
  • Next by Date: Re: CURL vs FTP
  • Previous by thread: CURL vs FTP
  • Next by thread: Re: CURL vs FTP
  • Index(es):
    • Date
    • Thread