OK, having another issue with this script. I've setup the script like this:
ftp servername <<+
cd directory I want to get the files from
lcd directory i want to put the files
put filename
quit
+
Right now, I'm testing FTPing a file from a directory on one box to a directory on the same box. I...
Thanks for the help. I've tried writing a .netrc file but cannot get the permissions correct. Either it says that the .netrc file not correct mode or Permission Denied. Anyone know of what the correct file permissions should be for this file to work correctly?
I am trying to build a script to start an FTP session from a UNIX script. The only problem is that IP Address, user, and password information are going to be coming from a text file. Anyone have any idea how to pass this information to the FTP command. (Tried using < and all I get is ?Invalid...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.