ftp in terminal...
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