Duplicate file with FTP sender
hello everybody,
i have the "Duplicate file problem with FTP sender " with my XI 3.0 sp23.
So sometimes my file adapter load 2 times the same file.
I found this link :
http://wiki.sdn.sap.com/wiki/display/XI/DifferentwaystokeepyourInterfacefromprocessingduplicate+files
with some interesting solutions for fix the problem.
But my question is:
Are not a standard solution or a SAP hotfix?
My chance is just implement one of solution proposed in link?
thanks in advance
Alex
Hi,
You can use any of the solution according to your requirement.
In one of my scenario i used solution 1 (module creation).
In XI3.0 i think there is no sap standard fix for this issue (but i am not sure).
Regards,
Shradha
Similar Messages
-
I deleted duplicate files with MacKeeper and now my firefox only shows text. I have reinstalled firefox, java, and checked all of my settings. Any ideas? Safari works fine.
I opened iCal back up, all the dates were blank, so i started to type events into a date.
As soon as I started to double click a date to type an event, magically all the events in all the months reappeared.
I'm still puzzled why it acted this way and if I did delete something that caused it to act this way. -
Can i send pdf 15mb file with adobe send?
Can i send a 15mb PDF file with adobe send please? At the moment i'm having to send my PDF file as an attachment to email and it takes ages to send. i'm looking for a quicker and cheap way to send my PDF files please can you help?
Hi there,
Thanks for posting! A 15 MB file should be easy to send with Adobe Send. Here's a little information on how to get started: https://forums.adobe.com/docs/DOC-4474
If you need any more specific instructions, just let me know and I'll be happy to help.
Best,
Rebecca -
Regarding Adapter Module for Duplicate file handling at Sender side
Hi All
my requirement is to develop a adapter module . Source is FTP target is R/3 .source Commuincation cahnnel is File sender .
want to handle duplicate files
can any one provide me what are all the steps being used for the same .
any step-via -step doc will be helpful for me ......and adapetr module will be written in NetWeaver Developer studio or which s/W ????
also where to put the ejb or import the ejb s...
Pls help
Regards
PriyaHi Priya,
YES YOU NEED SAP NetWeaver Developer studio to develop Adapter Modules,or you can use any othe IDEs like Eclipse ....many documents available in sdn ,how to develop AM,refer below link it explaines clearly
let me know which version of XI u working on,if it PI7.1 jar files different.
http://wiki.sdn.sap.com/wiki/display/stage/AdapterModuleToReadExcelFilewithMultipleRowsandMultiple+Columns
Regards,
Raj -
Duplicate File Handling Issues - Sender File Adapter - SAP PO 7.31 - Single Stack
Hi All,
We have a requirement to avoid processing of duplicate files. Our system is PI 7.31 Enh. Pack 1 SP 23. I tried using the 'Duplicate File Handling' feature in Sender File Adapter but things are not working out as expected. I processed same file again and again and PO is creating successful messages everytime rather than generating alerts/warnings or deactivating the channel.
I went through the link Michal's PI tips: Duplicate handling in file adapter - 7.31 . I have maintained similar setting but unable to get the functionality achieved. Is there anything I am missing or any setting that is required apart from the Duplicate file handling check box and a threshold count??
Any help will be highly appreciated.
Thanks,
AbhishekHello Sarvjeet,
I'd to write a UDF in message mapping to identify duplicate files and throw an exception. In my case, I had to compare with the file load directory (source directory) with the archive directory to identify whether the new file is a duplicate or not. I'm not sure if this is the same case with you. See if below helps: (I used parameterized mapping to input the file locations in integration directory rather than hard-coding it in the mapping)
AbstractTrace trace;
trace = container.getTrace();
double archiveFileSize = 0;
double newFileSizeDouble = Double.parseDouble(newFileSize);
String archiveFile = "";
String archiveFileTrimmed = "";
int var2 = 0;
File directory = new File(directoryName);
File[] fList = directory.listFiles();
Arrays.sort(fList, Collections.reverseOrder());
// Traversing through all the files
for (File file : fList){
// If the directory element is a file
if (file.isFile()){
trace.addInfo("Filename: " + file.getName()+ ":: Archive File Time: "+ Long.toString(file.lastModified()));
archiveFile = file.getName();
archiveFileTrimmed = archiveFile.substring(20);
archiveFileSize = file.length();
if (archiveFileTrimmed.equals(newFile) && archiveFileSize == newFileSizeDouble ) {
var2 = var2 + 1;
trace.addInfo("Duplicate File Found."+newFile);
if (var2 == 2) {
break;
else {
continue;
if (var2 == 2) {
var2 = 0;
throw new StreamTransformationException("Duplicate File Found. Processing for the current file is stopped. File: "+newFile+", File Size: "+newFileSize);
return Integer.toString(var2);
Regards,
Abhishek -
Getting dynamically a specific file in FTP sender adapter
Hi all,
I'm getting an idoc in a BPM and there's a field with a file name, which is the one I have to read in the following step.
I'm not sure this is possible, but I'd like to hear from the PI community...
The problem is that in the usual FTP sender comm channel, I have to specify in configuration time the folder and the pattern of the file names to be read. And in my scenario I only know that in execution time (that's possible when the FTP channel is receiver though).
ThanksOops!! I misunderstood it
At sender, neither of them would work. In fact, there is no other direct options at sender. You have to specify the filename. As Udo suggested, you have to create multiple channels.
Still if you could explain your BPM configuration, some solution may turn up. You said you are receiving Idoc in BPM and a file too?
Regards,
Prateek -
[iPhone] Can't download file with FTP
Dear everybody.
I want to download a text file at : ftp://username:[email protected]
Current, I use below code:
NSString *s = [NSString stringWithContentsOfURL:[NSURL URLWithString:@"ftp://username:[email protected]"] encoding:NSUTF8StringEncoding error:pError];
and I try:
NSData *tmpdata = [NSData dataWithContentsOfURL:[NSURL URLWithString:SERVER_NAME]];
But I can't download content of text.
I think NSURL can not get content from ftp protocol
So, please help me download file use FTP.
Thank you very much!Yes, if I try access with specify the file name as:
@"ftp://username:[email protected]/file.txt"
then I can get content of file.
But I want list and show all file in path: @"ftp://username:[email protected]".
Pls help me -
Hi,
I'd like to upload a file with an ftp. I declared a method using an url as follow :
public static void uploadFile(File fileToMove_p, String newFileName_p) {
try {
URL url_l = new URL("ftp://[uid]:[pwd]@localhost/" + newFileName_p);
URLConnection connection_l = url_l.openConnection();
OutputStream output_l = connection_l.getOutputStream();
BufferedOutputStream bos = new BufferedOutputStream(output_l);
BufferedInputStream bis = new BufferedInputStream(new FileInputStream(fileToMove_p));
int i;
while ((i = bis.read()) != -1) {
bos.write(i);
catch (IOException ex) {}
But when I oppen my new file, it miss the end of my data. The ftp cut the few last line of my original file.
Any idear of what is happening here and how I can solve the problem ?
ThanksAre you closing the OutputStream? If not, you probably should, and closing the stream will flush it prior to closing.
HTH,
§ -
Handling large files with FTP in XI
Hi All,
I have a file scenario where i have to post the file with size of more than 500MB and with the fields upto 700 in each line.
The other scenario worked fine if the file size is below 70MB and less number of fields.
Could anyone help me in handling such scenario with large file size and without splitting the file.
1) From your previous experience did you use any Tools to help with the development of the FTP interfaces?
2) The client looked at ItemField, but is not willing to use it, due to the licensing costs. Did you use any self-made pre-processors?
3) Please let me know the good and bad experiences you had when using the XI File Adapter?
Thanks & Regards,
Raghuram Vedagiri.500 MB is huge. XI will not be able to handle such a huge payload for sure.
Are you using XI as a mere FTP or are you using Content Conversion with mapping etc?
1. Either use a splitting logic to split the file outside XI ( using Scripts ) and then XI handles these file.
2. or Quick Size your hardware ( Java Heap etc ) to make sure that XI can handle this file ( not recommended though). SAP recommends a size of 5 MBas the optimum size.
Regards
Bhavesh -
Is there a way to use my branding when sending a file with Adobe Send?
Is there a way to include my logo in the message with Send files?
Hi dporterphotography,
The branding feature isn't available in Send just yet, but it is planned for a future release. In the meantime, you're welcome to send your file, with branding, using Adobe SendNow. You can log in to SendNow at https://sendnow.acrobat.com/signin.html using the same Adobe ID and password that you use for Send.
Best,
Sara -
I cannot send files with Adobe Send as no button on screen
There is no "send" button on my screen when trying to send files by Adobe Send. I had no problems with SendNow and am a subscriber. How do I get it to work?
PeterHelp
Files
Send
Fill & Sign
Export PDF
Create PDF
Combine Files
Organise Pages
Acrobat
Selected Files+ Add Files
80004721.tif
80004751.tif
80004871.tif
80004901.tif
80004971.tif
80004991.tif
Recipient Page
Add Your Logo & Colour (Edit) <>
Create Anonymous Link (with basic usage information)
Send Personalised Invitations (with detailed tracking)
Send To
[email protected]
Subject & Message
Cancel
[email protected]
Peter Marsh Photography
11 Duck Lane
Laverstock
Salisbury
SP1 1RS
UK
Tel: 01722 337903
Mob: 07831 484604
Email: [email protected] -
How can I set-up to receive a file with FTP?
I want to receive a .pdf file from another, but the file is rejected by my email service provider for size. What are the requirements and steps for arranging to receive this large file using File Transfer Protocol (FTP)? I'm using OS Snow Leopard 10.6.8 with a DSL Internet connection nominally at 10 MBs download.
Daniel Lichtenwald wrote:
What are the requirements and steps for arranging to receive this large file using File Transfer Protocol (FTP)?
Usually, we don't speak of "receive" when using FTP, since the file is transferred from server to client, so it's more of a case of "download".
At your end, it's simple. You use an FTP client; under SL, that includes Finder and Safari, so you don't even need to get any additional software.
At the other end, it's more complicated; the 'sender' must set up an FTP server on his machine.
Alternatively, you can set up your own Mac as an FTP server, and have the 'sender' connect to you with an FTP client and upload the file; but, if your Mac lives behind a router, then you have more work to do with the router settings.
That's why it's much easier to use the file sharing services mentioned above -- if they are available in both sender's and receiver's locations. (Keep in mind that some countries block access to all those mentioned -- except perhaps <www.transfer.ro>, of which I know absolutely nothing.) -
Unable to upload DW files with FTP or Fetch
I cannot preview with Firefox all DW files which
before could be previewed. The new files created could not be
upload using FTP of Fetch.
FTP says "file connection incomplete file not complete; put
operation failed "file.htm does not exist in local site"
Fetch says "could not put 'file.htm' because FTP server
encountered an error accessing file; server
responded:file.htm:access denied" what may have gone wrong?Your FTP information must be wrong.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"t2t0" <[email protected]> wrote in message
news:gn5me4$a3u$[email protected]..
>
I cannot preview with Firefox all DW files which
before could be
> previewed. The new files created could not be upload
using FTP of Fetch.
> FTP says "file connection incomplete file not complete;
put operation
> failed
> "file.htm does not exist in local site"
> Fetch says "could not put 'file.htm' because FTP server
encountered an
> error
> accessing file; server responded:file.htm:access denied"
what may have
> gone
> wrong?
> -
Hello everyone,
Should I move some files when they appear in a specific directory.
In particular, I have a SQL query that extracts the absolute file path list.
Then I move these files to another server.
How you can configure the process to periodically check the files?
Thanks in advance
RegardsHi,
Follow the link posted by userN, just be aware that the sample code is not quite correct on the documentation.
This question was widely discussed in this thread
Re: FTP Adapter File Move Issue
Remember! It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
https://forums.oracle.com/forums/ann.jspa?annID=893
Cheers,
Vlad -
I’m trying to transfer a site with Dreamweaver 8
(Windows) to CrystalTech. I can connect and transfer files okay
with WS_FTP. Hitting the “Test” button in
Dreamweaver’s site definition dialog returns a successful
test. But when uploading the site, the usual progress bar appears
and disappears rapidly, and no files are transferred. There is no
error message. The Dreamweaver FTP log is empty. This is the first
time I have tried to use Dreamweaver’s FTP to transfer a
site, although I have put files over the LAN before. Here is the
site definition remote info:
Access: FTP
FTP host: josephherl.org
Host directory: [blank]
Use passive FTP is checked [as instructed by
CrystalTech’s website]
Under “Server Compatibility,” “Use FTP
performance optimization” is checked, “Use alternative
FTP move method” is unchecked
Edit | Preferences | Site | Firewall port is set to 21
For what it’s worth, the testing server is set up on my
local machine and works fine. The machine is at my university.
I have tried:
using the IP address for the FTP host;
specifying a host directory [CrystalTech’s website
says to leave it blank];
unchecking “Use passive FTP”;
changing the settings under “Server
Compatibility”;
disabling Windows Firewall; and
double-checking that the local root folder is correct.
Thanks in advance for your help.
Joe HerlDo you need a testing server? That is, are you building PHP
pages?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Joe Herl" <[email protected]> wrote in
message
news:ecvl5g$bjp$[email protected]..
>> HOw do you have the three parts defined in DW (local
site, remote site,
>> and
> > testing server)?
>
> Right now I have this:
>
> Local info:
> Site name: Music 313
> Local root folder: C:\htdocs\chmu313
> Refresh local file list automatically is checked
> Default images folder is empty
> Links relative to document is selected
> http address:
http://josephherl.org/chmu313
[I left it blank;
> Dreamweaver
> filled it in automatically when I saved the settings]
>
> Remote info:
> Access: FTP
> FTP host: josephherl.org
> Host directory: chmu313/
> Login: chmu313
> Use passive FTP and Maintain synchronization information
are checked
>
> Testing server:
> Server model: PHP MySQL
> Access: FTP
> FTP host: josephherl.org
> Host directory: chmu313/
> Login: chmu313
> Use passive FTP is checked
> URL prefix:
http://josephherl.org/chmu313
>
> [All the information in the "testing server" category
was filled in
> automatically when I selected FTP under "Access."]
>
> The above configuration works. My previous configuration
was the same for
> "local info" and "remote server," but I had the
following under "testing
> server":
>
> Server model: PHP MySQL
> Access: Local/Network
> Testing server folder: C:\htdocs\chmu313\
> URL prefix:
http://localhost
>
> That configuration did not work.
>
> Joe
>
Maybe you are looking for
-
My Ipod touch is not updating. What do I do?
Every time I plug in my iPod, I get a pop-up that tells me to update and download a new software. I click on the update and download button and it starts to download like it normally would. Then I notice that the time starts to increase instead of de
-
I will no longer use Pages because I can't open any rtf's and that is the majority of my files. For years I have saved all files as rtf to allow me to open them on windows and with any word process program. Now the new version of Pages will not open
-
Hi friends, When a work item is created. The User hasn't Approved / Rejected (hasnt taken any Action on that workflow) for 2 days, 4 days and 6 days an Escalation mail has to sent to respective concerend persons. How can we handle this. The holid
-
Production version is not getting created using ALE-IDOC
Hi all, Am using BD10 to transfer the material from sending to receving system.All the views are geting sent successfuly accept the production version tab data of MRP4 view.The segment is available in the standard IDOC.But prodction TAB is not getti
-
I have new MacBook Pro with OS 10.10. My MAIL program was working but suddenly won't recognize my VERIZON FIOS server. FYI, the MAIL programs on my iPAD and old iMAC continue to work. No answer yet from Apple Support HELP!!!