Computing.Net > Forums > Unix > In script - how do I response to ftp err

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

In script - how do I response to ftp err

Reply to Message Icon

Name: MR
Date: August 3, 2001 at 09:13:13 Pacific
Comment:

I have an Unix ftp script. I want to check the errors from GET command. How do I do this?



Sponsored Link
Ads by Google

Response Number 1
Name: tom z.
Date: August 4, 2001 at 04:46:48 Pacific
Reply:

Hmm, unfortunately, in a script, ftp is fire and forget. I otherwords, you cannot, because the control is turned over to 'ftp' once you start the program.


0

Response Number 2
Name: WolfieK
Date: August 6, 2001 at 05:36:01 Pacific
Reply:

hi MR,

spool the output to a logfile and analyse
the logfile within your script. search for strings like "rejected" or "denied".

regards

Wolfie


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: In script - how do I response to ftp err

How do i play half life in red hat www.computing.net/answers/unix/how-do-i-play-half-life-in-red-hat/900.html

Help: how do i search a file? www.computing.net/answers/unix/help-how-do-i-search-a-file/4660.html

how do i.... www.computing.net/answers/unix/how-do-i/1480.html