Operation of switch in sending a file
I am reviewing general switch theory from a text book. A frame is sent from HostA to HostB. HostA is connected to the switch on port fast0/1, and HostB is connected to port fast0/2. There are isn't an email server on the subnet where HostA and HostB are located. Are files sent from HostA routed through corporate email server on a different subnet/network to reach HostB? Is there any otherway to sent files from HostA to HostB, other than use of email?
Thanks.
hi
i would suggest to try with network sharing if its possible out ther or with FTP which is most widely used file transfer program between two locations.
since in ur case both the pcs r in same lan u better share the files and copy them out when reqd.
dont forget to chek out the sharing properites while hving the file transfer.also close the transfer once its over..
hope this may help u out ..
regds
Similar Messages
-
Run operating system command for sender File adpter (NFS)
Hi All,
iam doing a file to RFC scenario, using 'Run operating system command' in sender file adapter to change the file name while archiving (after processing completed).
I mention OS command like this:
sample_server\scripts\Test\Rename.bat"
Rename.bat file calls a 'perl script' code.
when i run interface, could see below statement in adapter log ->
"Execute OS command "
sample_server\scripts\Test\Rename.bat"
but the script was not run and file name was not changed.
Please advice what could be the problem?
Does this mean script executed successfully?
Do i need install perl software on XI server, even perl script (.bat file) is executing on sample_server?
Thanks in advance..
Regards,
RajeshHi,
Just check the following URL and give it a try again :-
Executing Unix shell script using Operating System Command in XI
Hope this info Helps..
Regards,
Aditya -
Send and File/Send and Move
There was a post on this about a year ago, but never a resolution. Entourage has a "Send and File" command, but Apple's Mail lacks the equivalent. I do like Mail, but I hate the lack of this feature. I just spent hours on an airplane going through my Sent folder to file old messages. It would be so much easier if Mail had a Send and Move command that would make the message appear in the correct folder and not the Sent folder/mbox.
It would be great if someone from Apple would weigh in on this issue in this forum. Since I doubt that's going to happen, does anyone know of a script that changes Mail to accomplish the same thing? I've searched and searched and can find nothing.
Perhaps someone can motivate some developer to create such a script?Kappy wrote:
First, no one from Apple "weighs in" on the forums to discuss matters. The forums are user-to-user and Apple just pays the cost of maintaining them. If you want to file a feature request do so here - Feedback. Note that you will not likely receive any response.
Yes, I'm aware of that. Hence my comment that I didn't expect anyone from Apple to weigh in. And yes, I have also submitted feedback on this issue. My posting here was more to find out if anyone in the user community knew of a Send and File script, utility, hack, or other solution.
Mail rules currently only work on incoming mail. You can write Applescripts to perform operations not performed by those built into the rules editor. However, Mail will not automatically run these scripts for you. If you want these features you will need to switch to Entourage.
Of course, since I switched from Entourage, it's not likely that I would want to switch BACK to Entourage. Never liked the single consolidated database file of Entourage.
You can use Smart Mailboxes to aggregate messages based on certain criteria. Smart Mailboxes do not actually move mail but rather creates a folder that lists only those items that meet your search criteria. The actual items remain where they are normally filed. You can replace your "real" mailboxes you use for filing with Smart Mailboxes if you prefer.
Unfortunately, that really doesn't accomplish what I'm hoping for. Thanks for the suggestions though! -
How to send a file from FTP to external server
My requirement is to send a file from FTP to D3(External) server.
Now I am able to store the file in Appln server.
I want to send the file created by the program thru FTP to D3 server.
I know the username,Password,HostID,RFC destination details.
How to send the file from FTP to D3.
If u have any program,Plz send it...
I dont want the function modules name...I want the example code ....
Thanks in advance.Hi Sumi,
You could do it so that you create a .bat or .cmd script to your server which does your ftp transfer.
To do this you must use sm69 to create a external operating system command which you can call from FM SXPG_COMMAND_EXECUTE. To SXPG_COMMAND_EXECUTE you the file you need to transfer as a parameter.
What happens is that your abap program passes the file to windows batch script (.bat .cmd) which will then do the transfer for you.
Here's a sample of ftp-script for windows:
echo open IP_ADDRESS_TO_YOUR_SERVER > c:zftp_transfer.ftp
echo USERNAME>> c:zftp_transfer.ftp
echo PASSWORD>> c:zftp_transfer.ftp
echo put YOUR_FILE>> c:zftp_transfer.ftp
echo quit>> c:zftp_transfer.ftp
ftp -s:c:zftp_transfer.ftp
also take a look here for more details:
http://support.microsoft.com/?kbid=96269
Ok, this might be a bit trivial but if your server is unix/aix etc.. Instead of using batch script you must do a shell script.
Regards,
Ville -
Error while sending the file to GXS
Hello,
I need to send the file to a bank which is using a GXS server.
GXS uses a VAN networ and it is expecting a specific command to place the file on it's server.
The put command is -
boldput localfilename %localfilename%SECUPGPENA%GPEXRIP%%B
I tried using the following command at "Run Operating System Command Before/After Message Processing"
bold"put %F %%F%SECUPGPENA%GPEXRIP%%B" .
But the files are not being transferred.
I believe that I need to replace the actual message processing command by the given command by writing a script and calling it.
boldQues 1. Has anybody faced this scenario and found a solution?
boldQues 2. - I want to know if we can transfer the file to VAN through the normal XI FTP adapter. If yes, then how?
boldQues 3. - In case if the FTP adapter can not be used can we use any specific Seeburger VAN adapter?
Regards,
MayankHello,
I need to send the file to a bank which is using a GXS server.
GXS uses a VAN networ and it is expecting a specific command to place the file on it's server.
The put command is -
boldput localfilename %localfilename%SECUPGPENA%GPEXRIP%%Bbold
I tried using the following command at "Run Operating System Command Before/After Message Processing"
*bold"put %F %%F%SECUPGPENA%GPEXRIP%%B" bold
But the files are not being transferred.
I believe that I need to replace the actual message processing command by the given command by writing a script and calling it.
boldQues 1. Has anybody faced this scenario and found a solution?bold
boldQues 2. - I want to know if we can transfer the file to VAN through the normal XI FTP adapter. If yes, then how?bold
boldQues 3. - In case if the FTP adapter can not be used can we use any specific Seeburger VAN adapter?bold
Regards,
Mayank -
Help :- Send Large File From Server To Client
Hey guys, I am stuck with a problem.Hope u guys might be able to help me out. My problem is :-
From client i am doing an operation which results in calculation of results by server and saving a file on the server..But i want to see what results have been computed by the server and hence i want to stream that file back to the client..
The file may be of 100MB as well , that is, the size of the file may be huge.
I want u guys to tell me how to stream that file back to the client..I tried returning byte array which gets serialized and then received at client side but as i said the file may be huge so memory problem may arise, so returning byte[] from function is not a good solution..
I am looking something where server can send the file back to the client in chunks..Client keeps receiving these chucks and keep putting them in the file.
So how to make server send file in chunks??Also, i don't know the hostname and ports...so sockets i can't use...
Any Another way to do it...??
is PipedStream a solution??
Please guys, help me
Thanks in advance
Edited by: 854509 on Apr 25, 2011 8:28 AM
Edited by: 854509 on Apr 25, 2011 8:59 AM854509 wrote:
I knew about sockets but as i said i am able to send request to server by client by calling a remote method...There i haven't used sockets...RMI uses sockets, I assume you mean you don't access to the underlying socket.
So i wanted to know if we can without using sockets send file back to Client..I would have the RMI return the connection details where the result can be obtains, .e.g with hostname, port, and file name to use.
I would suggest trying to compress the stream as well (just wrapp the stream on the sender/reciever), especially for files over 1 MB.
Tell me something abt PipedStreams as well..If they are of any use here or not?I don't see how. PipedStreams can be used to share data between threads in the same process.
If RMI is your only choice you can perform a method which would return alot of data and have seperate methods to download portions of it.
e.g.
public int loadBigFile(String filename); // returns the number of portions.
public byte[] returnPortion(int n);
int portions = rmi.loadBigFile("my-big-file.xml");
for(int i=0;i<portions;i++) {
byte[] bytes = rmi.returnPortion(i);
// do something with bytes.
}You can have the server cleanup the file when the last portion is read. -
Sending a file (.pdf) as an attachment via e-mail
Hi,
I have a selection screen with purchase order number as "select-options" and 2 radio buttons one for downloading and opening the SAP Script output to the local file and the other raido button would convert the SAP Script output into .pdf file and send that file as an attachment via e-mail to the receipent(only one).
I'm through with the first operation. Now need to know about the e-mailing procedure and the function module(s) to be used and their import, export, etc. parameters.
Thanks & Regards,
RajeshRe: Sending a PDF document as an attachment
refer the above thread.
the useful FMs in this regard are
CONVERT_OTF
SO_NEW_DOCUMENT_ATT_SEND_API1 to send mails with attachments: -
Bottleneck when switching the redo log files.
Hello All,
I am using Oracle 11.2.0.3.
The application team reported that they are facing slowness at certain time.
I monitored the database and I found that at some switching of the redo log files (not always) I am facing a slowness at the application level.
I have 2 threads since my database is RAC, each thread have 3 redo log groups multiplexed to the FRA, with size 300 MB each.
Is there any way to optimize the switch of redo log files? knowing that my database is running in ARCHIVELOG mode.
Regards,Hello Nikolay,
Thanks for your input I am sharing with you the below information. I have 2 instances so I will provide the info from each instance
Instance 1:
Load Profile Per Second Per Transaction Per Exec Per Call
~~~~~~~~~~~~ --------------- --------------- ---------- ----------
DB Time(s): 4.9 0.0 0.00 0.00
DB CPU(s): 1.1 0.0 0.00 0.00
Redo size: 3,014,876.2 3,660.4
Logical reads: 32,619.3 39.6
Block changes: 7,969.0 9.7
Physical reads: 0.2 0.0
Physical writes: 164.0 0.2
User calls: 7,955.4 9.7
Parses: 288.9 0.4
Hard parses: 96.0 0.1
W/A MB processed: 0.2 0.0
Logons: 0.9 0.0
Executes: 2,909.4 3.5
Rollbacks: 0.0 0.0
Instance 2:
Load Profile Per Second Per Transaction Per Exec Per Call
~~~~~~~~~~~~ --------------- --------------- ---------- ----------
DB Time(s): 5.5 0.0 0.00 0.00
DB CPU(s): 1.4 0.0 0.00 0.00
Redo size: 3,527,737.9 3,705.7
Logical reads: 29,916.5 31.4
Block changes: 8,893.7 9.3
Physical reads: 0.2 0.0
Physical writes: 194.0 0.2
User calls: 7,742.8 8.1
Parses: 262.7 0.3
Hard parses: 99.5 0.1
W/A MB processed: 0.4 0.0
Logons: 1.0 0.0
Executes: 2,822.5 3.0
Rollbacks: 0.0 0.0
Transactions: 952.0
Instance 1:
Top 5 Timed Foreground Events
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Avg
wait % DB
Event Waits Time(s) (ms) time Wait Class
DB CPU 1,043 21.5
log file sync 815,334 915 1 18.9 Commit
gc buffer busy acquire 323,759 600 2 12.4 Cluster
gc current block busy 215,132 585 3 12.1 Cluster
enq: TX - row lock contention 23,284 264 11 5.5 Applicatio
Instance 2:
Top 5 Timed Foreground Events
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Avg
wait % DB
Event Waits Time(s) (ms) time Wait Class
DB CPU 1,340 24.9
log file sync 942,962 1,125 1 20.9 Commit
gc buffer busy acquire 377,812 594 2 11.0 Cluster
gc current block busy 211,270 488 2 9.1 Cluster
enq: TX - row lock contention 30,094 299 10 5.5 Applicatio
Instance 1:
Operating System Statistics Snaps: 1016-1017
-> *TIME statistic values are diffed.
All others display actual values. End Value is displayed if different
-> ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
Statistic Value End Value
AVG_BUSY_TIME 17,451
AVG_IDLE_TIME 81,268
AVG_IOWAIT_TIME 1
AVG_SYS_TIME 6,854
AVG_USER_TIME 10,548
BUSY_TIME 420,031
IDLE_TIME 1,951,741
IOWAIT_TIME 288
SYS_TIME 165,709
USER_TIME 254,322
LOAD 3 6
OS_CPU_WAIT_TIME 523,000
RSRC_MGR_CPU_WAIT_TIME 0
VM_IN_BYTES 311,280
VM_OUT_BYTES 75,862,008
PHYSICAL_MEMORY_BYTES 62,813,896,704
NUM_CPUS 24
NUM_CPU_CORES 6
NUM_LCPUS 24
NUM_VCPUS 6
GLOBAL_RECEIVE_SIZE_MAX 4,194,304
GLOBAL_SEND_SIZE_MAX 4,194,304
TCP_RECEIVE_SIZE_DEFAULT 16,384
TCP_RECEIVE_SIZE_MAX 9.2233720368547758E+18
TCP_RECEIVE_SIZE_MIN 4,096
TCP_SEND_SIZE_DEFAULT 16,384
TCP_SEND_SIZE_MAX 9.2233720368547758E+18
TCP_SEND_SIZE_MIN 4,096
Operating System Statistics - Detail Snaps: 1016-101
Snap Time Load %busy %user %sys %idle %iowait
22-Aug 11:33:55 2.7 N/A N/A N/A N/A N/A
22-Aug 11:50:23 6.2 17.7 10.7 7.0 82.3 0.0
Instance 2:
Operating System Statistics Snaps: 1016-1017
-> *TIME statistic values are diffed.
All others display actual values. End Value is displayed if different
-> ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
Statistic Value End Value
AVG_BUSY_TIME 11,823
AVG_IDLE_TIME 86,923
AVG_IOWAIT_TIME 0
AVG_SYS_TIME 4,791
AVG_USER_TIME 6,991
BUSY_TIME 475,210
IDLE_TIME 3,479,382
IOWAIT_TIME 410
SYS_TIME 193,602
USER_TIME 281,608
LOAD 3 6
OS_CPU_WAIT_TIME 615,400
RSRC_MGR_CPU_WAIT_TIME 0
VM_IN_BYTES 16,360
VM_OUT_BYTES 72,699,920
PHYSICAL_MEMORY_BYTES 62,813,896,704
NUM_CPUS 40
NUM_CPU_CORES 10
NUM_LCPUS 40
NUM_VCPUS 10
GLOBAL_RECEIVE_SIZE_MAX 4,194,304
GLOBAL_SEND_SIZE_MAX 4,194,304
TCP_RECEIVE_SIZE_DEFAULT 16,384
TCP_RECEIVE_SIZE_MAX 9.2233720368547758E+18
TCP_RECEIVE_SIZE_MIN 4,096
TCP_SEND_SIZE_DEFAULT 16,384
TCP_SEND_SIZE_MAX 9.2233720368547758E+18
TCP_SEND_SIZE_MIN 4,096
Operating System Statistics - Detail Snaps: 1016-101
Snap Time Load %busy %user %sys %idle %iowait
22-Aug 11:33:55 2.6 N/A N/A N/A N/A N/A
22-Aug 11:50:23 5.6 12.0 7.1 4.9 88.0 0.0
------------------------------------------------------------- -
Hello,
I am only a few weeks old into BizTalk so I am new to this application.
The pieces I have for my development environment consists of the following:
FTP Server ---[SFTP Adapter]---> BizTalk 2013 ---[FILE Adapter]---> Internal Network Share Drive
I currently configured a simple PassThru, One way Receive/Send in BizTalk where the Receive Port receives a file via SFTP
Adapter from our FTP server and the Send Port sends the file via the FILE Adapter to our Internal Network share drive.
The setup works great with small files. However, when I receive a large file on the FTP server, the Send Port sends multiple instances of the file on the FTP server because the Receive Adapter sees that the file is there, but not yet
fully uploaded.
Can someone please guide me as to how I can determine when a file is fully uploaded to the FTP server before the Receive Adapter fires?
Thanks,
MitchYap BizTalk does not have control over locking the file during read/write Operation and its the third party which need to take care of this (by rename the file after upload ) .
If the file size is too large I would suggest to bypass the message box as it has performance bottleneck during peak hours
Apart from being repetitive, this is not good advice. There is no indication that the file is too large or will cause any "performance" issues.
The concurrency problem can happen with a file of any size. -
please help!!!!!! i filled out a job application using adobe reader but i cannot send the file back via email because the file is protected with a lock. how do i unlock this file to send it?!!!!!!!!!
Hi kevinv1987,
It doesn't sound like the PDF was password protected (or Adobe Reader would prompt you for a password). Instead, it sounds like that file may be marked locked by your operating system. Are you on Mac OS or Windows? In either case, here are instructions for removing the lock icon from the file:
Remove the Lock Icon from a Folder in Windows 7 (check Microsoft's website if you have a different version of Windows)
On Mac OS, select the file in the Finder, and choose File > Get Info. Then, just deselect the Lock checkbox.
Please let us know how it goes.
Best,
Sara -
Satellite L850 wont receive or send and files over Bluetooth
My Satellite L850 wont receive or send and files or images from other Bluetooth devices ...
My O/S is windows 8...I have tried everything,,Can you please post full model name of your notebook?
Is your machine preinstalled with original operating system that you got with your machine?
Anyway, I hope everything is installed properly on your machine so before we start discussion bout BT functionality check please http://aps2.toshiba-tro.de/kb0/TSB2C03FI0001R04.htm
There you will find instructions how to activate BT module on your machine.
By the way: can you see small BT symbol in task bar? -
Can not send any file via bluetooth
my 5800 Xpress music can not recently send any msg via Bluetooth. As soon as sending started, the phone will be locked where as no more action possible no keys works the phone does not even switch off by pressing its button otherwise removing the battery. pls help me
What does it says when you try to send a file via Bluetooth?
Previous Phones: 6600, 7610, 6230, 6230i, 1100, 1112, N70, N73, N95, N95 8GB, 5800XM, 5230, C5, iPhone 3GS, SE Xperia X10, N900, N8, SE Xperia Arc
Current Phones: Nokia N9, iPhone 4 -
How to send multiple files with it's original name over HTTPS using one CC?
I am working on a File to HTTPs scenario. It is in production and working fine. Currently we send only one file and I have hard coded the name in the communication channel in the header fields. Now we have to send more files with different names and I want to use only one receiver channel instead of many. We need to send the files with their original names.
I used the ASMA in the sender File Adapter and I see the FileName in the dynamic configuration under http://sap.com/xi/XI/System/File name="FileName".
I know we can use a UDF in message mapping and get the value and put it in HEADERFIELDONE. But we don't want to use mapping as the files are huge and we don't want to insert XML tags in the payload.
So how do I put the Filename from the DynamicConfiguration to the HTTP header field as FileName without using mapping? Are there any settings?
Can I put something in the PROLOG or can I use any other module in the File Sender Adapter or is there any other option?
Any help is appreciated.
Thanks
SaiSee my blog:
/people/stefan.grube/blog/2009/06/19/unknown-use-case-of-dynamicconfigurationbean-store-file-name-to-jms-header-without-mapping
You have to put the configuration in sender channel, as HTTP adapter does not allow modules.
For the second module, put values related to HTTP adapter. -
How can I create an csv/excel file using pl/sql and then sending that file
How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.968776 wrote:
How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
Whay do you want database (pl/sql) code to do these things?
Anyhow, you may be interested in :
{message:id=9360007}
{message:id=9984244} -
Sending multiple files using one socket
Hi guys
I'm working on a simple app that sends multiple files over LAN or I-NET. The problem is that the app run seems to be non-deterministic. I keep getting this error on the client side:
java.io.UTFDataFormatException: malformed input around byte 5
at java.io.DataInputStream.readUTF(Unknown Source)
at java.io.DataInputStream.readUTF(Unknown Source)
at service.DownloadManager.storeRawStream(DownloadManager.java:116)
at service.DownloadManager.downloadFiles(DownloadManager.java:47)
at manager.NetworkTransferClient$1.run(NetworkTransferClient.java:104)The byte position changes every time I run a transfer. The error is caused by this line: String fileName = in.readUTF(); Here's the complete code:
Client
private void storeRawStream() {
try {
FileOutputStream fileOut;
int fileCount = in.readInt();
for(int i=0; i<fileCount; i++) {
byte data[] = new byte[BUFFER];
String fileName = in.readUTF();
fileOut = new FileOutputStream(new File(upload, fileName));
long fileLength = in.readLong();
for(int j=0; j<fileLength / BUFFER; j++) {
int totalCount = 0;
while(totalCount < BUFFER) {
int count = in.read(data, totalCount, BUFFER - totalCount);
totalCount += count;
fileOut.write(data, 0, totalCount);
fileOut.flush();
bytesRecieved += totalCount;
// read the remaining bytes
int count = in.read(data, 0, (int) (fileLength % BUFFER));
fileOut.write(data, 0, count);
fileOut.flush();
fileOut.close();
transferLog.append("File " + fileName + " recieved successfully.\n");
} catch (Exception ex) {
ex.printStackTrace();
}Server
public void sendFiles(File[] files) throws Exception {
byte data[] = new byte[BUFFER];
FileInputStream fileInput;
out.writeInt(files.length);
for (int i=0; i<files.length; i++) {
// send the file name
out.writeUTF(files.getName());
// send the file length
out.writeLong(files[i].length());
fileInput = new FileInputStream(files[i]);
int count;
while((count = fileInput.read(data, 0, BUFFER)) != -1) {
out.write(data, 0, count);
bytesSent += count;
fileInput.close();
out.flush();
Does anybody know where's the problem? Thanx for any reply.Send the length of each file ahead of each file, with DataOutputStream.writeLong().
When reading, read that long, then stop reading bytes when you've read exactly that length.
Maybe you are looking for
-
Hi all, I have bought a used Macbook Pro 15' i5 Mid 2010 in brilliant condition. It came with original HDD in main Hard drive space and and SSD in an optibay. This all works fine and came with Mavericks already installed. I want to start using the la
-
How to process the Received Idoc in SAP R/3 ? What to be done ?
Hi All I am working for file to Idoc scenario..... Idoc received into SAP R/3 but how to process the Idoc data ? Such it will store in SAP R/3 DB..... Clearly How to Process the received idoc data into SAP R/3 ? (this is for inbound idoc) I hope any
-
My iphone5 was stolen (second time) How can I recover my photos and videos on icloud? Last time they did not all come back. Specifically I need photos I took 1 day before it was stolen.
-
Spry horizontal menubar in template
I created a template with a spry horizonal menubar. All seeams to work correctly in template but however when I create a page from the template the spry menubar turns into a long list. How can I fix this?
-
Is there a way to add blank columns to a report? Thanks