How to specify source directory in File sender adpate using (NFS)?
Hello experts,
I am doing File-PI-Proxy scenario.
Input file is available on machine which is within the Network area and FTP is not available on that machine.
For this reason I am using the NFS Transport Protocol.
In ID File sender I have specified Source Directory:-
IP Address\Directory
I am geeting the Error in RWB as 'Configured source directory '
IP Address\Directory' does not exist'.
Please suggest how to specify the Source Directory path.
Regards,
Jagesh
Hi,
If you want to use NFS protocol, then the file needs to be within the a folder in the XI server and not outside it, In your case if you need to use the file in a different machine which is on a network then try to use the FTP protocol.
Refer this blog:
/people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang which shows the details of how you can install a local FTP and use it
Regards,
Nithiyanandam
Edited by: Nithiyanandam A.U. on Mar 18, 2009 10:43 AM
Similar Messages
-
How can i access filename from file (sender)
hi All,
can anybody tell me
how can i access filename from file (sender)?
thank u
swariSee:
"SAP NetWeaver XI: Variable Substitution with Adapter-Specific Message Attributes via DynamicConfigurationBean"
SAP NetWeaver XI: Variable Substitution with Adapter-Specific Message Attributes via DynamicConfigurationBean
"Accessing Adapter-Specific Attributes through User Defined Function"
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516 -
Dynamically construct Target/Source Directory in File Adapter
Hi All,
Is it possible to Dynamically construct target/Source Directory in File Adapter? If yes can anyone plz provide details about the same.
regards
VinayHi vinay,
have a look @ these threads..u may get some help!!
Re: Dynamic directory name in Receiving File adapter
Dynamic FileName and Directory - UDF
Re: Dynamic Directory and File Naming in Receiver Adapter
Re: target directory in file adapter
Regards
BILL -
How to extract Source from .wda file
Hi WebDynpro Experts,
Do you know how to extract source from .wda file. I appreciate your help and will award points for correct answers.
Thank you
Maruti CRHi,
U wont be able to extract source code from wda file.It contains
only class,xml and mf files.The only thing that u would be able
to use is class file which u need to convert to .java file
by .class to .java converter.
Hope this will clear ur doubt.Still if u want to try just extract
wda file using winzip.go on doing this untill u find unzip files.
Regards
Surender Dahiya -
How do I upload an XML file to salesforce using BULK API?
Hi There,
Please let me know how do we upload an XML file to salesforce using Bulk API?
Thanks,
ETHi,
I think that this is a more SalesForce.com question and think you will have more chance looking at SOAP API Developer's Guide for salesforce. Sending a SOAP request from the API Server is very straight forward and there are several tutorials and well documented about this.
Cheers,
Stefan -
How to specify which version of a function to use
I tried to do what it said, but that resulted in error
PowershellPS C:\WINDOWS\system32> Import-dscResource -ModuleName @{ModuleName="xPSDesiredStateConfiguration";ModuleVersion="3.4.0.0"}Import-dscResource : The term 'Import-dscResource' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.At line:1 char:1+ Import-dscResource -ModuleName @{ModuleName="xPSDesiredStateConfigura ...+ ~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Import-dscResource:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
(Btw: The Edge Web browser doesn't show the formatting toolbar in these text editors... I switched to IE to write this)I have this script and the problem is, there's two versions of xPSDesiredStateConfiguration in the wildTextconfiguration HTTPPullServer{ # Modules must exist on target pull server Import-DSCResource -ModuleName xPSDesiredStateConfiguration Node dc { WindowsFeature DSCServiceFeature { Ensure = "Present" Name = "DSC-Service" } WindowsFeature IISConsole { Ensure = "Present" Name = "Web-Mgmt-Console" } xDscWebService PSDSCPullServer { Ensure = "Present" EndpointName = "PSDSCPullServer" Port = 8080 PhysicalPath = "$env:SystemDrive\inetpub\wwwroot\PSDSCPullServer" CertificateThumbPrint = "AllowUnencryptedTraffic" ModulePath = "$env:PROGRAMFILES\WindowsPowerShell\DscService\Modules" ConfigurationPath = "$env:PROGRAMFILES\...
(Btw: The Edge Web browser doesn't show the formatting toolbar in these text editors... I switched to IE to write this)I have this script and the problem is, there's two versions of xPSDesiredStateConfiguration in the wildTextconfiguration HTTPPullServer{ # Modules must exist on target pull server Import-DSCResource -ModuleName xPSDesiredStateConfiguration Node dc { WindowsFeature DSCServiceFeature { Ensure = "Present" Name = "DSC-Service" } WindowsFeature IISConsole { Ensure = "Present" Name = "Web-Mgmt-Console" } xDscWebService PSDSCPullServer { Ensure = "Present" EndpointName = "PSDSCPullServer" Port = 8080 PhysicalPath = "$env:SystemDrive\inetpub\wwwroot\PSDSCPullServer" CertificateThumbPrint = "AllowUnencryptedTraffic" ModulePath = "$env:PROGRAMFILES\WindowsPowerShell\DscService\Modules" ConfigurationPath = "$env:PROGRAMFILES\...
How do I view ipod music files with out using I tunes?
I trying to view my Ipod music files without using itunes. But when I conect my Ipod to my pc I can only view contacts, notes, and caladar through the driver.
How do I view ipod music files with out using I tunes?
they should be under ur my music folder if u have windows
Q: How do I convert a pdf file to Word using Acrobat Export PDF - all my attempts are scrambled
Do you subscribe an Adobe Export PDF account? If you do not have an account, please go to https://www.acrobat.com/exportpdf/en/home.html?trackingid=JPZKN to subscribe.
If you have an account, make sure verify your email address and sign in from https://exportpdf.acrobat.com/SignIn.html
Jyh-Jiun Liou
How to specify the directory in which we want to store the uploaded files
Hello !!
I am using apache commonfile upload for uploading my files.I followed the user guide and tried to run a program,but my problem is I am not able to understand as to how to mention the directory in which the uploaded file will be saved..My code is given below :
package r;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.sql.*;
import java.util.*;
import org.apache.commons.fileupload.*;
import org.apache.commons.fileupload.servlet.*;
import org.apache.commons.fileupload.disk.*;
import org.apache.commons.io.*;
import java.lang.Exception;
public class fileupload extends HttpServlet
public void doGet(HttpServletRequest request,HttpServletResponse response)throws IOException,ServletException
// Check that we have a file upload request
boolean isMultipart = ServletFileUpload.isMultipartContent(request);
System.out.println(isMultipart);
if (ServletFileUpload.isMultipartContent(request))
// Create a factory for disk-based file items
FileItemFactory factory = new DiskFileItemFactory();
// Create a new file upload handler
ServletFileUpload upload = new ServletFileUpload(factory);
// Parse the request
try {
List items= upload.parseRequest(request);
Iterator iter = items.iterator();
while (iter.hasNext())
FileItem item = (FileItem) iter.next();
if (item.isFormField()) //NORMAL FORM FIELD
String name = item.getFieldName();
String value = item.getString();
System.out.println(value);
else
String fileName = item.getName();
System.out.println(fileName);
String contentType = item.getContentType();
File saveTo = new File("/info/upload_files/myFile.jpeg");
try
item.write(saveTo);
System.out.println("File written" );
catch(Exception e)
System.out.println("File not written");
// InputStream fs= item.getInputStream();
fileName = FilenameUtils.getName(fileName);
System.out.println(fileName);
}//end of try
catch (Exception e) { }
public void doPost(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException
doGet(request,response);
The problem is that the control doesn't reach the try statement and I get " File not written" on the console because it enters catch everytime..Please tell me how the path to the directory should be given...Rest of the code is working fine
No, the problem is that when an Exception is thrown, you ignore it completely and throw away all the information associated with it. That leaves you to guess at what the problem is. So instead of answering your guess at a good question, I'm going to suggest that in all of your catch blocks you put this code:e.printStackTrace();Then you can look at the output in the log file and see what the problem is. Start from there.
How to specify the directory of a file created by FileOutputStream?
I created a file name registry.reg. Can I specify the directory of the file so that it would be located in certain directory. For example I want to put registry in C:\Desktop
FileOutputStream fileStream = new FileOutputStream ("registry.reg");
Well, just provide the complete path as file name parameter. On Windows, remember to escape those backslashes:
FileOutputStream fileStream = new FileOutputStream ("C:\\Desktop\\registry.reg");
Source directory of file adapter
Hi.
I want to use windows share directory as source directory of sender files adapter.
So we need set the path UNC name.
for example.
<hostname>\d:\sourcedirectoy
Does this setting is supported?
And are there any problem?
regards,
>>I want to use windows share directory as source directory of sender files adapter.
Expose the Windows directory as an FTP server.
Along came a File Adapter, Mr. 'FTP' and Rest of the Gang By Shabarish Vijayakumar
Thanks
SaNv...
How to specify in what coding to send the letter?
How in SOAP protocol to specify in what coding to send the letter?
It is necessary for me to send letters outside in coding UTF-8
Serg
Thank your
The accurate and clear answer!
I will wait FTF or gw8.0.3.
Serg
Originally Posted by Preston Stephenson
Sorry, I'm not sure what the question is.
I can see that you are using 8.0.2 HP3 (build 96933).
You will need a later version than that.
Either an FTF file or wait for 8.0.3.
You will need a build of the agents greater or
equal to 97527.
There is no work around. (You can not get around
the problem until you get a build later than
8.0.2 HP3.)
Preston
>>> On Tuesday, December 20, 2011 at 4:26 AM,
skoltogyan<[email protected]> wrote:
> Thank your for answer.
> Now we try to send letters from the program written by us.
> We try to send letters on SOAP protocol through POA.
> Letters it is sent exterior (example ‑ to the [email protected]) to
> users.
>
> At sending from the program the text of the letter and a letter body is
> sent п UTF‑8.
> Of it were convinced with the help tcpdump.
> tcpdump servers with POA applied directly on eth0.
> Look:
> 1) from WS ‑> Server
> #o]E* @_G~PPOST /soap HTTP/1.1
> User‑Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
> Protocol 2.0.50727.5448)
> Content‑Type: text/xml; charset=utf‑8
> SOAPAction: "sendItemRequest"
> Host: 172.16.16.230:7191
> Content‑Length: 879
> Expect: 100‑continue
>
> 2) Answers from Server to WS:
> ================================
> ]#oE_@@`Pnz`HTTP/1.1 200
> Date: Fri, 16 Dec 2011 11:39:27 GMT
> Server: Linux GroupWise POA 8.0.2
> Content‑Type: text/xml; charset=utf‑8
> Content‑Length: 715
> =============================
> ]#oE_@@^bPn|Pragma: no‑cache
>
> <?xml version="1.0" encoding="UTF‑8"?><soap:Envelope
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
>
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><loginResp
> onse
> xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"
>
xmlns="http://schemas.novell.com/2005/01/GroupWise/methods"><session>J3fTBX
> KWBLSiAud8</session><userinfo><gwt:name>Ami
>
Common</gwt:name><gwt:email>[email protected]</gwt:email><gwt:uuid>BC486580‑06D2
0000‑9A57‑
> 6D006200E000</gwt:uuid></userinfo><gwVersion>8.0.2
>
</gwVersion><build>96933</build><serverUTCTime>2011‑12‑16T09:39:27Z</ser
verUTCTime><s
>
tatus><gwt:code>0</gwt:code></status></loginResponse></soap:Body></soap:Enve
lope>
> ===============================
>
> 3) from WS to Server
> ===============================================
> #o]E* @_G~PPOST /soap HTTP/1.1
> User‑Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
> Protocol 2.0.50727.5448)
> Content‑Type: text/xml; charset=utf‑8
> SOAPAction: "sendItemRequest"
> Host: 172.16.16.230:7191
> Content‑Length: 879
> Expect: 100‑continue
> ==============================
> #o]E @\~P<?xml version="1.0" encoding="utf‑8"?><soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><session
> xmlns="http://schemas.novell.com/2005/01/GroupWise/types">J3fTBXKWBLSiAud
> 8</session></soap:Header><soap:Body><sendItemRequest
> xmlns="http://schemas.novell.com/2005/01/GroupWise/methods"><item
> xmlns:q1="http://schemas.novell.com/2005/01/GroupWise/types"
>
xsi:type="q1:Mail"><q1:delivered>0001‑01‑01T00 :00:00</q1:delivered><q1:s
ubject></q
>
1:subject><q1:distribution><q1:recipients><q1:reci pient><q1:email>skoltogyan
@gmail
>
..com</q1:email></q1:recipient></q1:recipients></q1:distribution><q1:message>
<q1:part
>
length="39">0KjQsNC/0LrQsCEKCtCi0LXRgdGCLgoK0J/QvtC00L/QuNGB0Ywu</q1:part></
> q1:message></item></sendItemRequest></soap:Body></soap:Envelope>
> ===========================================
>
> 4) Answer from Server to WS
> ]#oE_@@`~P%z`HTTP/1.1 200
> Date: Fri, 16 Dec 2011 11:39:27 GMT
> Server: Linux GroupWise POA 8.0.2
> Content‑Type: text/xml; charset=utf‑8
> Content‑Length: 458
>
>
> At a workstation (WS) ‑ the program written by us works.
> This program on SOAP protocol through POA transfers letters outside the
> GroupWIse.
> Which data is transferred thus on SOAP protocol has shown above.
>
> In what a question (problem) what exactly is impossible:
> The letter from station on SOAP protocol is normally transferred in
> POA. Further through GWIA it is normally delivered to the receiver(
> skoltogyan @ gmail ).
> However to the receiver (the exterior receiver) the letter comes in the
> coding(with header):
> ..
> Subject: =?ISO‑8859‑5?B?wtXh4g==?=
> Mime‑Version: 1.0
> Content‑Type: text/plain; charset=ISO‑8859‑5
> Content‑Transfer‑Encoding: base64
> Content‑Disposition: inline
> ...
> (this is from my foriegn groupwise mailbox in the gmail)
>
> That is necessary: that such letter came in the coding (with Header):
> ...
> To: <[email protected]>
> Subject: =?UTF‑8?B?0YLQtdGB0YI=?=
> Mime‑Version: 1.0
> Content‑Type: text/plain; charset=UTF‑8
> Content‑Transfer‑Encoding: 8bit
> Content‑Disposition: inline
>
> That it is necessary to add in request on SOAP. What the letter,
> leaving in the Internet through gwia went in such type ?
>
> Serg
How do i extract Delimited falt file-Sender File adapter FCC Parameters
Hello,
I'm trying to extract data from a flat file. The file is built as tab delimited. I cant find the option of tab delimited in the XI Sender File adapter FCC Parameters. How do i extract tab delimited file?
Please Advice,
Rajesh
HI,
You can use Fieldseperator as '0X09'...
Look at this blog...........you can solve this problem...
NAB the TAB (File Adapter)
Thanks,
Madhu
Edited by: Madhu sudhan Reddy on Jul 28, 2008 9:02 AM
How to specify in the command file?
Hi all,
I have to run some ORACLE reports(Oracle reports ver 3.0 and
Oracle database ver 8.1.7.1.0 )and an electronic report
depending on the parameters specified in the report
request table.
How can I specify in the command file using IF then logic
to run the appropriate report based on the parameters
specified in the report request?
I would appreciate any help in this regard.
TIA
sg
Hi ,
are u heard about after_parameter_form trigger in Reports
3.0 . There u can use srw.run_product . Using this package
function u can run another report .
Rajesh
How can I edit an html file in Firefox using View Source?
I have created an html webpage and saved it to my pc. I can't edit the html file in firefox when I right click on the page and select "View Source". I can view the code but I can't edit it. I can do this in IE9.
I thought I was able to do this before in Firefox.
Did my settings change somewhere that I can no longer do this?
Do I have to have something checked in the Web Developer extensions for it to work?
I'm using Firefox 24.0
Thank you for any help with this. :)
The View Source window in Firefox cannot be used to change computer codes. Nor can the Web Developer tools.
Sorry for any inconvenience.
I suggest using Programmer's Notepad.
Maybe you are looking for
-
Confirmation of by-product via process message
Hi All, what are the parameters - characteristic values that needs to be passed for confirmation of the by product via process message ? Regards, PSS
-
I am aware of the terminal command which allows you to view more of the file name for files located on the desktop. Is there something similar for pages? The problem is only apparent in grid mode. See attached. For all of Apple's perfection for desig
-
How to Tune the Transactions/ Z - reports /Progr..of High response time
Dear friends, in <b>ST03</b> work load anlysis menu.... there are some z-reports, transactions, and some programmes are noticed contineously that they are taking the <b>max. response time</b> (and mostly >90%of time is DB Time ). how to tune the abo
-
How to closed a numbers spreadsheet in ipad?
How do I close a numbers spreadsheet on my ipad 2? I cannot find a button or menu to close it. It has personal information on and the spreadsheet is password protected. I have opened it but cannot close it so if I lost my ipad, people would be able t
-
So I have the newer keyboard where the keys are like this Brightness Brightness expose all *dashboard keyboard brightness x2 itunes x3 volume x3 Is there anyway to change that *dashboard button to a expose button w/o having to press a Fn key because