ftp and log file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've created a batch file that reads from a parameter file and logs on to the
remote site and does its thing. how can i create a log file ? if i put the
'>' symbol on the command line it 's looking there for the logon paramterrs
instead of the parameter file.
 
Try the other one "<" in scripts (both dos and unix/linux) the ">" means
output to "stdout" and "<" mean input from "stdin". An easy way to remember
it which ever way the little "pointer" is pointing is the direction the data
is flowing - in "<" or out ">".
 
The > worked, when i looked in the spool file and saw the message 'password
required' i thought it didn't work, but when i looked in the directory where
i was ftping the file to, it was there. So using the > did in fact create the
spool file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top