Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

terminal ftp

 
   Macintosh computer (Home) -> System RSS
Next:  Safari and garbled font display?  
Author Message
rccharles

External


Since: Jan 05, 2005
Posts: 24



(Msg. 1) Posted: Fri Feb 18, 2005 5:37 pm
Post subject: terminal ftp
Archived from groups: comp>sys>mac>system (more info?)

I am using the terminal in MacOS 10.2.6. I have a saved a term file
which I use to invoke the ftp command. The command string is:
ftp myidn DeleteThis @www.mysite.com

What I'd like to be able to automate is the setting of the remote path
and the local path. I have tired:
ftp myidn DeleteThis @www.mysite.com:directory/subdirectory

but I get an error when I do this.

Thanks

Robert

 >> Stay informed about: terminal ftp 
Back to top
Login to vote
matt neuburg1

External


Since: Sep 18, 2003
Posts: 2506



(Msg. 2) Posted: Fri Feb 18, 2005 10:48 pm
Post subject: Re: terminal ftp [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Robert <rccharles.TakeThisOut@my-deja.com> wrote:

 > I am using the terminal in MacOS 10.2.6. I have a saved a term file
 > which I use to invoke the ftp command. The command string is:
 > ftp myidn.TakeThisOut@www.mysite.com
 >
 > What I'd like to be able to automate is the setting of the remote path
 > and the local path. I have tired:
 > ftp myidn.TakeThisOut@www.mysite.com:directory/subdirectory

Try using a regular FTP URL:

ftp <a style='text-decoration: underline;' href="ftp://myidn@www.mysite.com/directory/subdirectory" target="_blank">ftp://myidn@www.mysite.com/directory/subdirectory</a>

m.

--
matt neuburg, phd = matt.TakeThisOut@tidbits.com, <a style='text-decoration: underline;' href="http://www.tidbits.com/matt/" target="_blank">http://www.tidbits.com/matt/</a>
AppleScript: The Definitive Guide
<a style='text-decoration: underline;' href="http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt" target="_blank">http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt</a>
Read TidBITS! It's free and smart. <a style='text-decoration: underline;' href="http://www.tidbits.com" target="_blank">http://www.tidbits.com</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: terminal ftp 
Back to top
Login to vote
Tom Stiller

External


Since: Jul 13, 2003
Posts: 2738



(Msg. 3) Posted: Fri Feb 18, 2005 10:48 pm
Post subject: Re: terminal ftp [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <1gs6ltk.1f212ru1i360e8N%matt@tidbits.com>,
matt.TakeThisOut@tidbits.com (matt neuburg) wrote:

 > Robert <rccharles.TakeThisOut@my-deja.com> wrote:
 >
  > > I am using the terminal in MacOS 10.2.6. I have a saved a term file
  > > which I use to invoke the ftp command. The command string is:
  > > ftp myidn.TakeThisOut@www.mysite.com
  > >
  > > What I'd like to be able to automate is the setting of the remote path
  > > and the local path. I have tired:
  > > ftp myidn.TakeThisOut@www.mysite.com:directory/subdirectory
 >
 > Try using a regular FTP URL:
 >
<font color=purple> > ftp <a style='text-decoration: underline;' href="ftp://myidn@www.mysite.com/directory/subdirectory</font" target="_blank">ftp://myidn@www.mysite.com/directory/subdirectory</font</a>>
 >
 > m.

Or write a shell script which includes any FTP commands you like, for
example:

sftp <a style='text-decoration: underline;' href="http://www.mysite.com" target="_blank">www.mysite.com</a> <<EOF
cd <wherever you want on the remote machine>
lcd <wherever you want on the local machine
get and put statements as you choose
....
EOF

--
Tom Stiller

PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: terminal ftp 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> System All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]