SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
FTP Logs

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
FTP Logs
Author Message
M. Chappell



Joined: 30 Jun 2000
Posts: 6

Post FTP Logs Reply with quote

When one of my scripts performs a FTPGetFile statement to a UNIX host, I receive the following message from 24x7:

An error occurred while executing 24x7 script.

--> Line 107: Line 9: Download failed. The server has returned an extended
--> error:
--> 200 Type set to I.
--> PORT command successful.
--> 550 Operation is not supported under CONNECT:Mailbox FTP server.
--> 550 *** ERROR *** NO BATCHES FOR TRANSMISSION

Is there a more detailed log file in 24x7 that will tell me which FTP commands are being sent to the host so I can determine which command is not supported?

Once I find which command is not being supported, do I need to manually code the FTP statements instead of using 24x7's FTP statements?

Thu Jul 13, 2000 12:35 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7841

Post Re: FTP Logs Reply with quote

Sure.

Turn on tracing (Tools/Options, Log, Tracing Enabled) and run it again or run this job in the debugger. Tracing will give you some more details.

: When one of my scripts performs a FTPGetFile statement to a UNIX host, I
: receive the following message from 24x7: An error occurred while executing
: 24x7 script.

: --> Line 107: Line 9: Download failed. The server has returned an extended
: --> error: --> 200 Type set to I.
: --> PORT command successful.
: --> 550 Operation is not supported under CONNECT:Mailbox FTP server.
: --> 550 *** ERROR *** NO BATCHES FOR TRANSMISSION

: Is there a more detailed log file in 24x7 that will tell me which FTP
: commands are being sent to the host so I can determine which command is
: not supported?

: Once I find which command is not being supported, do I need to manually code
: the FTP statements instead of using 24x7's FTP statements?

Thu Jul 13, 2000 12:47 pm View user's profile Send private message
M. Chappell



Joined: 30 Jun 2000
Posts: 6

Post Re: FTP Logs Reply with quote

When this job originally ran, I was in debug mode and I had trace enabled. The trace window shows a successful login, a couple of blank lines, and then a "Connection closed" message. No information is displayed about the error other than the 24x7 dialog box I previously described.

That's why I was wondering if there was anything else (like a log that showed what native FTP commands were created by the FTPGetFile statement) that I could use to determine what the host doesn't like. Without knowing what happens "behind the scenes" when FTPGetFile executes, it will be difficult to diagnose this problem. But, if I could recreate the FTP Get manually from the command line, I may be able to figure it out.

Thanks.

Thu Jul 13, 2000 5:27 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7841

Post Re: FTP Logs Reply with quote

But you know precisely which operation failed. FTPGetFile made a successful connection, attempted to get the file, failed, closed connection, and again you know the exact file name.

Try downloading the same file using standard command line FTP utility.
Make sure the file you are trying to download exists and it is not a directory and it is not a link to some other file.

Also check that you don't have "special ASCII characters" in both the source and destination file names, like "c:\temp\xxx.txt" will be be converted to "c:[tab]emp\xxx.txt." If this is the case, use double-backslashes.

: When this job originally ran, I was in debug mode and I had trace enabled.
: The trace window shows a successful login, a couple of blank lines, and
: then a "Connection closed" message. No information is displayed
: about the error other than the 24x7 dialog box I previously described.

: That's why I was wondering if there was anything else (like a log that showed
: what native FTP commands were created by the FTPGetFile statement) that I
: could use to determine what the host doesn't like. Without knowing what
: happens "behind the scenes" when FTPGetFile executes, it will be
: difficult to diagnose this problem. But, if I could recreate the FTP Get
: manually from the command line, I may be able to figure it out.

: Thanks.

Thu Jul 13, 2000 5:47 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.