on 05-18-2006 11:26 AM
Hi,
I'm trying to execute an Operating System Command after processing.
I want to move *.dat files from the "ccc" Folder to the temp folder on the FTP server.
The command line looks like this "move \ccc\*.dat \temp"
Can any one help.
Live long and prosper
Frank Hinrichsen
Frank,
check this blog on how to use and debug OS commands in File Adapter from Xi,
/people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
You can execute commands on the XI OS only. To execute OS command on FTP server using :
ftp <parameters>
Refer any standard FTP guide for syntax
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Frank,
What conect mode have you used?
<b>Permanently</b>
An existing connection to the FTP server is used permanently.
The connection is reestablished automatically if it is closed by the server.
<b>Per File Transfer</b>
A new connection to the FTP server is established for each file transfer.
Regards,
Bhavesh
I have an Receiver FTP adapter.
After Message Processing,I would like to move the file on the FTP server.
Under "Run Operating System Command After Message Processing" in the command line I write
<b>"ftp rename /Folder/filename.xml /newFolder/filename.xml"</b>
I think this is the right syntax.
I'm using permanently connection. so there should be no login issues.
But the rename on the FTP server is not done. The User is autorized to execute the rename command.
I have succesfully used the above command in DOS prompt.
Hope this makes my problem clear to you .
Regards Frank
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.