PI 7.30: OS command on AIX to archive files on FTP does not work
Dear experts,
Our PI system runs on an AIX server.
I have a scenario PI --> FTP. I also need to archive files in a seperate folder on the FTP.
I have been following thread:
Read or Write File On FTP server based on another file existence.
After file processing in the Audit Log in RWB I among others I get the information:
Execute OS command "sh /usr/sap/SYS/flex/batches/archive.sh file.zip /ftpfolder/file.zip"
It seems it is working properly.
The file itself gets processed to the "ftpfolder". But in the archive folder I do not get a copy of that file.
My script looks like this:
#!/bin/ksh
ftp -n -v <<%%EOF%%
open ftpserver
user myuser mypassword
prompt
asci
cd archivefolder
mput $2
bye
%%EOF%%
In the file receiver I have "Run OS command after message processing":
"sh /usr/sap/SYS/flex/batches/archive.sh %f %F"
%F stands for the complete path, right? So if I say "mput $2" in my script it should use %F.
Could you please help me out here. I really don't know what the problem could be.
Thank you and best regards,
Peter
hi Peter,
>>>I have a scenario PI --> FTP
but FTP does not support OS command as far as I remember
correction:
"Note that for the File Adapter transport protocol "FTP", the operating system command is NOT executed on the FTP server, but on the server hosting the Adapter Engine."
please check for details:
Note 841704 - XI File & JDBC Adapter: Operating system command
Regards,
Michal Krawczyk
Edited by: Michal_Krawczyk_PIXI on Feb 3, 2012 3:38 PM
Similar Messages
-
I am attempting to upload multiple photos on a mac pro from a cd. I have tried holding the "command"button down to select multiple photos but it does not work. Please advise. Thanks,John
why not sort by (name, date, etc) and Click on 1st and Shift-Click on last.
Might work better to copy or import to a project folder.
https://discussions.apple.com/community/ilife/iphoto
http://www.apple.com/support/iphoto -
Since updating iPhoto it has ceased to open. I have tried to Hold down the Command and Option keys on the keyboard which is the suggested solution to then open a suggested solution to rebuild the library, but it does not work. iPhoto still does not open. can someone please help?
thank youTry the following:
1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
Home/Library/ Preferences folder.
2 - delete iPhoto's cache folder(s):
Home/Library/Containers/com.apple.iPhoto
and, if there is one, the
Home/Library/Caches/com.apple.iPhoto folder
3 - reboot, launch iPhoto and try again.
NOTE: For Mavericks, 10.9, go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
Happy Holidays -
I have a MacBook, made in 2010. I can't get the eject function to work. I have a DVD in now and want to eject it and put another one in. Command-E, dragging it to the trash or Find-Eject does not work. Ideas?
Hi there. Hear are some other options . Hold down for click on the track pad while restarting and keep it down all the way thru boot. Or use right click on a mouse. If it's stuck, sometimes sticking a business card in top edge of slot while trying the eject option can work.
-
Opening my Photoshop Elements 11 does not work. I always get following message: "Could not open a volume of work, because the file is locked or you do not have the required permissions. Undo the protection of the file on using the command 'Properties' in Windows Explorer." What is wrong? I cannot unterstand what I have to do!
Could not open a scratch file because the file is locked or you do not have the necessary access privileges. (…) | Mylen…
Mylenium -
Unix Command install updates for 10.9 Mavericks does not work
Unix Command install updates for 10.9 Mavericks does not work
These commands no longer work with 10.9
softwareupdate -i -a
softwareupdate -d
Are there new unix commands for 10.9 to install updates?Now that Safari 7.0.3 is out there is actually something to update, here is the results:
SYSTEM2 (192.168.1.6)
Software Update Tool
Copyright 2002-2012 Apple Inc.
Finding available software
Downloading Safari
Downloaded Safari
Installing Safari
Done with Safari
Done.
Get Info on the system shows:
Modified: Today 10:15
Version: 7.0.3, Copyright © 2003-2014 Apple Inc.
Regards,
Shawn -
SQL*Plus COPY command does not work
SQL*Plus COPY command does not work in SQL Developer. I am using SQL Developer 1.5.1 on Windows XP.
copy from <source_db_connection> to <target_db_connection> create <target_tab_name> using select * from <source_tab_name>
Does it work on different versions of SQL Developer ?
Anyone had any success in trying COPY command in SQL Developer?
Thanks in advance.While it hasn't been updated for v1.5, this page lists the supported SQL*Plus commands. COPY is explicitly listed as not supported.
theFurryOne -
"FOR REC IN CURSOR(PARAMETERS) LOOP" command does not work. Why?
Hi to all.
It's a pleasure to receive your help.
In "FOR REC IN CURSOR(PARAMETERS) LOOP" command although the query return value does not enter the loop.
Sounds simple, but I'm not seeing the flaw...
Suggestions?
Version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
Thank in advance,
FilippeFilippe Soares Roza wrote:
Hi to all.
It's a pleasure to receive your help.
In "FOR REC IN CURSOR(PARAMETERS) LOOP" command although the query return value does not enter the loop.
Sounds simple, but I'm not seeing the flaw...
Suggestions?
Version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
Thank in advance,
Filippe
see a picture of my car that does not work.
Tell me how to make my car go.
How do I ask a question on the forums?
SQL and PL/SQL FAQ -
Hi guys, I have a big problem! My bookmark shortcut entry(command D) does not work anymore and do you know by any changes how to undo resetting of Safari? Thnx a million
Try troubleshooting the Safari .plist file.
Quit Safari.
Open a Finder window. Select your Home Folder in the Sidebar on the left. It has a small house icon. Then open the Library folder then the Preferences folder.
Move the com.apple.Safari.plist file from the Preferences folder to the Desktop. Relaunch Safari. Try a bookmark.
If that didn't help, check Safari / Preferences then select the Extensions tab. If you have any installed, turn that off, quit then relaunch Safari.
If Extensions aren't the issue, reset Safari. From the menu bar click Safari / Reset Safari. Select the top 7 buttons, click Reset. -
delete command does not work.. it just freezes neither roll back happens.. please advice
Always: If possible, give the exact command & output from your terminal, pefrerrable with copy & paste. We cannot see your screen and magically spot the problem.
In general, you should also include your database version and OS, although I doubt that this is relevant in this particular case.
Kind regards
Uwe Hesse
http://uhesse.wordpress.com -
Mac OS X 10.6.7
CS 5.5
When Firefox is open the zoom function (option/command/space bar) does not work in Adobe programs (InDesign, Photoshop, Illustrator). This happens only when Firefox is open and when I close it the zoom functions work fine again without having to restart the applications.
This is intermittent but happens quite frequently each day if Firefox is active.MDN doesn't mention -chrome being used for ordinary web pages: https://developer.mozilla.org/docs/Mozilla/Command_Line_Options#Chrome
When I use
firefox.exe -chrome about:permissions
I get a usable window, but zoom doesn't work as you noted.
How about using an intermediate page and window.open() for the target page? You can (mostly) restrict the chrome of windows opened that way, but it will leave behind the intermediate window...
https://developer.mozilla.org/docs/Web/API/Window.open -
I want to disable 'Spotlight' for repairing my disk "Macintosh HD" , but somehow the command 'sudo mdutil -a -i off' does not work in 'Terminal'. I get result as ' bash: sudo: command not found' .I am using OS 10.10. Please help.
It appears that you may not have a properly installed OS X system.
You must be connected to the Internet to reinstall OS X.
In the menu bar, choose Apple menu > Restart. Once your Mac restarts (and the gray screen appears), hold down the Command (⌘) and R keys.
Select “Disk Utility,” and then click Continue.
Select your startup disk from the list on the left, and then Repair Disk.
After disk is repaired, select Reinstall OS X, then click Continue.
Follow the onscreen instructions. In the pane where you select a disk, select your current OS X disk -
Shift-Command-R does not work anymore
Hello all,
I've noticed that the shortcut shift-command-r does not work anymore on my macbook pro. I used it for the calendar to refresh all calendars, and its also handy to open the reader in safari 5.
When I open the keyboard viewer from the language and text menu I can see it when I press shift, then command but when I press "R" nothing changes, only shift+command stay highlighted. Other letters do work, so its a bit strange.
Anyone know a solution for this?
Thank you in advanceNope thats not the problem, the listening key is Esc. It is as if the keyboard does not register it when the R is pressed in combination with the shift and the command together. As I said, the keyboard viewer shows every keystroke except the shift-command-r combi.
-
Command to set firefox as default does not work
After setting chrome as my default browser, I want to set Firefox as my default browser from the command line on windows.
According to http://kb.mozillazine.org/Default_browser I ran
firefox.exe -silent -setDefaultBrowser
But that does not work. Chrome stays as the default browser. Setting FF as the default from the FF dialog (asking to set as default) works but I want to do it from the commandline.We have a support article on that: [[Make Firefox the default browser on Android]]. When trying to determine the current default browser app, I think Samsung's is called "Internet".
-
Hi,
I changed some Applescripts over to InDesign CS5 from CS3 and now they do not work. Basically all the Applescript does is place a graphic in a rectangle and size it to fit. The problem is that I keep getting an error that says, ...
Adobe InDesign CS5 got an error: "Macintosh HD:Users:User:Desktop:untitled folder:1023SW.tif" doesn’t understand the place message.
I get the exact same error when I run the "Image Catalogue" script that came with Adobe InDesign CS5. The script does everything but place the image. It works just fine in CS3.
Can anyone please help me with this? A sample of the script is below. This is the one that comes with CS5 but it does not work
set myFile to item myCounter of myFiles
set myRectangle to rectangle myCounter of myDocument
tell myRectangle
set myGraphic to place (myFile as string)
--The place command returns a list, so get the
--first item of the list.
set myGraphic to item 1 of myGraphic
set label to myFile as string
if myFitProportional is true then
fit given proportionally
end if
if myFitCenterContent is true then
fit given center content
end if
if myFitFrameToContent is true then
fit given frame to content
end if
end tell
Any help would be appreciated.OK, I figured it out also.
In case anybody out there is having the same problem, this is the line of code I used:
set myGraphic to place (myArtFile as alias)
So I just changed "as string" to "as alias" and it worked.
Maybe you are looking for
-
Hi, so i have Jabber working with my UC540 and my network access points AP541Ns. this is good! However no doubt there will be many things we find problems with... One of the big ones is the lack of a dial plan for Jabber with the iPhones contacts. It
-
I ordered a Mac Pro with the Radion card. But I'm thinking that I might want to run Final Cut Pro with a 2-monitor setup and use my 50" LCD as a client monitor (3rd monitor). So if I wanted the client monitor to run off DVI, would I have to buy anoth
-
HOW TO CONVERT SAP DB TABLE TO XML FILE
Initially I want to store sap db table as xml file so that an external program can read it. Also i want that when table is updated only updated data is stored in xml file. Edited by: Sandip Mane on Apr 2, 2008 9:19 PM Edited by: Alvaro Tejada Galindo
-
My iphone5 is getting hang frequently after updating ios8
After updating ios8 in my iphone 5,its getting hang frequently (3,4 times a day).i have reset the device twice but still facing problems.battery life was great in ios 7 but worse in this.please fix this.
-
Hello everyone! I have a PCI 6115 DAQ card. I have created a finite analog input task and a finite digital output task. I wish to have both tasks start at the same time through the use of a trigger. It is my understanding that, even though these t