SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
FTPGetFile Question

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



Joined: 09 Aug 2001
Posts: 10

Post FTPGetFile Question Reply with quote

Folks,

Pretty intersting tool. I am evaluating several automation/scheduling tools for various EDI Implementations we have coming up. What is the financial status of SoftTree? If we buy this tool, what type of support do you offer? Any large clients?

With this, I downloaded the demo to play with and have been pretty impressed. One of the tasks that we will have to schedule will be retrieving flat files from a Unix/Oracle CPU and transferring them across our WAN to NT 4.0 box.

I have been able to use the following FTP JAL cmds successfully:

FTPFileExists
FTPPutFile
FTPRenamefile

However, when I attempt the FTPGetFile cmd, it can never seem to find the file to download and returns the following error:

"An error occurred while executing 24x& script line 19: Download failed for "". Error Code 161."

Here is the simple, sample code I tried to execute:

"FTPGetFile( "ipaddress" , "newbie" , "cracra" , /scratch/rri/smm.txt, "C:\WINDOWS\Desktop\24x7_Test\thisworked.txt")"

I know for a fact that the directory and file exist as shown above, but it nevers seems to be able to download the file.

Any thoughts? I have tried surrounding the source file in quotes and without (as seen above), to no evail. Is this a syntax issue, or a restriction of the source?

I am running the job from my own Win98 cpu, and the ftp server is on Unix/Oracle.

Any way for me to find out what Error Code 161 is?

Any thoughts on this matter would be much appreciated.

Cheers,
-SMM

Thu Aug 09, 2001 10:34 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: FTPGetFile Question Reply with quote

Take a look at http://www.softtreetech.com/Company.htm you may find answers for some of your non-technical questions on that page

Now about FTPGetFile. You are using single-backslashes instead of double backslahes. Please see "Scpecial ASCII characters" topic in the on-line help.

Change your code to FTPGetFile( "ipaddress" , "newbie" , "cracra" ,
"/scratch/rri/smm.txt", "C:\\WINDOWS\\Desktop\\24x7_Test\\thisworked.txt")

Error code 161 is returned by your FTP server. Please see your FTP server manual for details.

You may also want to use some graphical job templates (start in File/New/Job From Template menu). The template wizard will automatically generate the correct code/job definition.

: Folks,

: Pretty intersting tool. I am evaluating several automation/scheduling tools
: for various EDI Implementations we have coming up. What is the financial
: status of SoftTree? If we buy this tool, what type of support do you
: offer? Any large clients?

: With this, I downloaded the demo to play with and have been pretty impressed.
: One of the tasks that we will have to schedule will be retrieving flat
: files from a Unix/Oracle CPU and transferring them across our WAN to NT
: 4.0 box.

: I have been able to use the following FTP JAL cmds successfully:
: FTPFileExists
: FTPPutFile
: FTPRenamefile

: However, when I attempt the FTPGetFile cmd, it can never seem to find the
: file to download and returns the following error: "An error occurred
: while executing 24x& script line 19: Download failed for "".
: Error Code 161."

: Here is the simple, sample code I tried to execute: "FTPGetFile(
: "ipaddress" , "newbie" , "cracra" ,
: /scratch/rri/smm.txt,
: "C:\WINDOWS\Desktop\24x7_Test\thisworked.txt")"

: I know for a fact that the directory and file exist as shown above, but it
: nevers seems to be able to download the file.

: Any thoughts? I have tried surrounding the source file in quotes and without
: (as seen above), to no evail. Is this a syntax issue, or a restriction of
: the source?

: I am running the job from my own Win98 cpu, and the ftp server is on
: Unix/Oracle.

: Any way for me to find out what Error Code 161 is?

: Any thoughts on this matter would be much appreciated.

: Cheers,
: -SMM

Thu Aug 09, 2001 11:00 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.