Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Writing a script for FTP

Writing a script for FTP
Thread Tools
Nomadic Logic
Fresh-Faced Recruit
Join Date: Jun 2004
Location: Hagerstown, MD
Status: Offline
Reply With Quote
Sep 18, 2006, 08:05 PM
 
About 3 times a week, I need to ftp one file from my MBP to an ftp server. Is there any way to achieve this by being able to click an icon maybe in the dock? Something tells me it shouldn't be hard, but I don't know where to start.
Politics is not a team sport.
     
jay3ld2
Fresh-Faced Recruit
Join Date: Sep 2006
Status: Offline
Reply With Quote
Sep 18, 2006, 09:10 PM
 
if you use Transmit as your FTP application yes:

How can I use AppleScript with Transmit?
Download these Sample AppleScripts.zip (15k) and see how it works! Users of Mac OS X Tiger may find it easier to use Transmit 3.2's built-in Automator actions.
     
Tsilou B.
Senior User
Join Date: May 2002
Location: Austria
Status: Offline
Reply With Quote
Sep 19, 2006, 04:58 AM
 
First, download and install theFTP Automator Actions. Then launch Automator and drag the file you always need to upload from the Finder into the Automator window. A new action will be created ("Get Specified Finder Items"). Then drag the "Upload to FTP" action from the actions list to your automator workflow (below the "Get Specified Finder Items" action). Fill in the address of the server, the directory etc. and save your workflow somewhere. Quit Automator, drag a copy of the workflow to the Dock and you have exactly what you wanted.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 11:57 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,