> 
> Hi pluggers, I'm planning to setup sana of an ftp service capable of allowing 
> automatic connection and downloading. Put ko sana sa script from a linux dialer to 
> linux dialin. How do I do it? I read that sftp can do it, how do I include my 
> password in the script?
> 

pahabol, if yur going for ftp or wget, usually
you can get away of entering the password by hardcoding
the user/passwd in ~/.netrc file.  a lot of 
net utilities still understands that (I know wget does
since i did something similar to your problem recently).
gotta protect the ~/.netrc file though (file mode
of rw------- at least).  

# sample ~/.netrc 
machine xyz.yourdomain.com login joe password 12joex

I stongly suggest ssh though, although wget worked
fine for me.  wget is also cool in that you can make it
skip files that it thinks have not changed 
( by timestamps and filesizes).

jondz
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL 
PROTECTED]

Reply via email to