Home Man
Search
Today's Posts
Register

This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in the UNIX for Beginners Questions & Answers forum.

ftp error 550 folder not found

Tags
beginners, error, folder, ftp

 

 
Thread Tools Search this Thread
# 1  
Old 03-17-2008
ftp error 550 folder not found

Hi,

I am having an ftp script(runs in HP unix server) that connect to another server where we have different folders named as email addresses(eg."anarayana@yahoo.com").

Then it goes to each folder and put the file in that folder.

I found an error when remote folder is not created.

"550 anarayana@yahoo.com: folder not found"


I have handled this error using "550" in the log file.

But I got the failure of the script when I got the below line even though there is no error.

"550 bytes sent in 0.00 seconds (7246.38 Kbytes/s)"


Is there any better way to handle these errors?

What are the possible related errors that may occur when I execute the ftp script.


Thanks in advance.

L Narayana
# 2  
Old 03-17-2008
One way - look for other words besides 550 after you find 550 as the first word.
You will havre this problem with every transfer that moves a number of bytes that equals one of the (many) valid return ftp codes.
 

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Found = in conditional error? Eric1 Shell Programming and Scripting 2 05-05-2017 09:48 PM
/bin/sh: : not found error balareddy Shell Programming and Scripting 5 10-27-2013 02:34 PM
Symlink all files from one folder into all found folders Spadez Shell Programming and Scripting 1 09-26-2012 12:17 PM
command not found error mogabr Shell Programming and Scripting 9 07-25-2011 11:59 PM
sh: gzip: not found ERROR eponcedeleonc Shell Programming and Scripting 2 06-30-2011 11:26 AM
<< terminator not found error venkidhadha Shell Programming and Scripting 6 06-16-2011 04:30 PM
Command not found error figaro UNIX for Dummies Questions & Answers 7 06-13-2011 11:52 AM
Shell Script to monitor folder and upload found files via FTP pulsorock Shell Programming and Scripting 4 07-24-2010 09:27 AM
not found error gander_ss Shell Programming and Scripting 4 05-11-2007 04:24 AM
ERROR -> ./txt1[2]: x: not found k_oops9 Shell Programming and Scripting 2 11-08-2004 08:19 AM


All times are GMT -4. The time now is 05:35 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password