Re: FTP and Applescript
Re: FTP and Applescript
- Subject: Re: FTP and Applescript
- From: Doug McNutt <email@hidden>
- Date: Tue, 21 Aug 2007 11:38:05 -0600
At 13:05 -0400 8/21/07, Rick Dwyer wrote:
>Hello List.
>I need to FTP some files to a remote directory on an automated basis.
>
>I would like to use applescript to invoke the necessary commands via the terminal to perform this but really don't know where to begin.
curl <http://haxx.se/curl.html>
It's part of OS neXt as delivered but, depending on what you want to do, may need an update.
I did a drag and drop implementation recently to upload files. Ask and I'll remove the passwords and post it, but it's really quite trivial. No Terminal.app, just do shell script.
For just looking and downloading Finder's Go - connect to server menu item works pretty well. But it simply will not allow uploading and if you do upload something you have to eject the site and remount it. Apparently Finder thinks ftp connections are just support for commercial sites that don't change.
List-Id: the curl tool <curl-users.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users>,
<mailto:email@hidden?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/curl-users>
List-Post: <mailto:email@hidden>
List-Help: <mailto:email@hidden?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users>,
<mailto:email@hidden?subject=subscribe>
If you really want to get involved with Terminal.app, possibly for curl's progress line, have a look at:
<ftp://ftp.macnauchtan.com/Software/Progress/tView.text> 4 kB
<ftp://ftp.macnauchtan.com/Software/Progress/tViewInit> 2 kB
<ftp://ftp.macnauchtan.com/Software/Progress/tViewCmd> 3 kB
--
--> From the U S of A, the only socialist country that refuses to admit it. <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden