SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
FTPGetFile

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



Joined: 12 Jan 2001
Posts: 9

Post FTPGetFile Reply with quote

In doing an FTPGetFile I get the following error message:

"Line 59 (where my FTPGetFile is located) Dowload failed for "". Error Code 123"

Any ideas? I am running this on 2 different machines, this only happens on 1 of them. I can do the get manually via ftp, just having this problem within 24X7 on this one machine.

Wed Feb 14, 2001 10:58 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: FTPGetFile Reply with quote

Error 123 is reported by your FTP server and usually indicates insufficient permissions. Check if you use the same account on both computers. It is also possible that the second account defaults to another home directory on the FTP server and so it may have different relative path for the file you are trying to get.

: In doing an FTPGetFile I get the following error message: "Line 59
: (where my FTPGetFile is located) Dowload failed for "". Error
: Code 123"

: Any ideas? I am running this on 2 different machines, this only happens on 1
: of them. I can do the get manually via ftp, just having this problem
: within 24X7 on this one machine.

Wed Feb 14, 2001 11:15 am View user's profile Send private message
J Steele



Joined: 12 Jan 2001
Posts: 9

Post Re: FTPGetFile Reply with quote

: Error 123 is reported by your FTP server and usually indicates insufficient
: permissions. Check if you use the same account on both computers. It is
: also possible that the second account defaults to another home directory
: on the FTP server and so it may have different relative path for the file
: you are trying to get.

-Same account, and I'm using absolute references for the paths. What NT account does the scheduler use for ftp? The one that's logged in (in this case admin), or another?

Wed Feb 14, 2001 11:25 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: FTPGetFile Reply with quote

24x7 uses the server/account/password combination that you have specified as parameters in the FTPGetFile statement. No magic is there. Can you copy and paste your script from the *good* computer?

: -Same account, and I'm using absolute references for the paths. What NT
: account does the scheduler use for ftp? The one that's logged in (in this
: case admin), or another?

Wed Feb 14, 2001 11:31 am View user's profile Send private message
J Steele



Joined: 12 Jan 2001
Posts: 9

Post Re: FTPGetFile Reply with quote

: 24x7 uses the server/account/password combination that you have specified as
: parameters in the FTPGetFile statement. No magic is there. Can you copy
: and paste your script from the *good* computer?
...I did that, and I get the same error, but message number is "3". I was getting the "123" when I was trying to do it without variables...(I may have set the wrong id/pwd)...so what's 3?

Wed Feb 14, 2001 11:52 am View user's profile Send private message
J Steele



Joined: 12 Jan 2001
Posts: 9

Post Re: FTPGetFile Reply with quote

: ...I did that, and I get the same error, but message number is "3".
: I was getting the "123" when I was trying to do it without
: variables...(I may have set the wrong id/pwd)...so what's 3?
...actually, yer not supporting ftp for me, so I'll get back to ya on this...

Wed Feb 14, 2001 12:07 pm View user's profile Send private message
J Steele



Joined: 12 Jan 2001
Posts: 9

Post Re: FTPGetFile Reply with quote

: ...actually, yer not supporting ftp for me, so I'll get back to ya on this...
...and now I've figured out that "3" ain't an ftp error code...wanna email me on this issue so that I don't fill your message board?

Wed Feb 14, 2001 12:29 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: FTPGetFile Reply with quote

This is not becuase of the variables, this is something else in your code...
using plain back-slash (see special ASCII characters) in file path ???

: ...actually, yer not supporting ftp for me, so I'll get back to ya on this...

Wed Feb 14, 2001 12:30 pm View user's profile Send private message
J Steele



Joined: 12 Jan 2001
Posts: 9

Post Re: FTPGetFile Reply with quote

: This is not becuase of the variables, this is something else in your code...
: using plain back-slash (see special ASCII characters) in file path ???
The file path is a mainframe file reference(like abc.def.ghi.123) The line I'm using is:

FTPGetFile("123.45.67.89", "userID", "password", "'sps1.otst.abc.def.ghi'", "c:\test.txt")

...where 123.45.67.89 is the Mainframe's IP address on our network

Wed Feb 14, 2001 12:34 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: FTPGetFile Reply with quote

Ok, change it to
FTPGetFile("123.45.67.89", "userID", "password", "'sps1.otst.abc.def.ghi'",
"c:\\test.txt")

: The file path is a mainframe file reference(like abc.def.ghi.123) The line
: I'm using is: FTPGetFile("123.45.67.89", "userID",
: "password", "'sps1.otst.abc.def.ghi'",
: "c:\test.txt")

: ...where 123.45.67.89 is the Mainframe's IP address on our network

Wed Feb 14, 2001 12: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.