After a little googling and testing, this worked:

ftp -n server_name <<EOF
quote user cblouch
quote pass xxxxxx
binary
put filename.xyz
quit

Of course you would put in your own server anme, username and password. I just put this in a text file and then did a chmod a+x to make it executable. Then I just did ./test_file to run my test file.

Hope this helps.

CB

mani wrote:
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 <marri...@gmail.com> wrote:
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 the fix
was?  :)
mani On Apr 7, 9:55 pm, Sarah Alawami <marri...@gmail.com> wrote:
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 <marri...@gmail.com> 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 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 care.
On Apr 7, 2010, at 6:11 PM, mani wrote:
Sarah:
Can you try
user userstring passwordstring
bin
...
Thanks,
mani
On Apr 7, 8:45 pm, Sarah Alawami <marri...@gmail.com> 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: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 worng. Take care. S
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 <bmustillr...@gmail.com> 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 the syntax wrong, its been a while. On 08/04/2010, Sarah Alawami <marri...@gmail.com> wrote:
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: usernamestring
password passwordstring
bin
lcd desktop
am I missing something here? sory about the odd info I filled in there
places but yeah.
Thanks. and I am close I just don't know what I'm doing wring. Thanks. --
You received this message because you are subscribed to the Google Groups
"MacVisionaries" group.
To post to this group, send email to macvisionar...@googlegroups.com.
To unsubscribe from this group, send email to
macvisionaries+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/macvisionaries?hl=en.
--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to macvisionar...@googlegroups.com.
To unsubscribe from this group, send email to 
macvisionaries+unsubscr...@googlegroups.com.
For more options, visit this group 
athttp://groups.google.com/group/macvisionaries?hl=en.
--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to macvisionar...@googlegroups.com.
To unsubscribe from this group, send email to 
macvisionaries+unsubscr...@googlegroups.com.
For more options, visit this group 
athttp://groups.google.com/group/macvisionaries?hl=en.
--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to macvisionar...@googlegroups.com.
To unsubscribe from this group, send email to 
macvisionaries+unsubscr...@googlegroups.com.
For more options, visit this group 
athttp://groups.google.com/group/macvisionaries?hl=en.
--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to macvisionar...@googlegroups.com.
To unsubscribe from this group, send email to 
macvisionaries+unsubscr...@googlegroups.com.
For more options, visit this group 
athttp://groups.google.com/group/macvisionaries?hl=en.


--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to macvisionar...@googlegroups.com.
To unsubscribe from this group, send email to 
macvisionaries+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.

Reply via email to