Re: Another Shell Script question ftp
Re: Another Shell Script question ftp
- Subject: Re: Another Shell Script question ftp
- From: deivy petrescu <email@hidden>
- Date: Tue, 7 Feb 2006 21:19:37 -0500
On Feb 7, 2006, at 19:05, Stockly, Ed wrote:
I'm writing a script that's picking up a file reference and needs
to ftp the file to specific address based on info found in the file.
I'm wondering if anyone else has experience using shell script to
upload files via ftp.
Here's what I'm using now:
do shell script "ftp -R -u " & myUserid & " -p " & myPassword & " "
& myServer & " " & myRemotePath & myFile
What I'm hoping for is a solid, stable command that will allow me
to trap errors.
Any suggestions? Anything to lookout for?
Thanks
ES
Ed,
if you want to use shell script, do what Doug Told you. Use curl.
However, if you do not mind using terminal , then use ftp and terminal.
The advantage is that you can write sophisticated scripts and do a
lot with ftp
Although I think curl is amazing, I upload all my files via terminal
ftp scripting.
Beside s the points given above, with terminal you get a receipt for
your transactions.
if you need help with terminal, be glad to do it!
Deivy
_______________________________________________
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