Transferring exe files across networks?

Hi,
I am developing a program to transfer any type of file from system to system.
I successfully did it for text(rtf,html,js...etc) files but its just not happening for exe files.
Am not able to do it for exe/application/setup files
For eg i transferred a goolgetalk setup file to another system. But on double clicking it, its not getting installed.
I mean that the file goes there, but it loses its function.
Kindly provide me with an insight into this..

Ujwal-Iyer wrote:
ya that i now know....
but what am asking is how to put those series of brackets to encapsulate them.
for eg: BufferedInputStream bir= new BufferedInputStream(new FileInputStream(....etc....etc)))What you posted above is correct. The FileInputStream takes a file name as String or an instance of File, so that is what you should use when you read the file from disk. The end that is reading it from the network should use the new BufferedInputStream(socket.getInputStream())
Kaj

Similar Messages

  • Copying large amount of small files across network: Files are missing

    On my iMac, i have a directory with 1440 small files (about 100k each). I select all of them, and drag them to a folder on my Mac Mini. The copy finishes quickly, but there are always a few files missing, somtimes 5, sometimes 15, or anything between.
    When selecting half of the files, the same problem occurs. Even when I narrow the selection to 100 files, it occured once that only 99 of them were copied.
    Both Macs run 10.5.2 and are connected through a Cisco gigabit switch.
    I solved by zipping the files in 1 archive and transferring that, but of course that is hardly a worthy workaround. One of the most basic file operations, copying across a network, should work flawless in my opinion.
    Do any of you have similar problems? Or perhaps a solution? This, together with the wireless and standby-problems on two MacBooks here, make me consider downgrading to Tiger for the time being.

    Scott Oliphant wrote:
    iomega, lacie, 500GB, 1TB, etc, seems to be drive independent. I've formatted and started over with several of the drives and same thing. If I copy the files over in smaller chunks (say, 70GB) as opposed to 600GB, the problem does not happen. It's like finder is holding on to some of the info when it puts it's "ghost" on the destination drive before it's copied over and keeping the file locked when it tries to write over it.
    This may be a stretch since I have no experience with iomega and no recent experience with LaCie drives, but the different results if transfers are large or small may be a tip-off.
    I ran into something similar with Seagate GoFlex drives and the problem was heat. Virtually none of these drives are ventilated properly (i.e, no fans and not much, if any, air flow) and with extended use, they get really hot and start to generate errors. Seagate's solution is to shut the drive down when not actually in use, which doesn't always play nice with Macs. Your drives may use a different technique for temperature control, or maybe none at all. Relatively small data transfers will allow the drives to recover; very large transfers won't, and to make things worse, as the drive heats up, the transfer rate will often slow down because of the errors. That can be seen if you leave Activity Monitor open and watch the transfer rate over time (a method which Seagate tech support said was worthless because Activity Monitor was unreliable and GoFlex drives had no heat problem).
    If that's what's wrong, there really isn't any solution except using the smaller chunks of data which you've found works.

  • Trouble sharing files across networked computers

    I frequently have this problem when trying to copy files from my MBP at home to my PowerMac at work and vice versa. Regardless of how the connection between the two machines is made (smb, MobileMe), when I try to copy a file or folder, I get a message saying 'You may need to enter the name and password for an administrator on this computer to change the item named "filename.xxx".'
    I am the administrator for both machines, and I am logged in to both as the administrator when this message occurs.
    At this point, I have buttons giving me the option to Stop or Continue. Clicking Continue brings up a message saying 'The item "filename.xxx" contains one or more items you do not have permission to read. Do you want to copy the items you are allowed to read?'
    Again I have the option to Stop or Continue. Clicking Continue gives me the message 'The operation cannot be completed because you do not have sufficient privileges for some of the items.' This message comes up even though I am logged in as the administrator on both machines and I have made sure that I've got read & write privileges for that file.
    At this point, I'm stymied. This occurs whether I'm attempting to transfer a single file, a folder, or an archive. I've adjusted sharing preferences on both machines so that I specifically have full privileges for both the source and target folders as well as the file(s) being moved. Both machines are running OSX 10.5.8.
    Any suggestions? Thanks in advance -

    Hi Keven - just wanted to chime in that I can replicate this error on a nearly identically configured setup as yours, but like you, have no substantive response (yet) from Apple. In fact, my post disappeared. The only thing I see, perusing the forums, is that people are recommending Snow Leopard upgrade to solve numerous networking issues. I realize this is not a satisfactory answer. I will stay subscribed to your post and will let you know if Apple comes back to me with a good response as well.

  • ITunes Locking when Adding Files Across Network

    I just made the switch from windows to Mac and I seem to be having issues with iTunes. My main computer used to be a PC and I just purchased a Macbook Air. I have a pretty large media library (1.5TB) and there was no way I could house that on the air so I repurposed my PC as a file server. I then created alias's to each media file on the PC (i.e. Video, Music (320), Music (ALAC), Pictures,eBooks, etc..).
    I set the library in iTunes to be in the local music file on the mac and I also placed the alias's in the music file. I made sure to unflag the two "let itunes do everything" flags. I then started adding the alias's in one by one. Video (which is huge), Pictures, ALAC music all added with no fuss.. slow as .... but they worked. I then tried to add the music file containing MP3s. Not only did it creep, it locked up constantly. I had a beach ball almost constantly. I killed the add process and tried again.. same thing. I then rebooted both machines and the same thing. At this point I am thinking my files was corrupt so I loaded iTunes on the PC and had no issues adding the files.
    I then reloaded iTunes on the mac. No good. Now when I say I was getting beach balls I really mean it. I have never in my long life of dealing with PCs ever seen something freeze up and lock completely so often. It is so bad it is crashing finder and I have to power it down. No I know that iTunes is not the best thing that Apple has ever made (trying to be nice) but this is silly.
    Being persistant I decided to bypass the PC and I went and bought a Time Capsule. Now not only does it still crash the files that do work are added REALLY slowly (and accessed a a pitiful rate). Is the hard drive on the TC that slow?? Time Machine seems to work ok.
    So here I am. I have files that I have confirmed are functional on two PCs using iTunes for windows and one of them is completely crashing my mac. I can not house this media on the air. 1.5TB will not fit in a 256GB drive for obvious reasons. There are no strange and funky files just plain old MP3s.
    Does anyone have suggestion as to what I can do? I have to be honest.. at this point I am rather ******. It should not take two days to add MP3s. I am afraid my journey into the world of OS X is about to end. If I didn't have an iPad & iPhone I would use an alternative player but I do and I am stuck.

    Yes, I am repling to my own thread The problem only lies with MP3s from a network drive on a mac (lion). This problem can't be duplicated on a windows machine which is sorta madding. I converted 500 tracks to AAC and the problem went away and I have never had an issue with ALAC. No, I am not going to convert 50k tracks to AAC.
    I have been watching the system log as the MP3s import and I keep getting this error:
    "iTunes[1879]: _AMDDeviceAttachedCallbackv3 (thread 0x11309c000): Device 'AMDevice 0x7fd554add380 {UDID = b407ece7782174048d0ee3136beafc5a111e9156, device ID = 17, FullServiceName = a4:d1:d2:76:fe:2d@fe80::a6d1:d2ff:fe76:fe2d._apple-"
    So far google has failed me so I have no idea what it means. Anyone have any idea?

  • Hi. I recently got a new computer and transferred all my files across using TimeMachine. Whenever I try to sign into any CC program (including CC) the program instantly shuts down and an Apple error message comes up. I have uninstalled and reinstalled CC

    Hi. I recently got a new computer and transferred all my files across using TimeMachine. Whenever I try to sign into any CC program (including CC) the program instantly shuts down and an Apple error message comes up. I have uninstalled and reinstalled CC twice with no avail and deleted every Adobe product on my computer and nothing is working.

    I have seen similar discussions before... transferring does not work, you must install
    Discussions of RE-installing
    -http://forums.adobe.com/thread/1408331?tstart=0
    -http://forums.adobe.com/thread/1398961?tstart=0
    -and http://helpx.adobe.com/creative-cloud/help/install-apps.html
    -using the cleaner after uninstalling and before reinstalling will usually help
    -http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

  • .exe files appearing on MAC in mixed network environment

    I am working in a mixed PC/Mac network environment. Soon after plugging the MAC into the network, I started noticing '.exe' file appearing on my MAC.
    Almost every folder on the HD now has a .exe file with the same name inside it. For example the Libray folder has a file called "Library.exe" in it now.
    I have one folder on the MAC shared, and mapped as a network drive on a PC. The PC's anti-virus software keeps flagging a virus on the folder. However, I am running Intego's anti-virus on the MAC and it does not find anything.
    Anyone have any ideas here?

    Finally figured it out... PC Network volume (shared folder) had the W32.rontokbro@mm virus. EXE file appeared anytime the PC connected to the MAC. Reformatted the PC and deleted all of the EXE files from the MAC and now I have no troubles.

  • Hello! i am new to Macbook pro, i have recently transferred my data from my Pc to Mac, i can not open .exe file. Please give me any suggestion regarding this!

    hello! i am new to Macbook pro, i have recently transferred my data from my Pc to Mac, i can not open .exe file. Please give me any suggestion regarding this!
    I have using Mac OS 10.9.2

    Try running it through WineSkin or CrossOver Mac, or installing Windows through VirtualBox, Parallels Desktop, VMware Fusion, Boot Camp, or similar software.
    (106527)

  • Why can't I copy a file across a network?

    I am having a very peculiar problem copying a simple text file across a network.  The problem occurs when I try to copy from a newly purchased and newly upgraded MacBook (13 inch aluminum 08) to a 2010 Mac mini.
    When I try to copy from the MacBook to the mini, Document folder to Document folder, I get this message:
        A new item named “filename” already exists in this location.  Do you want to replace it with the one you’re moving?
    If I click Replace, I get this message.
         The operation can’t be completed because an item with the name “” already exists.
    If I click Keep Both, the process begins to create thousands (yes thousands!) of numbered copy files with the same file name and zero contents.
    Copying from the MacBook to a different Mac works normally.
    The problem, I suppose, stems from the fact that I migrated my user account from the Mac mini to the MacBook.  But, I’ve done that before without a problem, so what is happening?
    I also suppose that the solution is to delete the migrated user account on the MacBook and create a new one, but that’s a nuisance.
    Can anyone solve this puzzle?
    Thanks-
    Robin

    Sorry I couldn't help.  You mention copying a simple text file, then mention ~/Documents to ~/Documents, then finally mention migration assistant.
    It's honestly not too clear what you're tyring to accomplish.  Do you have mutliple user accounts now and you want to thin them down?  Do you simply want to get your Documents from the mini to the new computer?  I copy between Macs all the time (ML to Mavericks, Mavericks to Mavericks).  The worst thing I've faced is the need to reset home permissions and ACLs.
    Many of the guru's who frequent the Mavericks area also come here.  I'm sure one of them can help.  Good luck.

  • How to share files across my network from Belkin N

    I have a belkin N+ router that you cant plug a USB hard drive or a flash drive into to share the files across the network. It shows my router as a device on the network but gives me the same error message every time I try to acess them. How can I set this up from my Mac, what do I need to to do?

    I had the same problem. I was first getting an error on my PC about the library being created with a newer version of iTunes. I upgraded my PC to 8.1 and am now receiving the following error when trying to open up the shared library:
    "The iTunes application could not be opened. An unknown error occurred (13005)."

  • Slow Accessing Files Across a Windows 2003 Server Network

    I posted this quite some time ago in the Os X Forum:
    Hi,
    We get the spinning ball when we access files across a Windows 2003 network with our Os 10.3.9 Macs.
    It seems that the more files there are in the folder, the longer you see the ball, our Fonts folder can sometimes take up to 2 minutes before you can scroll to the bottom of the folder.
    This happens after a computer restart or a program restart.
    Does anyone know of a fix for this issue, as it is quite annoying?
    Also note: This does not happen when accessing the same files through Os9 classic, even though the machines are running 10.3.9.
    The network is all new cat 5 cables and this a relatively new Dell Power Connect 3324 switch connected to a very fast Dell Poweredge 2600 server.
    Thanks in advance,
    David

    I'm also running several Macs on a Windows Small Business Server (Windows Server 2003) and the only way I am able to pull up the files was to join each one of my Macs to the Windows Server's network domain. You have to do this through the Directory Utility in the Utilities folder. There is one draw back from what I can tell, and it's something that I need some help with. It seems that once a Mac (running Leopard) is joined to a Windows domain, it takes the log in process forever to finish. Logging into a Leopard Mac alone is pretty quick, but after joining the domain, logging into any of the Macs on the Windows domain takes over a minute. If anyone knows the answer to this one, I'm all ears.

  • Error:The specified network address is currently in use when exe file is run

    I get this error(above) when i run my executable files.My exe file is in directly in c:\codes\application.exe. After this, i also like to know how do i enter the URL in a web browser to access this exe file. I have created and change the labview.ini file to application.ini and put it in the same directory as my exe file already.
    Kindly provide me with a detailed solution to solve this problem. Thanks

    I am not sure what you are doing but I think this is the information you are looking for:
    Can I Make My LabVIEW 7.0 Executable Use Remote Front Panels?
    There are several other simmlar pages on the web. I went to Advanced Search and looked for executable remote front panel .

  • Transferring file over network? what can I use besides ssh?

    What can I use to transfer file over network besides using ssh?
    This is only for experimental purposes. I have used ssh before, by using command like this:
    (time cat /run/shm/test/input/totalInput.tar | ssh username@ip-server "cat > /dev/null") 2>>/run/shm/test/p3_UC_ctime_tar.txt
    or this, if I tried to compress a file and then transfer:
    (time bzip2 -kfc1 /run/shm/test/input/totalInput.tar | ssh username@ip-server "cat > /dev/null") 2>>/run/shm/test/p3_ctime_tar.txt
    However, I think ssh is killing my transfer speed. I am getting only 10-20Mbps.. Router should support over 200-300Mbps.
    What can I use besides ssh? I was thinking about netcat, but what I don't like is that I have to open port on the other side for each new file transfer.

    Well, what I am conserned with things like scp and ssh (I tried scp too) is encryption.
    I just moved one file over to a server with scp, and I got about 2.1MB/s... which is about 16.8 Mbps..
    I am using Linksys E900, which is wireless-N router. Connection exist between two computers only, nothing else is using that router. However, there is another wireless point outside of our room, which is used for public University network. I don't know how much of effect it would have on our set up.
    Both computers have plenty of disk space. One computer (actually development board) uses sd-card for its OS and other disk space.
    About 200-300Mbps.. is just something I saw on router's specs.
    Last edited by kdar (2012-08-19 03:22:28)

  • Connecting 32 bit XP machine across network to HP Laserjet 2200d on Windows 7 64 bit machine

    I am trying to connect a 32bit machine running Windows XP across the network to an HP 2200d Laserjet Series PLC 5 printer installed on a 64 bit machine running Windows 7 - The printer can be seen by the XP machine across the network but when I tried installing printer drivers I kept getting incorrect driver errors. (The HP printer had previously been connected directly. i.e., no network - to the XP machine before I bought the new computer and it worked fine.)
    So I went to HP website and found two links on how to connect a 32 bit XP machine to the HP printer installed on 64 bit Windows 7, by setting up an x86 option on the host Windows 7 machine. These web pages are as follows:
    http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02171232&lang=en&cc=us&taskI...
    and
    http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02030517
    I carefully followed the instruction and downloaded and tried ALL drivers I could fine on the following HP LaserJet 2200 driver download page - but non of them worked  http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=28862&pr...
    I keep getting the error message "The specified location does not contain the driver HP LaserJet Series PCL 5 for the requested processor architecture."  I even downloaded and tried to install the universal printer driver via the Setup.exe file that was downloaded but I received the error: 0x800f0214.
    Any suggestions would be greatly appreciated.
    Thanks,
    Dan

    I am trying to connect a 32bit machine running Windows XP across the network to an HP 2200d Laserjet Series PLC 5 printer installed on a 64 bit machine running Windows 7 - The printer can be seen by the XP machine across the network but when I tried installing printer drivers I kept getting incorrect driver errors. (The HP printer had previously been connected directly. i.e., no network - to the XP machine before I bought the new computer and it worked fine.)
    So I went to HP website and found two links on how to connect a 32 bit XP machine to the HP printer installed on 64 bit Windows 7, by setting up an x86 option on the host Windows 7 machine. These web pages are as follows:
    http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02171232&lang=en&cc=us&taskI...
    and
    http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02030517
    I carefully followed the instruction and downloaded and tried ALL drivers I could fine on the following HP LaserJet 2200 driver download page - but non of them worked  http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=28862&pr...
    I keep getting the error message "The specified location does not contain the driver HP LaserJet Series PCL 5 for the requested processor architecture."  I even downloaded and tried to install the universal printer driver via the Setup.exe file that was downloaded but I received the error: 0x800f0214.
    Any suggestions would be greatly appreciated.
    Thanks,
    Dan

  • Transfering catalog files from PC to Mac

    Do I really need to use an external hard drive for this operation? I am transfering Elements 5 on PC to Elements 10 on Mac.
    Ihave followed instructions on Adobe site and have upgraded to E10 on the PC with the trial version but could not see why it was necessary to use an external hard drive to transfer the E10 catalog from the PC to Mac. However, have tried using shared files across home network and also a memory stick but on both occasions I am told that the file is not a valid catalog file from which `I can restore. Do I really need to buy a external hard drive just to move a file!!?

    Johnyonetwo your question can best be addressed in the Photoshop Elements forum.  I would recommend re-posting your question there.

  • Can not see cFP-2220 after creating an exe file

    I am using a cFP-2220 with LabView 2011. I can see the cFP-2220 with Max, the program I created runs in my PC but the data from the cFP-2220 it is slow to up date.
    I access the cFP-2220 thru the network terminal and a net card in my PC.
    I have created an EXE file to run in the PC for that test stand as a stand along program. The program runs but it does not see the cFP-2220 or any of the data been collected. The test stand PC does have MAX install. When I run MAX in the stand PC it sees the cFP-2220 and can read the data from the modules the PC is wire to the cFP-2220 thru a net card.

    Sorry for the delay to respond... I do have installed the minimun files that are available  Field Piont 6.0.10 and LabView RT 11 is part of them.
    I also using share variables. The program VI runs fine in my PC but when I create the exe file and deploy on the test stand it asks fot the location of the FPLV,dll and the NI_TGT.dll and it can not read or write to any of the DAQmx vi's.
    I accidently remove one my FP-SG-140 from the list of inputs, I did put it back but I damage how the share variables weere working I am getting and error -1950679023 and it does not see any of my inputs.
    I have another question how do I down load the variables to the cFP-2220 that is another erros that shows up when I installed other files into the cFP.

Maybe you are looking for

  • Active Directory accounts no longer connect to Server

    I administrate a small office network. We have a Windows 2000 Server with active directory and a Windows 2003 Storage Server Appliance. (From Iomega) After upgrading to 10.4.8 (it seems), our Mac integrated to the Active Directory has had problems co

  • Validations in control file

    Oracle database 10g I've the data file like this 01,B1,20122507 02,B1,20122507,1,jinglebells,,,, 03,B1,20122507,,,,,1.1,,, 03,B1,20122507, 09,B1,20122507 01 is the header record and 09 is the footer record. 02 is a detail and 03 is the details of 02.

  • Exporting media starts at the cursor not at the beginning of the workspace.

    This is probably just some setting that I seem to have either changed or need too. But what happens is when I export a video, from Premiere CS4, it seems to only export video from where the cursor is located on the timeline and not the space that is

  • I joined apple support communities today and I have 110 e-mails.  How can I turn this off.

    I joined apple support communities today and I have 110 e-mails from the community. How can I stop receiving these email that are not related to my problem?

  • Perl on AIX 5.3 Oracle11

    How do I get the oracle installed perl to work on AIX Oracle11 - 11.1.0 I tried: perl -e "use DBI; \$drh = DBI->install_driver('Oracle');" install_driver(Oracle) failed: Can't load '/oracle/app/oracle/doit/product/11.1.0/oradoit/perl/lib/site_perl/5.