Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> find and ftp problem
art1976
post Feb 15 2008, 12:33 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 15-February 08
Member No.: 13,336



i need to find and send via ftp some files....

its my script:

FILESLIST=`find /storage/pgsql/data/pg_log -ls -name '*.log' -mmin -60000`

echo "
user username password
bin
prompt
mput $FILESLIST
dir
quit" | ftp -nv 192.168.0.10

finally script not working.... and i dont know why....
can somebody help me please? smile.gif

Regards art1976
Go to the top of the page
 
+Quote Post
michaelk
post Feb 15 2008, 03:36 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



Is this your server where you could use ssh instead of ftp?
Checkout expect for dealing with entering stuff like usernames and passwords.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2017 - 09:06 AM