IM System File Transfer through NAT

Hi, i have operational IM system with server and client and i want to implement file transfer. Not that it was any difficult but i want to make it server independent to relieve it.
What i want to is establish direct connection between transferring clients. The problem is, how to deal with guys behind NAT.
I have seen many topics here and on other forums dealing with it but they were direct questions in advanced development of this issue and i want to ask if there is any way to do it without reconfiguring the client routers (some of them behind IPS's Gateway and owning own wifi router) or not. I would like to know your ideas or experiences on this matter how start with this or where to look for it. I certainly dont want to do some ip tunnelling through RMI or similar.
Regards ~

When connecting possibly NATed peers, there are three main scenarious:
* All peers have a public IP, no NAT anywhere: Easy, simply connect
* At least on peer has a public IP, no NAT, some or all other peers are NATed/don't have public IP: public peer acts as a server of kind/hub
* Everyone is NATed: not it's getting very, very tricky.
Especially for the third kind you will need to implement several different techniques.
Keywords to google for are UPNP (to reconfigure the router for port forwarding) and NAT piercing (fooling both routers to think it's an outgoing connection).
Good luck.

Similar Messages

  • Lenovo Thinkpad X1 - Extremly slow file transfer through e-sata

    Hi there! I have got another issue with my notebook - the file transfer through e-sata is extremly slow (about 5MBpS). Using Windows 7. Where could be the problem? Thanks.

    Hi Gabbi,
    thanks for posting. You might want to check in your control panel which Lenovo preloaded software are installed. One software which I've seem has caused this issue is the Lenovo Rapid Shield and and Lenovo Airbag Protection.
    Could you try disabling them and check for the changes.
    do let me know..
    regards

  • Steps for File Transfer through FTPS...!!!

    Hi ,
    Can anyone please tell the steps for file transfer with FTPS.
    Does PI file adapter has bulilt in feauture to handle this? or
    Do we need to deploy anything to handle this?
    Do we need to install any certificates by requesting from partner or It will do the encryptions/authentications on its own?
    Any additional Steps we need to mention in File receiver adapter while we send the file through FTPS?
    File is going through port 1090(unsecure connection) but it is not going through port (990) which is a secure connection.
    Please suggest me.
    Thanks
    Krupakar

    Hi Shabarish,
    We got the certificate from the partner and loaded into the trusted CA's. I tried running by giving
    Connectivity Security as "FTPS for Control and Data Connection" and Command Order as "AUTH TLS,USER,PASS,PBSZ,PROT"
    Ip: XXX.YY.YY.ZZZ
    Port: 990
    User and pwd.
    and I am getting the same below error
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier
    I tried by selecting different options like
    1. Without selecting the X509 certificate for client authentication.
    2.  Keystore as TRUSTED\view\entry-cert
       X509 certificate and private key as TRUSTED\view\entry-cert
    3. Keystore as TRUSTED\view
      X509 certificate and private key as TRUSTED\entry-cert
    4.Keystore as "view"
      X509 certificate and private key as "entry-cert"
    Please help me in this.
    Thanks
    Krupakar

  • File transfer through IBM SAP Adapter

    Hi,
    We are developing a solution where our SAP ECC 6 needs to receive transactional information via the IBM SAP ADAPTER.
    The Adapter will make a call to a remote function module that we will expose.
    I would like to know whether it is advisable to pass the file data as a string in the function module.
    The file is a flat file which consists of header, detail and trailer sections and can be bigger than 1MB.
    The IBM SAP Adapter will call the function and can the data be passed as a string without any performance issues.
    Regards,
    Michael Mayisana
    Moderator message - Moved to the correct forum
    Edited by: Rob Burbank on Nov 5, 2009 9:04 AM

    Hi Michael,
    It's tough to answer your question as there's different perspectives to performance and it also depends a lot on the system and usage model. In general I'd say you shouldn't have any issue transferring even 10MB via RFC. I've done this several times and it works fine. However, you're just mentioning file might be above 1MB (so can it be arbitrary big?) and you don't mention what else is going on (e.g. are there lots of those processes that might run in parallel or are there already lots of other things going on).
    In principle I'd say the more scalable approach would be to utilize the usual OPEN-TRANSFER-CLOSE approach that you normally have with files. I.e. you'd call one RFC to initialize the transfer, then have another RFC (called possibly multiple times) that transfers chunks/blocks of data and finally another RFC that signals the end of the data transfer. The data transfer can be configured with a predefined block size (e.g. 1MB), which would work as the single RFC in most cases, but also be able to process files that are 100MB without any issues. Of course this introduces more overhead and assumes that memory is possibly scarce. If memory is there in abundance, it's probably easier to transfer everything in one chunk.
    Best wishes, harald

  • File Transfer through ActiveSync is VERY slow in WinCE 7 (on the same device with WinCE 6.0 the speed is normal)

    Hello!
    I met with very strange activesync behaviour. We ported our bsp (based on smdk6410) from WinCE 6.0 to WinCE 7.0. the problem is that WinCE 7.0 copy files from desktop computer into device through ActiveSync (or WMDC) very slowly. With WinCE 6.0 this was
    much faster (with WinCE 7.0 the speed becomes slower many times). I tried the same files. I tried different desktop OS - XP, Windows 7, Windows 8. The result is same. The hardware of the device is the same for both WinCE 6.0 and WinCE 7.0. The bsp in general
    is the same too. The file is transfered slowly from desktop into WinCE 7.0 device in both cases - through ActiveSync gui and through Rapi api using our software.
    Note, that our bootloder transfer OS image via RNDIS with the same speed as using WinCE 6.0. So looks like the problem in WinCE 7.0 in USB serial or in ActiveSync desktop or device sides...
    In addition!!! The very strange thing is that I found only two cases when WinCE 7.0 transfers file through activesync with the same speed as in WinCE 6.0 (with fast speed):
    1. When I transfer from desktop OS that is XP installed on Virtual Machine (using VMware). However the speed is normal only with XP on VMware. I tried with Windows 8 on VMware and the speed was slow too.
    2. It's very interesting fact. When I press Sync button in desktop ActiveSync dialog the trasfer becomes normal (fast)! during time when activesync is performing synchronization. When synchronization finished the speed looks slow again... So when I press
    Sync button all the time when a file is transfered - a file is loaded into desktop fast (the time is the same as using WinCE 6.0...) This behaviour occurs for all desktop OS.
    Note that the problem is actual only for trasferring from desktop into device. WinCE 7.0 trasfers files from device into desktop normal.
    Can somebody describe that?
    Thanks!

    Which version of SuSE Linux would possibly help here. I'm using version 7.3 Pro and it is only 10 minutes slower than my installation on XP Pro (the script is 16 pages long and takes 8,000,000 records and converts them into 30,000 records of useful information-takes 20 minutes in XP, 30 minutes in SuSE 7.3 on a personal computer). I used the orarun9i script and followed the directions for re-compiling the genclntsh from the SuSE installations online.

  • Operating file transfer through oracle

    Hi,
    These the syntax provide in the oracle documentation in oracle 10g for copying the os file from one destination to other destination
    DBMS_FILE_TRANSFER.COPY_FILE(
    source_directory_object IN VARCHAR2,
    source_file_name IN VARCHAR2,
    destination_directory_object IN VARCHAR2,
    destination_file_name IN VARCHAR2);
    and my question is any one kindly provide me example for these syntax in windows.
    or else these procedure is used only for the file system in linux and unix
    Kindly

    ORA-27046 file size is not a multiple of logical block size
    Cause: File size as indicated by STAT is not correct, additional information indicates which function encountered the error.
    Action: Verify that the file has not been overwritten or truncated
    And
    OSD-04012
    File size mismatch
    Cause: File to be re-used is either too large or too small.
    Action: Specify correct file size or delete existing file.
    Both of which I looked up at http://tahiti.oracle.com by typing the error code in the search box.
    Sybrand Bakker
    Senior Oracle DBA

  • NFC file transfer

    Hi All,
    I am trying to create a windows application for file transfer through NFC. I have Sony RC-S380 nfc reader/writer device and my windows 8 machine is able to detect it as a proximity device. I am new to NFC and wonder if i need to create an application for
    the phone as well to receive the transferred file. I have got a code sample on msdn which is working with NFC tag but not with a NFC enabled device. 
    https://code.msdn.microsoft.com/windowsdesktop/NFC-Editor-529ccda6
    My requirement is to transfer the images from windows surface to any smartphones(Android and Windows). Please suggest a proper approach for this.
    Regards,
    Ranjan Kumar

    Yes, you need an app which will receive on the phone side. In Windows Store apps, it's called Proximity and there's a sample here:
    https://code.msdn.microsoft.com/windowsapps/Proximity-Sample-88129731
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Slow file transfer - ethernet + firewire issue?

    Here's the setup -
    Win98PC > ethernet (direct cable connection) > iMac G5 > Lacie d2 FW drive
    Connection (100BaseT) works, logins work fine, browsing folders & files is fine. But when I transfer files from the WinPC to the Lacie drive through the iMac G5 it is unbelievably slow. Same thing if I use one of my other Macs in place of the WinPC, so it looks like a network or iMacG5 issue, not a WinPC issue.
    On the other hand, if I use Airport to connect a WinPC, eMac or MacBook to the iMacG5, the file transfers are blindingly fast.
    Is this perhaps because the FW & ethernet controllers in the iMac G5 are the same PHY chip? Is this some kind of contention for bandwidth through the PHY chip? (The Airport card in the iMacG5 is on a separate bus, not connected to the Ethernet/FW PHY chip, which makes me suspect something is up with the ethernet/FW controller.)
    Anyone else encounter a problem like this with slow file transfer through your iMacG5 to an external FW drive?

    Martin, that's really interesting. I've noticed slow network transfers in the past but always racked it up to overhead and parity errors inherent in the OS's. Never thought it might be the PHY chip, though it certainly could be. Apple has a broadband tuner which might help you by increasing packet size (but you probably knew that as a Level3). My stopgap is to do the file transfers with firewire, but your laptop may not have that option.
    You could maybe copy to the mac over the network, then copy a second time to the LaCie. Not elegant or clean, but will save you time. Kinda like taking the backroads to avoid rush hour traffic - it's farther to go but you get there faster.
    I'll look into the controller question. Let us know how you're doing,
    Ed

  • How the file transfer during dynamic download??

    Post-issuance applet loaded to the Java Card by tranfering the cap file to the java card, am i right? So i want to know how the file being transfered in the unsecure open network such as internet during dynamic applet dowloading. We transfer the cap file through the internet? or do we need to send apdu command as well for example InitUpdate, ExAuthen, install, load etc..? In what format all these file transfer through internet to the card? Any guidance is appreciated!! Thank you!

    The card doesn't care about how you got the CAP file. So it was transferred thru an unsecured network. Big deal ! Wether it was generated offsite and downloaded thru the net or it was generated onsite and transferred thru emails, the card doesn't care! That's up to your infrastructure to establish.
    To load the CAP file requires a middleware of some sort to send the APDU commands. Of course that middleware needs to reside on the client side because server doesn't know about each client's hardware configuration. So the client will request the CAP file from the server. Once the file is downloaded, it is then loaded onto the card.
    I know your next question is what is middleware so to save a post I'll answer it. PCSC, OCF, proprietary reader drivers. Recall, you don't actually talk to a card, you talk to a reader and it communciates to the card. Middleware is that interface to the reader. The middleware is what sends the card edge, or APDU commands for processing. Commonly used middleware is PCSC. All reader manufacturers for desktops support it.

  • UCMA to Capture File Transfer

    Recently my company decided to turn off file transfer through federation while leaving it on internal. We did not think this would be of much notice but did not have much insight on what kind of traffic this modality had. After turning it off it only took
    about a week for the complaints to start rolling in. This leads to my current development effort. I have created a MSPL script to capture the file transfer on my edge server and everything is great there. I am now trying to create a UCMA application that will
    sit and listen and when called would intercept the message, copy the file and download it, then send it back on to its intended recipient. I guess I underestimated how difficult this would be. It looks like for mediatypes there is not one even in the API for
    file transfer. Talking to MS they said I would need to extend out the API. I have done this so far to include the file transfer as a mediatype. But I need help in trying to extend whatever handler I need to use to listen and notice that a file transfer is
    happening. Can anyone assist in this?
    Thanks,
    Anthony

    Recently my company decided to turn off file transfer through federation while leaving it on internal. We did not think this would be of much notice but did not have much insight on what kind of traffic this modality had. After turning it off it only took
    about a week for the complaints to start rolling in. This leads to my current development effort. I have created a MSPL script to capture the file transfer on my edge server and everything is great there. I am now trying to create a UCMA application that will
    sit and listen and when called would intercept the message, copy the file and download it, then send it back on to its intended recipient. I guess I underestimated how difficult this would be. It looks like for mediatypes there is not one even in the API for
    file transfer. Talking to MS they said I would need to extend out the API. I have done this so far to include the file transfer as a mediatype. But I need help in trying to extend whatever handler I need to use to listen and notice that a file transfer is
    happening. Can anyone assist in this?
    Thanks,
    Anthony

  • How to block file transfer and desktop sharing in Lync 2010 for Fedrated and Guest Users

     
    Dear,
    Can anybody guide me how to restrict desktop sharing and file transfer for federated and Anonymous logins in Lync 2010.
    I have tried to apply this policy through “Conferencing Policy”, but this gets applied to all users including corporate users.
    Please help in this.

    Hi,
    As my knowledge, the CsFileTransferFilterConfiguration and setting in confercing policy are used to block transfer file between users. So if the policy is applied to user, the user would not transfer file with anybody. Since all Federation and Guest
    Users access thought the Access Edge service, here is a update that helps to enable the control of the file transfer through the Access Edge service.
    http://support.microsoft.com/kb/2621840
    The update helps to define the file transfer policy between users on the local area network and users that connect through the Access Edge server in a Microsoft Lync Server 2010 environment. It helps protect Microsoft Lync Server 2010 deployment against
    the spread of the most common forms of viruses with minimal degradation to the user experience.
    Regards,
    Kent Huang
    TechNet Community Support ************************************************************************************************************************ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a
    marked post does not actually answer your question.

  • Proxy Server in File Transfer System

    Hi, I need to write out a file transfer system through a proxy server for my project
    All the while i was writing a file transfer system directly from client to server without any security issue
    Anyway, the scope is given as below, and i know it needs the JSSE package to come out a SSLSocket and SSLServerSocket.
    The question is...
    1. can i use NIO with JSSE included?
    2. how to come out a java proxy server? is there any tutorial i can read through?
    The scope is given as below
    1) Proxy server
    * perform tunning and keep the linking between file transfer host and client
    * authenticate the file transfer client using CA certificate to establish SSL connection
    * Once authorised, need to establish another SSL connection to host engine
    2) File Transfer Manager at Client
    * To initiate SSL connection to proxy server
    * To open two type of connection: command and file connection
    * The command connection is always keep alive
    * For the file connection, the system required to re-open another connection after send file to host
    * Auto-reconnect to server when the connection is down
    * Re-handshake the SSL connection when the channel is inactive for sometime
    3) File Transfer Manager at host
    * To authenticate the proxy server and authorise the client before establish the connection
    * Manage the connection
    * request to client to open new connection (by sending command) when there is no file connection available to send file to client
    * Request for re-handshake the SSL connection when the channel is inactive for sometime

    Hi,
    It is a new feature of SMB3 named SMB MultiChannel, which helps copy files through multiple NICs. 
    Detailed information please see:
    http://blogs.technet.com/b/josebda/archive/2012/05/13/the-basics-of-smb-multichannel-a-feature-of-windows-server-2012-and-smb-3-0.aspx
    As mentioned you can disable or enable it with following steps:
    2.2. Disabling
    SMB Multichannel is enabled by default and there is typically no need to disable it. 
    However, if you want to disable SMB Multichannel (for testing purposes, for instance), you can use the following PowerShell cmdlets:
    On the SMB server side:
    Set-SmbServerConfiguration -EnableMultiChannel $false
    On the SMB client side:
    Set-SmbClientConfiguration -EnableMultiChannel $false
    Note: Disabling the feature on either the client or the server prevent the systems from using it.
    2.3. Re-enabling
    You can re-enable SMB Multichannel after you disabled it by using:
    On the SMB server side:
    Set-SmbServerConfiguration -EnableMultiChannel $true
    On the SMB client side:
    Set-SmbClientConfiguration -EnableMultiChannel $true
    Note: You need to enable the feature on both the client or the server to start using it again.
    If you have any feedback on our support, please send to [email protected]

  • File Transfer From Unix server to Windows Client System Using WebUtil

    Hi all,
    I want to Transfer a File from Unix Server to Window Client System using Webutil. But below mention code is not working.
    DECLARE
         V_Server_Path VARCHAR2(500) := Null;
         V_Client_Path VARCHAR2(500) := Null;
    BEGIN
         V_Server_Path := '/proj/oraapps/viper/dev/reports/cache/Saveauftr.txt';
         V_Client_Path := 'C:\Migration\EU_Applications\Lima\OAS_WorkArea\Client\Saveauftr.txt';
         IF WebUtil_File_Transfer.Is_AS_Readable(V_Server_Path) THEN
         IF WebUtil_File_Transfer.AS_To_Client(V_Client_Path,V_Server_Path) THEN
              Message('Downloading the File ..... .... ... .. .');
              Message('Downloading Was Successfull ...');
              Message('File Transfer from Server Was Successfull ...');
         END IF;
    END IF;
    END;
    Can anyone suggest me,Why the above code is not working and what to do for solve the Problem.
    Regards
    Gany

    Hello,
    You have more chances to get an answer in the Oracle Forms OTN Forum :
    Forms
    Regards

  • Getting error in file transfer from one system to another system

    Hi All
    One of my client (User) wants to transfer his file from  SAP R/3 System SAP XI system. He is using a customize t-code ZFIR0325 (Trial balance report transfer to Hyperian System). When user execute the  program he is getting error "File Transfer Failed due to Network chk with Admin"
    I checked with Network team but they said it is okay from their side. We also check for authorization but there is no issue regarding authorization.
    Name of File Path of Aplication Server, XI destinaion and XI directory entered by user is correct.
    We also put authorization trace in XI System to RFC User (In file transfer from one system to another system this RFC User is geeing Used) but no authorization issue was found.
    Please help me to resolve this problem. I any detail require I will provide the same.

    Guruprasad Wrote:
    He is using a customize t-code ZFIR0325 (Trial balance report transfer to Hyperian System).
    We also put authorization trace in XI System to RFC User (In file transfer from one system to another system this RFC User is geeing Used) but no authorization issue was found.
    Firstly, no one in the community can answer on how a custom transcation code and a program associated with it behaves.
    If there are no authorization issues in the system, you have to look at the exact error message. Look if your XI system is allowed to receive files from the SAP system.
    Unfortunately, you should do some more home work before putting your question here. If everything is fine and configured correctly, then the issue might be with the program.
    Regards,
    Raghu

  • File Transfer from non-SAP System.

    Hi Experts,
    We have the requirement to copy/transfer file from non-SAP system to SAP system file server. Can we use these FMs FTP_CONNECT, FTP_COMMAND and FTP_DISCONNECT?
    or can we also use SXPG_COMMAND_EXECUTE?
    Thanks,
    Edson

    Hi Varma,
    Thanks. I'm looking at the FTP_COMMAND FM. If I got it right the 'command' parameter here should be the OS level commands? Example would be cp <file path from source> <file folder of destination> for unix. ?
    Thanks again,
    Edson

Maybe you are looking for

  • Running a NetBeans 5.5.1 GUI in Java 1.5?

    Hi everyone, thanks for your interest. I've created a GUI in NetBeans 5.5.1 using the Group Layout package, which is included in Java 1.6. The only problem is I need this app to run in a Java 1.5 environment. I'm not an expert at this but after exten

  • Unable to delete photos from iPad(1)

    Hi, Firstly I apologise for the length of this submission but I need to detail all steps taken to date do you folks can see what I have tried ....and failed! I run a kids charity and each year taken hundreds of photos. They are organised into events

  • Cancel the excise invoice in Intra company stock transfer

    Dear Gurus, I have one issue in CIN. The following are the my sequence of operation. Intra company stock transfer. 1. Purchase order with UB. (from plant A) 2. Delivery ( from plant B), 3. PGI ( from plant B), 4.Excise Invoice ( from plant B to A), 5

  • How to retrive KFF segment values in each row of VO?

    Hi, I need to retrve Special Information Type values in HR screen. There is a table based on the VO and on of the column is a flex (KFF) linked ot the same VO. How can i retrieve the KFF segments values from each row of the table (or VO row). The VO

  • Convert RGB to CMYK in AI

    Hi, my printing house said I sent him a RGB file and he needs CMYK for printing.  (1) How can I know the original file is RBG color mode? (2) How to convert RGB ai file to CMYK ai file? Thanks a lot!!!