Author |
Message |
J Steele
Joined: 12 Jan 2001 Posts: 9
|
|
FTPGetFile |
|
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 |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
Re: FTPGetFile |
|
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 |
|
 |
J Steele
Joined: 12 Jan 2001 Posts: 9
|
|
Re: FTPGetFile |
|
: 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 |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
Re: FTPGetFile |
|
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 |
|
 |
J Steele
Joined: 12 Jan 2001 Posts: 9
|
|
Re: FTPGetFile |
|
: 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 |
|
 |
J Steele
Joined: 12 Jan 2001 Posts: 9
|
|
Re: FTPGetFile |
|
: ...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 |
|
 |
J Steele
Joined: 12 Jan 2001 Posts: 9
|
|
Re: FTPGetFile |
|
: ...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 |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
Re: FTPGetFile |
|
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 |
|
 |
J Steele
Joined: 12 Jan 2001 Posts: 9
|
|
Re: FTPGetFile |
|
: 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 |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
Re: FTPGetFile |
|
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 |
|
 |
|