• 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
ftp in terminal...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ftp in terminal...


  • Subject: ftp in terminal...
  • From: Stefan Eriksson <email@hidden>
  • Date: Sat, 16 Apr 2005 23:24:08 +0200

Hello !

I´m making a scipt that in the end will copy a few files from the local disc to a remote ftp, i don´t want to use a commerical ftp product for various reasons.. one is that the functionality is already built-in and that is is neat to keep the script clean...

I have no problem to logon to the ftp in terminal when entering the commands one by one, but can get it to work from applescript

ftp
open ftp.company.com
user/password
put /File/From/My desktop /File/to/Ftp
Bye

No problem there...

this won´t work
do shell script "ftp"
do shell script "open ftp.company.com"

neither will this...
do shell script "ftp" | "open ftp.company.com" | and so on...

One way to solve the problem (an ugly one) is to mount the ftp like a serverdisc like this
<x-tad-bigger>ftp://user_password@</x-tad-bigger> ftp.company.com

I have a feeling that this is not "clean/true ftp", transferring files like this is much slower that "true ftp" or am i doing something wrong here ?

anyone got a clue where to start ?

Cheers, Stefan
 _______________________________________________
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

  • Follow-Ups:
    • Re: ftp in terminal...
      • From: Doug McNutt <email@hidden>
  • Prev by Date: Re: Localized Internals of AppleScript (date Class for example)
  • Next by Date: Re: ftp in terminal...
  • Previous by thread: Re: How to Renew DHCP Lease
  • Next by thread: Re: ftp in terminal...
  • Index(es):
    • Date
    • Thread