| View previous topic :: View next topic |
| Author |
Message |
ggustafs
Joined: 09 Jan 2007 Posts: 6 Location: Eagan, MN
|
Posted: Thu Oct 23, 2008 7:20 am Post subject: FTP command - QUOTE |
|
|
We are trying to convert some older main frame ftp scripts to automize. The ftp scripts require the use of the ftp command QUOTE. we have put these in the ftp command window. When we run, we get logged in correctly be we get an '500 - unknown command QUOTE' response back from the MF FTP server. These commands run ok when run normally through the regular FTP client. Does Automize not recognize these FTP commands or is there something else we are doing wrong? We are using Automize 7.x for this run. We have 8.x but not on the server in question.
Your response will be greatly appreciated.
Gary |
|
| Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Thu Oct 23, 2008 2:34 pm Post subject: |
|
|
Is the command just QUOTE or does it have arguments?
Is this a SITE command? |
|
| Back to top |
|
 |
ggustafs
Joined: 09 Jan 2007 Posts: 6 Location: Eagan, MN
|
Posted: Mon Oct 27, 2008 4:17 am Post subject: |
|
|
| It has parameters and it is part of a site command. The command line is like "QUOTE SITE RECFM=xx LRECL=xx CYLINDERS PRIMARY=x SECONDARY=x" |
|
| Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Tue Oct 28, 2008 9:52 am Post subject: |
|
|
Looking through our source code, we do not support this command in 7.x or 8.x Ftp command task.
The 3rd party Ftp api we use, supports the following functions:
1) SendCommand (this is implemented in Ftp Command task )
2) SendSiteCommand (this is NOT implemented in Ftp Command task as of 8.09)
We have added this to our wishlist and SendSiteCommand will be implemented in 8.10 to be released next week. |
|
| Back to top |
|
 |
tstretar
Joined: 17 Feb 2009 Posts: 16
|
Posted: Mon Mar 30, 2009 12:32 pm Post subject: Quote Site |
|
|
Is the ftp command QUOTE SITE now supported in Automize 8.17?
Where do I input these commands?
The format we currently use is:
QUOTE SITE RECFM=xx LRECL=xx CYLINDERS PRIMARY=x SECONDARY |
|
| Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Tue Mar 31, 2009 7:59 am Post subject: |
|
|
This was supported in the FTP command task in 8.10.
This was supported in the FTP-j command task in 8.00.
Patch ID = 8.10 - Use with Versions 8.00 or later ONLY
Patch release date: 11/03/08
* Regular Expression test utility for filename FIND and RENAME added in Utility menu.
* FTP Command task - new command $$SITECOMMAND supported.. example use: $$SITECOMMAND::QUOTE SITE .....
* Encryption module - --textmode option added for Encrypt and Encrypt & Sign methods |
|
| Back to top |
|
 |
tstretar
Joined: 17 Feb 2009 Posts: 16
|
Posted: Thu May 14, 2009 1:17 pm Post subject: FTP Command task |
|
|
Thank you for your reply on the FTP Command task - $$SITECOMMAND.
I was able to get the QUOTE SITE command working. When I try and send the file using the FTP task I am getting the following error:
**ERROR Information - 550 Mismatched quotes on pathname 'FTPLMP.'/TS.File.name.FTP |
|
| Back to top |
|
 |
melvin Site Admin
Joined: 25 May 2006 Posts: 595 Location: Santa Barbara, california
|
Posted: Fri May 15, 2009 6:25 am Post subject: |
|
|
which FTP server type is this?
what task are you using? FTP, FTP command, FTP-j? |
|
| Back to top |
|
 |
tstretar
Joined: 17 Feb 2009 Posts: 16
|
Posted: Fri May 15, 2009 6:46 am Post subject: FTP command |
|
|
I am using FTP Command fror the QUOTE SITE, which was successful. Then I was using FTP to send and rename the file. That is when I recieved the 550 error.
FTP command
USER ftplmp
PASS $PASSWORD$
$$SITECOMMAND::QUOTE SITE RECFM=FB LRECL=3400 CYLINDERS PRIMARY=3 SECONDARY
200-BLOCKSIZE must be a multiple of LRECL for RECFM FB
200-BLOCKSIZE being set to 10200
200 SITE command was accepted
FTP
Default dir:'FTPLMP.'
Current ftp dir:'FTPLMP.'
257 "'FTPLMP.'" is working directory.
**ERROR Information - 550 Mismatched quotes on pathname 'FTPLMP.'/TS.LMP00.GEEPS.FTP
Failed or incomplete transfer: 'FTPLMP.'/TS.LMP00.GEEPS.FTP , File Size = 2961140, Transferred: 0
May 14, 2009 3:33:11 PM **END of Error Information** |
|
| Back to top |
|
 |
tstretar
Joined: 17 Feb 2009 Posts: 16
|
Posted: Tue May 19, 2009 9:09 am Post subject: FTP Command |
|
|
I have the following FTP Commands set up to send a single file. User is not receiving the file even though I see no errors in the log.
Is there something I'm missing or doing wrong?
Any help would be appreciated.
FTP Commands
USER ftplmp
PASS $PASSWORD$
$$SITECOMMAND::QUOTE SITE RECFM=FB LRECL=3400 CYLINDERS PRIMARY=3 SECONDARY
$$LCD::F:\Batch\GEEPSD
$$PUT::AKRGTEST.dat
RNFR AKRGTEST.dat
RNTO TS.LMP00.GEEPS.FTP
FTP LOG
Ftp Commands - connecting. please wait...
Ftp Commands - 220-FTPD1 IBM FTP CS V1R9 at site.COM
220 Connection will close if idle for more than 30 minutes.
Ftp Commands - Local directory is: C:\Documents and Settings\eis001. Please set local directory using: $$LCD::local_dir_path
Ftp Commands - USER ftplmp
Ftp Commands - 331 Send password please.
Ftp Commands - PASS $PASSWORD$
Ftp Commands - 230 FTPLMP is logged on. Working directory is "FTPLMP.".
Ftp Commands - $$SITECOMMAND::QUOTE SITE RECFM=FB LRECL=3400 CYLINDERS PRIMARY=3 SECONDARY
Ftp Commands - 200-Unrecognized parameter 'SITE' on SITE command.
200-BLOCKSIZE must be a multiple of LRECL for RECFM FB
200-BLOCKSIZE being set to 10200
200 SITE command was accepted
Ftp Commands - $$LCD::F:\Batch\GEEPSD
Ftp Commands - Local directory is: F:\Batch\GEEPSD
Ftp Commands - $$PUT::AKRGTEST.dat
Transferred:F:\Batch\GEEPSD\AKRGTEST.dat , To: AKRGTEST.dat
Ftp Commands - RNFR AKRGTEST.dat
Ftp Commands - 350 RNFR accepted. Please supply new name for RNTO.
Ftp Commands - RNTO TS.LMP00.GEEPS.FTP
Ftp Commands - 250 FTPLMP.AKRGTEST.DAT renamed to FTPLMP.TS.LMP00.GEEPS.FTP
Ftp Commands - End Instance = 17 , Exit Code = 0 , Runtime (ms) = 4860 |
|
| Back to top |
|
 |
Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Tue May 19, 2009 1:28 pm Post subject: |
|
|
is there anything in the debug log corresponding to the transfer?
regarding FTPLMP.TS.LMP00.GEEPS.FTP ... is the . corresponding to directory separator? |
|
| Back to top |
|
 |
|