SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Ftp Failure

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Ftp Failure
Author Message
J Byrne



Joined: 09 Mar 2000
Posts: 2

Post Ftp Failure Reply with quote

I'm using basically the example ftp script. My ftpfileexists works but the
ftpget fails. The scheduler is telling me that the download failed with "error 123" and the script dies. Has anyone seen this before? I can get the file on the command line via standard FTP..

Thu Mar 09, 2000 2:15 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7838

Post Re: Ftp Failure Reply with quote

"error 123" is reported by your FTP server. Many FTP servers use that code for insufficient privileges. Before downloading a file, 24x7 attempts to set the current directory on the FTP server to the file directory. Check with your system administrator that you have enough permissions to access contents of this directory (and all subdirectories in the file path).

: I'm using basically the example ftp script. My ftpfileexists works but the
: ftpget fails. The scheduler is telling me that the download failed with
: "error 123" and the script dies. Has anyone seen this before? I
: can get the file on the command line via standard FTP..

Thu Mar 09, 2000 3:28 pm View user's profile Send private message
J Byrne



Joined: 09 Mar 2000
Posts: 2

Post Re: Ftp Failure Reply with quote

Thanks for the quick reply. That's strange, the ftp server is anonymous, also, I can get the file via FTP from the command line, as far as I know, anyone can.
Is it that 24x7 doesn't have the right permissions???

Thanks for any more insight you might have.

---------------------------------------------------------------------
: "error 123" is reported by your FTP server. Many FTP servers use
: that code for insufficient privileges. Before downloading a file, 24x7
: attempts to set the current directory on the FTP server to the file
: directory. Check with your system administrator that you have enough
: permissions to access contents of this directory (and all subdirectories
: in the file path).

Fri Mar 10, 2000 2:11 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7838

Post Re: Ftp Failure Reply with quote

Even if you can get that file via FTP from the command line does not automatically mean that you can get the contents of the directory where that file is stored. Make sure you permissions both for the directory and for the file.

Note: 24x7 needs to set the current directory in order to search for the file before it attempts to download it. This allows automating various FTP "file watch" jobs.

Workaround: If you like you can automate command line FTP by creating a FTP script than run it like "FTP my_ftp_server_name_here /s my_script.ftp". Then make 24x7 to run that command whenever desired.

Sample file
-----------------------------------
USER anonymous
PWD name@company.com
GET /some_dir_here/some_file_here
QUIT

Note that different FTP utilities support different syntax. Please run "FTP /?" command for more details.

: Thanks for the quick reply. That's strange, the ftp server is anonymous,
: also, I can get the file via FTP from the command line, as far as I know,
: anyone can.
: Is it that 24x7 doesn't have the right permissions???

: Thanks for any more insight you might have.

: ---------------------------------------------------------------------

Fri Mar 10, 2000 9:25 am 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.