Issue in FTP to FTP scenairo
Hi all,
In the FTP to FTP scenario, the source file is not picked up, but in communication channel monitoring for the sender channel the status says, Polling stated, file processed successfully. It doesn't show a link, for the source message.
It implies that the channel is able to connec to the FTP server, but its not able to pick up some file.
The channels are configured properly.
One more thing which I noticed is that, when i try to send a message through RWB->Integration Engine, its gets posted successfully in the same FTP server.
Please let me know the solution for this.
Regards
Younus
Hi,
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Thanks
Vikranth
Similar Messages
-
Hello,
I am using FTP to FTP..
Here is the sample input file:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
FILE_TYPE=F
rec_ind Element ID Element Type ID Element Value Language Code Element Short Description Element Long Description
1 O 510110 en Books & Publications Books & Publications
1 O 510120 en Recordings Recordings
1 O 510130 en Lib Mat-Binds Library Materials - Binds
1 O 510140 en Lib Mat-Books Library Materials - Books
1 O 510150 en Lib Mat-CD Roms Library Materials - CD ROMs
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Here is my send CC content conversion..
BMOCreditRecordSet.endSeparator 'nl'
BMOCreditRecordSet.fieldFixedLengths '1000'
ignoreRecordsetName TRUE
BMOCreditRecordSet.fieldNames BMORecords
Here is my receiver CC content conversion..
BMOCreditRecordSet.endSeparator 'nl'
BMOCreditRecordSet.fieldFixedLengths '1000'
BMOCreditRecordSet.fieldNames BMORecords
ignoreRecordsetName TRUE
Output file is look like below with lot of space...
FILE_TYPE=F
rec_ind Element ID Element Type ID Element Value Language Code Element Short Description Element Long Description
1 O 510110 en Books & Publications Books & Publications
1 O 510120 en Recordings Recordings
1 O 510130 en Lib Mat-Binds Library Materials - Binds
1 O 510140 en Lib Mat-Books Library Materials - Books
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
There are lot of blanks in my output file... there are empty spaces between lines..
My question is how can I keep output and input file format identical..
THanks
John
Edited by: JOHN YAJJALA on May 11, 2011 8:05 PM
Edited by: JOHN YAJJALA on May 11, 2011 3:16 PMPlease check the File adapter FAQ note:
[Note 821267 - FAQ: XI 3.0 / PI 7.0/ PI 7.1 File Adapter|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=821267]
" Flat Files without File Content Conversion:
Whether to configure an encoding in this case depends on if
you want to pass through the file "as is", e.g. within a File
Sender to File Receiver scenario, or if you want to convert
the file's encoding on its way through the Integration Server.
For "as is" processing, configure both the sender and the
receiver using the File Type setting "Binary".
To apply an encoding conversion, configure the respective
source and target encoding in both the sender and receiver
channel.
Important: Configuring an encoding in the receiver channel
will only lead to the expected results if the payload sent to
the receiver channel is in UTF-8 format (e.g., by having
specified an encoding conversion in the Sender channel)." -
I need to FTP-SSL. Can I use FTP Task do FTPS? and How?
Thank you.
newbiewe use SFTP.
By default SSIS FTP task doesnt support SFTP. But there are free clients like WinSCP which can invoked from SSIS
We use Execute Process Task for the same. The WinSCP client requires a script file where you pass the required commands (put,get etc) for transfer of files from and to server.
This is a blog I wrote on the same for setting filename etc dynamically to do SFTP
http://visakhm.blogspot.in/2012/12/implementing-dynamic-secure-ftp-process.html
http://winscp.net/eng/docs/guide_ssis
And this is a comparison between SFTP and FTPS and of both SFTP is easier to setup
http://blog.goanywheremft.com/2011/10/20/sftp-ftps-secure-ftp-transfers/
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Oracle AS B2B - Various Features in FTP Adapter (FTPS, SFTP...)
As part of the Oracle AS B2B 10.1.2.0.2 FTP adapter offering following features are supported. FTP Protocol forms part of the Generic Exchange Plugin.
1. Basic FTP
Identification of Trading Partner Criterion is slightly different for Internal and External Delivery channel, even though identification is based on the "Name" in both of this cases.
a. For External Delivery Channel.
i. Identification of Trading Partner is based on the name of the file and the name shoud follow the patterns as nameOfTP_UniqueID.
ii.Identification of Trading Partneris based on the name of the Directory. To enable this it is required to set
oracle.tip.adapter.b2b.allTPInOneDirectory= True as part of tip.properties setting.
b. For Internal Delivery Channel.
The identification of Trading partner and the Document is based on the name of the file and should follow the pattern as
TradingPartner_DocumentType_Revision_msgType_msgId_replytoMsgID_extension.xml
2. FTPS : FTP OVer SSL
Download any of the FTP server which can be configured to FTPS such as FIlezilla. Configure FTP server for FTPS as per the FTP server documentation.
Oracle AS B2B Configurtion:
The SSL configuration is drived by the value of parameter "Channel mask"
1. Depending on the mode of data transfer i.e Active/Passive , specify the data port for Active configuration and no data port for passive mode. Control port is there for both the mode and by default B2B considers this to be 21, there is a need to
mention it for any deviation.
2. Receiver Channel Mask (Host) : Depending on whether No channel encrypted, data channel to be encrypted , Control Channel to be encrypted or Both control and Data channel to be encrypted specity none, Data, Control or Both accordingly.
2. Sender Channel Mask (Trading Partner) : Depending on whether No channel encrypted, data channel to be encrypted , Control Channel to be encrypted or Both control and Data channel to be encrypted specity none, Data, Control or Both accordingly.
Refer to the user guide for FTP Transport configuration.
3. SFTP(New Feature available as part of latest B2B patch # 6353697)
SFTP implementation has been provided for Oracle B2B 10.1.2.0.2 version. This enables B2B to send and receive payload files over SFTP (SSH FTP) protocol.
SFTP protocol support added for both external trading partners and internal applications communications. The naming conventions of the payload files are in-line with File and FTP adapters.
Proxy support provided (HTTP)
Authentication Support :
Password based authentication – username/password combination authentication
Public key authentication – authenticating the identity based on the public key
create a key pair using OpenSSL keygen tool and the Public key need to be installed in the server. and the private keys fully qualified file location has to be specified in Private Key file and the passphrase has to be provide in Prive Key Pass phrase.
If the passphrase is present in the FTP configuration, B2B engine considers the password based Authentication else key based Authentication otherwise it is key based Authentication.Hello Ramesh
I want to configure FTPS using FTP adapter in Oracle BPEL,I am not configuring any wallet as of now.I am gettig following error while invoking the Put Operation of FTP adapter.
<messages><input><Invoke_1_Put_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Zebra_CRM005ProcessRequest"><Zebra_CRM005ProcessRequest xmlns="http://xmlns.oracle.com/Zebra_CRM005">
<input>test</input>
</Zebra_CRM005ProcessRequest>
</part></Invoke_1_Put_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>null</code>
</part><part name="summary"><summary>file:/vol2/opt/oracle/product/10.1.3.1/soa/bpel/domains/default/tmp/.bpel_FTP_WRITE_NEW_v2008_09_24__47502_0c1781b2ce7e4236dffaaa7cabd43a0c.tmp/A.wsdl [ Put_ptt::Put(Zebra_CRM005ProcessRequest) ] - WSIF JCA Execute of operation 'Put' failed due to: Error sending file to FTP Server.
Unable to send file to server.
; nested exception is:
ORABPEL-11429
Error sending file to FTP Server.
Unable to send file to server.
Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
</summary>
</part><part name="detail"><detail>null</detail>
</part></remoteFault></fault></messages>
Please help in configuring FTPS in oracle FTP adapter.
Thanks
Satendra Pare
[email protected] -
FTP to FTP scenario. Pls advice urgent
Hi,
I have FTP to FTP scenario.
Do I need to install FTP server on both
Sender and Receiver File Systems
RegardsHi Aashish,
Since my Sender File System and Receiver File System are different:
1. I will install FTP Server A on Sender File System.
2. I will install FTP Server B on Receiver File System.
3. I will open the port for FTP request -- Port 21
4. I will open the port for FTP response -- Port 21
5. I will provide all authrozaitions
Pls let me know if anything missing -
I would a dynamic source filename and I my goal is to have that name be exactly the same on my target system.
So mainly I have FTP to FTP adapter, and I want the filenames to be the same on both ends, I have tried several things, but I am not having much success, can someone give me the details on how to configure this?
Thanks
Skip FordHi Skip,
Please check these threads too...
Dynamic Filename in File adapter
Problem: The same filename from a sender to a receiver file adapter - SP14
cheers,
Prashanth
P.S Please mark helpful answers -
I am interested in using an ftp to ftp adapter without converting to XML. Mainly, I want to pass a text file through XI without it being converted to XML or if it is converted to XML, I would like to be converted back to its original state.
The file I am moving contains text in it, and if I do not place the XML-env in the file with the text I get a mapping error...
Is there a way to move the file, so the inbound file is not in XML format?
Thanks
Skip FordHi Michal,
I'm sorry to use other's thread but it showing some similar problem.
I'm having mix of txt file and XMl files in the same source folder, jms adapter need to access this folder and send to targte system.
do we can use this method for this suggested blog?
I'm having security requiremnts , i need to apply on message level may be some decryption and encryption needed, in that case can i do it adapter level later can be used the same method?
Thanks,
srini. -
Hi,
I need to make a interface that take a file via FTP , with this data call a BAPI to update a SAP table and send the same file to other FTP.
The problem is that in when an error appears in the ftp receiver (ex. connection error or login error) this file must be sent to other FTP. It's possible do it, any idea?
thanks in advance
JoseHi Kulwant,
Yes the this is the scenario.
I get a file to send to other system, if the adapter fails I have to send the file to other system using FTP.
FTP sender -
> XI -
> FTP receiver (if sent ok the interface finish)
Error case:
FTP Sender -
> XI -
> FTP receiver (Error login in FTP)
> FTP receiver (Sent to other system)
Regards,
Jose -
Diff between FTP & Secured FTP
Hi,
What is the diff between FTP & Secured FTP.
Thanks
Koteswa RaoRao,
The File Adapter does not support SFTP (File Transfer over SSH). It supports FTPS.
U may view this here at point 28 in SAP Note: 821267
Just an add-on, if u want to view the difference between FTPS (that XI supports) and SFTP, please refer this link
http://www.enterprisedt.com/forums/viewtopic.php?p=136&sid=28d66491b43c6bf90448deea4936bc15
. SAP is looking into this. Please see this thread on this discussion:
SFTP supports in SAP Netweaver 2004s
---Satish -
Hi All,
We are seeing an issue with the FTP Adapter Communication Channel in SAP PI 7.1. When the communication channel is connecting to a FTP Server and if the connection request timeout ( ex: SFTP Server down ) we see a connection error .
However the overall communciation channel status doesnot refelct it and it is still in GREEN status. The status being wrong doesnt raise an adapter CCMS alert. Also we are seeing that the communication channel stops all connection attempts after the failure for that communication channel.
Wanted to check if anyone has seen or encountered the issue and how did you get past the problem.
Thanks in advance..
ArunavaHi,
Could you please let me know whether it is sender communication channel or receiver ?
Also please check below.
1. Java messaging system queues are free or hanged ?
2. Please mention time out paramter in the channel.
3. Did you try Start/Stop the channel.
Please get back to me.
Regards,
Sachin
Edited by: Schin_Sharma on May 26, 2011 9:39 AM -
Issue with STOR using FTP & TLS
Currently I've developed a small FTPSClient class which basically extends Apache's FTPClient. After a lot of work, I was able to get connected, log in, etc. Now, I'm having a problem sending a file to the FTP server (data channel protected.)
Here is RFC 4217's guideline for doing so:
12.7. A Firewall-Friendly Data Transfer with Protection
Client Server
control data data control
====================================================================
PASV -------------------------------------------------------->
socket()
bind()
<------------------------------------------ 227 (w,x,y,z,a,b)
socket()
STOR file --------------------------------------------------->
connect() ----------> accept()
<-------------------------------------------------------- 150
TLSneg() <---------> TLSneg()
TLSwrite() ---------> TLSread()
TLSshutdown() -------> TLSshutdown()
close() ---------> close()
<-------------------------------------------------------- 226Here's a runtime example from the client:
INFO 12-28-06 2:29:52,644 PM - Connecting to xxx.xxx.xxx.xxx : 20021
INFO 12-28-06 2:29:59,404 PM - Attempting to connect to xxx.xxx.xxx.xxx on port 20021...
INFO 12-28-06 2:30:01,557 PM - 220 <<<Connect:Enterprise UNIX 2.2.00 Secure FTP>>> at bcftweb1 FTP server ready. Time = 14:31:18
INFO 12-28-06 2:30:01,557 PM - Issuing 'AUTH TLS' command
INFO 12-28-06 2:30:01,647 PM - 234 AUTH TLS-C/TLS OK.
INFO 12-28-06 2:30:07,365 PM - Starting handshake...
INFO 12-28-06 2:30:07,655 PM - 200 PBSZ 0 OK.
INFO 12-28-06 2:30:08,066 PM - 200 PROT P OK, data channel will be secured.
INFO 12-28-06 2:30:08,066 PM - Attempting login as FRONDUN
INFO 12-28-06 2:30:08,316 PM - 230 Connect:Enterprise UNIX login ok, access restrictions apply.
INFO 12-28-06 2:30:08,406 PM - Calling _openDataConnection_...
INFO 12-28-06 2:30:08,737 PM - 150 Opening ASCII mode data connection for 2006-12-28_02.30_PM.test.dat
INFO 12-28-06 2:30:14,275 PM - Starting handshake+...
INFO 12-28-06 2:30:15,176 PM - Bytes transferred 53120
ERROR 12-28-06 2:30:17,319 PM - 452 Put failed : SSL/TLS error.The results are a half-sent file lying server-side (i.e. the file is 51kb and it's anywhere from 39-50kb.) As you can see, I can at least get to the 150 reply message. This means somewhere between TLSneg() and close() something gets screwed up. I don't think it's TLSneg() because it gets past the handshake and actually sends the data. TLSshutdown() refers to close_notify and I'm told that SSLSocket.close() handles this behind the scenes. I've tried SSLSocket.getOutputStream() and just wrote to that but I ended up with the same results. Anyways here's the applicable code and if anyone has done this before I would greatly appreciate some help.
Also , I'm in local passive mode and another odd note is that small files (< 5kb) send across fine.
private boolean __storeFile(int command, String remote, InputStream local)
throws IOException
logger.info("Calling _openDataConnection_...");
Socket tmpSocket = _openDataConnection_(command, remote);
logger.info(this.getReplyString());
if (tmpSocket == null)
throw new IOException("_openDataConnection_ returned null Socket");
FtpsSocketFactory factory = new FtpsSocketFactory(this.context);
SSLSocket socket = (SSLSocket) factory.createSocket(tmpSocket, tmpSocket.getInetAddress().getHostName(), tmpSocket.getPort(), true);
logger.info("Starting handshake+...");
socket.startHandshake();
OutputStream output = new BufferedOutputStream(socket.getOutputStream(), getBufferSize());
if (getFileType() == ASCII_FILE_TYPE)
output = new ToNetASCIIOutputStream(output);
// Treat everything else as bisnary for now
try
logger.info("Bytes transferred " + Util.copyStream(local, output, getBufferSize(),
CopyStreamEvent.UNKNOWN_STREAM_SIZE, null,
false));
catch (IOException e)
try
socket.close();
catch (IOException f){}
throw e;
output.close();
socket.close();
tmpSocket.close();
return (FTPReply.isPositiveCompletion(getReply()));
}-BillI have had this issue many times too. I have found that simply exporting the HTML and uploading using a 3rd party programme like Filezilla proves much easier and faster.
-
Uploading site issue using Upload to FTP host
I uploaded my problem in the video but basically Muse doesn't want to upload the files where it should be.. If I want to use the in browser editing I can't now because it doesn't upload right.. if anyone can help please do!
In that case, try clearing the Muse preferences and see if that resolves this issue. To clear the preferences, first close Muse completely, and once done, delete AdobeMuse folder from the following location:
Mac OS: ~/Library/Preferences
Windows XP: %appdata%
Windows 7: %appdata%
On Mac OS, also delete the AdobeMuse.plist and AdobeMuse.plist.lockfile (if found) from the ~/Library/Preferences directory.
Then restart Muse and see if you're able to type in the "FTP host" option.
Cheers
Parikshit -
ISSUE: Storing password for FTP account in Keychain when using Finder
Hi,
I recently needed to connect to an FTP server to put some photo files on a server. I found out that you can connect to a FTP server using Finder>Connect to server. I manage to connect to the FTP server by typing <username>@ftp.<anyserver>.<domain> and after it prompted me to enter a password it connects to the server. However, when I check "Store password in keychain" it *does not store the password in keychain*. Each time I want to connect to the server I have to retype the password. I used Keychain first aid to verify the chain, but it reports everything is OK. Even when I manually add a keychain entry using FTP server details and credentials, the challenge window reappears each time I connect to the FTP server.
Any suggestions on how to solve this or is it a bug as I noticed similar problems by other users using other applications (mail, safari)?
Thanks!I am having this exact same issue. I am trying to setup Automator to go out and retrieve files from an FTP folder and everything is working perfectly except for the fact that I have enter my credentials each time even thought I have checked the box to remember the password. I have this issue on multiple ftp servers so I don't think it is something that is "server-specific"
-
Design issue : how to replace ftp
Hi,
I was given a task to replace an existing application which uses FTPClient
to send a file from one server to another one. The main reason for replacemtn
is because we want to close the port that is currently use by that ftp. In
the future only port 80 will be opened. It means, I need to think about how
to use http protocol for sending the data.
The current application is not only to ftp a file, but it creates dir and
subdir on the destination server. How can I achieve that using http
protocol ? Is this a good idea using http ? Or any a better one ?
Thanks for your suggestions.To do that using HTTP you would have to have some kind of code running in your server that supported it. Bare HTTP doesn't support it, so you would have to write that code. In the Java world you would write an upload servlet.
-
Issues Publishing Website via FTP
Hi guys...
Firstly I'd like to mention that I'm a real noob when it comes to this so please bear with me.
Basically, I created a website on iWeb for my radio show but when I publish it, it all seems fine but when i go to the actual URL it doesn't show the page, just the Web Company's page displaying the message:
"This Domain name is registered and parked with Crazy Domains". ..
I input the correct ftp details and username/password, and I even tried uploading it with FileZilla to no luck... Is there something I'm missing?
Any help would be greatly appreciated...
Thanks!
PS, I should mention that I own the domain name and have bought the web hosting as well via Crazy Domains, not Mobile MeYou need to forward your domain name to the IP address of your hosting account. As you have registered your domain name with your hosting service their tech support should help you with this or, at least, point you in the right direction.
When I start a new site, I register the domain name through my hosting company, Host Excellence, create a new root folder in my account and then hook them up with a couple of mouse clicks in the control panel.
Maybe you are looking for
-
How to format my MacBook Pro?
How to format my MacBook Pro? I want to format my mac, help.
-
Since we did the recent upgrade we can not open Safari and it crashes. So we dont have access to internet...so I have no idea how to re-install. But love any suggestions on what we should do. Here is the Problem Report. Process: Safari [108] Path: /A
-
How to handle spaces in Sender File
I have sender file and it is reading wrongly as it is not reading spaces. It is fixed file lengthe with no seperator. Following r the parameters I am using but still it is not picking up spaces. ignoreRecordsetName tru
-
Oracle 10g AS on RHEL3 -- While restarting Component-- Error occurs
Friends, I have installed Oracle 10g AS on RHEL3, under Oracle_Home where already Oracle9i is installed. I got some errors while changing the parameters in component[u] home and restarting it. I have changed some parameters in webcache and succesfull
-
Hi, We are executing the program RFFOUS_T and after the file is generated, we are downloading it through FDTA transaction in ACH format and We have implemented user exit for populating some of the hard coded values in ACH format The downloaded file