Re: making batch scripts

2010-04-09 Thread Sarah Alawami
Ah cool I didn't know that. I was trying to come upwith words in my head that would make sence. Thanks. Sarah the non unix user until now. lol On Apr 9, 2010, at 4:43 PM, mani wrote: > Sarah: > Do you still have a problem or is this an older post? > > You inquired about the EOF in an earlier p

Re: making batch scripts

2010-04-09 Thread mani
Sarah: Do you still have a problem or is this an older post? You inquired about the EOF in an earlier post. EOF is just a token, signaling the script to read from the standard input until it encounters that token. Hence the EOF again in the last line. HTH, mani On Apr 9, 4:34 pm, Sarah Alawam

Re: making batch scripts

2010-04-09 Thread Sarah Alawami
> I would like to thank everyone who helped. after much hair pulling i got it > to work. 1. make my script in the usual way but the file is just for entering in ftp commands. 2. this is where I got stuck. open the .netrc file in the terminal. open -a TextEdit.app ~/.netrc and put this in the

Re: making batch scripts

2010-04-08 Thread Sarah Alawami
Ok I'm trying to make a .netrc file but since i have one for another script I made wiht someone's help the mac asks me if I want to replace it. I don't want to as I want to have more then one ftp script so is it safe for me to do for example .netrc-1? Thanks. On Apr 8, 2010, at 12:43 PM, Chris

Re: making batch scripts

2010-04-08 Thread Sarah Alawami
nope still no go. it says welcome to ftp server and then the address then ftp service name: ftp7.podbean.com:sarahalawami it did not even agnoledge the fact I had a file name in the thingy. Take care. On Apr 8, 2010, at 12:43 PM, Chris Blouch wrote: > After a little googling and testing, this w

Re: making batch scripts

2010-04-08 Thread Sarah Alawami
what is the eof thing for? I'm not familer with that comand. On Apr 8, 2010, at 12:43 PM, Chris Blouch wrote: > After a little googling and testing, this worked: > > ftp -n server_name < quote user cblouch > quote pass xx > binary > put filename.xyz > quit > > Of course you would put in you

Re: making batch scripts

2010-04-08 Thread Chris Blouch
After a little googling and testing, this worked: ftp -n server_name

Re: making batch scripts

2010-04-07 Thread mani
If you don't mind, can you send me the script, as is, again? Of course without the original userid and password. You can send it to me offline if you wish. Thanks, mani On Apr 7, 10:13 pm, Sarah Alawami wrote: > no go. I did not even connect this time. > > Growl! > On Apr 7, 2010, at 7:03 PM, m

Re: making batch scripts

2010-04-07 Thread Sarah Alawami
no go. I did not even connect this time. Growl! On Apr 7, 2010, at 7:03 PM, mani wrote: > Oh no! I know this is frustrating but can you try one last thing: > > ftp > open ftpstring > user userstring passwordstring > ... > ... > > I hope this works. Once you solve this, can you tell me what th

Re: making batch scripts

2010-04-07 Thread mani
Oh no! I know this is frustrating but can you try one last thing: ftp open ftpstring user userstring passwordstring ... ... I hope this works. Once you solve this, can you tell me what the fix was? :) mani On Apr 7, 9:55 pm, Sarah Alawami wrote: > I tried both ways with and with out the col

Re: making batch scripts

2010-04-07 Thread Sarah Alawami
I tried both ways with and with out the colen, even an equals sign between things and still no go. On Apr 7, 2010, at 6:44 PM, mani wrote: > > I am assuming you don't have the colon character after the user in all > the solutions I proposed. > > mani > On Apr 7, 9:36 pm, Sarah Alawami wrote: >

Re: making batch scripts

2010-04-07 Thread mani
I am assuming you don't have the colon character after the user in all the solutions I proposed. mani On Apr 7, 9:36 pm, Sarah Alawami wrote: > still no go. I still got tha todd message. it is like it is not seeing the > username or pasword strings I type in. I don't want ot type them in by han

Re: making batch scripts

2010-04-07 Thread Sarah Alawami
still no go. I still got tha todd message. it is like it is not seeing the username or pasword strings I type in. I don't want ot type them in by hand each time hence why I'm trying to make the batch file. It is saved right according to the google article I found. it was a post on a blog. Take

Re: making batch scripts

2010-04-07 Thread mani
Sarah: Can you try user userstring passwordstring bin ... Thanks, mani On Apr 7, 8:45 pm, Sarah Alawami wrote: > Ok I tried everything I could think of and this comes up on the terminal. > > ftp.podbean > Connected to ftphost > 220 "welcome to ftphostFTP service" > Name (ftp7.podbean.com:saraha

Re: making batch scripts

2010-04-07 Thread Sarah Alawami
Ok I tried everything I could think of and this comes up on the terminal. ftp.podbean Connected to ftphost 220 "welcome to ftphostFTP service" Name (ftp7.podbean.com:sarahalawami): I left the last thing in tact as it looked very odd. I think I'm close but I can't put my finger on what oculd be

Re: making batch scripts

2010-04-07 Thread Sarah Alawami
I'll try it. and see. like I said I know I'm very very close. thanks. On Apr 7, 2010, at 5:16 PM, mani wrote: > Sarah: > I think you have to do: > > ftp ftpaddressstring > user: usernamestring > passwordstring > ... > ... > > HTH, > Thanks, > mani > > On Apr 7, 8:02 pm, Ben Mustill-Rose wrot

Re: making batch scripts

2010-04-07 Thread mani
Sarah: I think you have to do: ftp ftpaddressstring user: usernamestring passwordstring ... ... HTH, Thanks, mani On Apr 7, 8:02 pm, Ben Mustill-Rose wrote: > Just a stab in the dark, but where you have > ftp ftpstring > have you tryed > ftp user:passw...@url > > Someone correct me if I've got

Re: making batch scripts

2010-04-07 Thread Ben Mustill-Rose
Just a stab in the dark, but where you have ftp ftpstring have you tryed ftp user:passw...@url Someone correct me if I've got the syntax wrong, its been a while. On 08/04/2010, Sarah Alawami wrote: > Hello to all. > > I'm making a btch script to connect ot an ftp server. I'm very close but it >

Re: making batch scripts

2010-04-07 Thread mani
Sarah: It has a been while since I used ftp. But try user userstring/ passwordstring and get rid of the password command. I think the password is part of the user information. HTH, Thanks, mani On Apr 7, 7:24 pm, Sarah Alawami wrote: > Hello to all. > > I'm making a btch script to connect ot an

making batch scripts

2010-04-07 Thread Sarah Alawami
Hello to all. I'm making a btch script to connect ot an ftp server. I'm very close but it would not type in the username and pass even thoug it is there. here is the script omiting the address usernamd and password. Take Am I doing something wrong here? ftp ftpaddressstring user: usernamestri