Unix/Linux Go Back    


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

ftp error 550 folder not found

UNIX for Dummies Questions & Answers


 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 03-17-2008   -   Original Discussion by lnarayana
lnarayana's Unix or Linux Image
lnarayana lnarayana is offline
Registered User
 
Join Date: Mar 2008
Last Activity: 18 March 2008, 9:47 AM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #2  
Old Unix and Linux 03-17-2008   -   Original Discussion by lnarayana
jim mcnamara's Unix or Linux Image
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 25 April 2018, 9:55 PM EDT
Location: NM
Posts: 11,358
Thanks: 604
Thanked 1,153 Times in 1,062 Posts
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.
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shell Script to monitor folder and upload found files via FTP pulsorock Shell Programming and Scripting 4 07-24-2010 09:27 AM
Command Not Found Error? praswer Red Hat 2 07-18-2008 04:51 PM
sqlload not found error abhi_123 UNIX for Dummies Questions & Answers 2 06-02-2008 08:54 AM
not found error gander_ss Shell Programming and Scripting 4 05-11-2007 04:24 AM



All times are GMT -4. The time now is 01:57 AM.