1833582 Members
3549 Online
110061 Solutions
New Discussion

Re: ftp logging ?

 
Sir T S S
Advisor

ftp logging ?

Hi guys,
i try out the ftp script and want to write a success msg to log if ftp ok, but how i know is the file get transfered or not?

i try out to grep the $? status but it is not meaningful as ftp success but file not went through..

any suggestion is appreciated.
2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: ftp logging ?

Check out Clay Stephensons last response in this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=550649

He attaches a Perl script which does FTP and has error checking built in via the Net::FTP perl module. That should hopefully get you started.
Sir T S S
Advisor

Re: ftp logging ?

i had found solution.