Server socket FILE SHARING

Hi All,
is it possible to use serverSocket to send an mp3 from my ip to another persons ip. I imagine you need to have a server on your ip for their client to connect to, but can serverSocket even handle rich media like mp3s and .movs?? Cheers

Sure it is possible. Media files are still just files: a sequence of bytes. You'll need to write a client and a server. Google for java socket tutorial to get started.
...or use an existing application. Like email, ftp, scp, ...

Similar Messages

  • Server Admin - File Sharing - Show "invisibles"

    Leopard Server, v10.5.7 - Server Admin, File Sharing: Would like to be able to see system directories (such as /var, /bin, /private) in the Volumes::Browse window. I find it odd that "mach_kernel.ctfsys" =is= visible but other system files and folders are not. Is there any way to increase the verbosity of the Volumes::Browse window?
    Thank you in advance.
    B. Bodger
    Oklahoma City, OK

    Thank you for your reply.
    We were toying with the idea of giving a few admins remote access to /etc/ and/or /dev/ without them having to access via ssh. Not a very big deal.
    B. Bodger

  • Server FTP File Sharing

    How do I activate the VPN, FTP, and File Sharing on my server? Also, is there a way to access my server from another machine without using my IP address without port forwarding and/or registering an internet host name? Also, I have another post on how to use VPN on server, found here: https://discussions.apple.com/message/22026213#22026213
    Please answer to both of these posts, I really want to make this server thing work.

    Do you know how to connect to my server without knowing the IP of the host and without registering for a internet domain name or port forwarding?
    This is absolutely not possible.  To connect to a remote server, somebody somewhere has to enter the identity of the target server among the billions of net-connected devices. 
    Now can that information be loaded into a client device, and can an end-user avoid having to know about these and other details of networking?  Sure.  What's variously called "provisioning" is a common approach used here. 
    There are other approaches available which can be useful on different and often on smaller networks, such as what Apple calls Bonjour; variously known as multicast DNS services and service discovery.
    There are other potential solutions.
    Also, does anyone know how to specially protect a folder in File Sharing?
    Sure.  Usually with what's called a file mode or protection mask, or via access control lists. 
    Whether the protections are effective depends greatly on who you're protecting against, and how the files are being shared.
    My server at school only allows certain users to access certain folders, but when I connect to my server I have the same username so I don't need to enter any kind of log in.
    Why not ask the folks that run the server for information?  You are affiliated with a school, and the purpose of such institutions is to learn, after all.  Ask some questions of the folks that are running the configuration you're familiar with.
    If it's a typical educational configuration, there'll be a "directory" — Microsoft Active Directory is common, though there are others — containing information mapping your identity to what you're authorized to access or do, as well as a variety of other information such as your identity and your email address and which mail server you're using for accessing your mail. 
    Can you password protect the folder?
    Directly?  Not really.  Details here depend greatly on the operating system and file system involved, and on how the files are being served, and how the files will be accessed.   File-level encryption can be used, and web servers can protect folders, and various operating systems including OS X support what are called encrypted disk images.  Web content management systems can also provide access controls, too.
    Rather than continuing this blizzard of questions, please consider providing us with some background on the problem you're looking to solve here, and some of the general requirements.  There can be many potential solutions, and even more wrong solutions.  With some idea of what you're looking to do, we might be able to give you something more specific to look into.
    As for learning more about OS X and OS X Server and server networking — all of which can provide some background and can introduce a number of these general topic areas — see the OS X Server documentation, and — for yet more detailed information — see the 10.6 server documentation that's linked from there.  The older 10.6 OS X Server documentation was much more detailed.

  • Server Admin. file sharing lion client to Snow leopard server

    I'm running Lion on my client Mac and my Server is Snow leopard 10.6.8.  I have to use Server Admin 10.7 on Lion but there is no "File Sharing" tab to set up or edit the file sharing options on my 10.6 server?.  I understand this is correct for Lion Server, but how do I get round it for Snow leopard Server??  On the Apple website compatibility page (http://support.apple.com/kb/HT1822) it states:
    "Mac OS X Server v10.6
    To administer a Mac OS X Server v10.6-based server, you can use the Server Admin Tools 10.6 on a Mac OS X v10.6 (client) computer. You should match the version numbers of the server, tools, and admin workstation as closely as possible; for example, use Server Admin Tools version 10.6.8 on Mac OS X v10.6.8 to administer Mac OS X Server v10.6.8. You may also use the Server Admin Tools 10.7 on an OS X Lion computer to administer Mac OS X Server v10.6."
    So, How do I administer file sharing???

    To configure File Sharing on a 10.6 server using 10.7 Server Admin, click the service (AFP, SMB, NFS, etc.) then click the Share Points tab.

  • Is it faster to download files from a remote server or file sharing with Back To My Mac?

    I am trying to send somebody a 6GB file using Back To My Mac. I had them set up my Apple ID in iCloud in System Preferences on their Mac and check the box for Back to My Mac. Went into Sharing preferences to check the boxes for File Sharing and Screen Sharing.
    From my Mac I then went to that shared computer in the Finder, copied over my file but it's showing that it will take 27hrs to transfer.
    Is this normal? And if so would setting up a server for remote access be better for transferring such large files?
    Any other mind blowing ideas would be most welcome for remote large file tranfer.
    Jazz
    Message was edited by: ShadowRa
    Message was edited by: ShadowRa

    Download history usually will have the link back to the original source location. Assuming that still exists, it's worth a try. When you right-click (Ctrl+click) an item, the small context menu should let you copy the URL of the original source, which you then can paste into the address bar to fetch it again. If the original download required you to be logged in to the source site, you should log in again first to increase your odds of getting the download.

  • OS X Mavericks have a problem !! can't to connect Windows Server 2012 File Shared

    Hi everyone
      My cliente OS X Mavericks  can't to connect Windows 2012 File Shared . but OS X Lion 10.7.x don't have any problem.
    How I resolve this Problem ? please let me know . thank you
    Saksit
    Message was edited by: Buk_Hum_Noi

    Hi everyone
      My cliente OS X Mavericks  can't to connect Windows 2012 File Shared . but OS X Lion 10.7.x don't have any problem.
    How I resolve this Problem ? please let me know . thank you
    Saksit
    Message was edited by: Buk_Hum_Noi

  • Home server access & file sharing

    Hey All,
    I am running a NAS called OpenMediaVault http://www.openmediavault.org/ on a PC at home which has a harddrive connected and this is where I store all my client files, fonts, photos, etc (I'm a Graphic Designer). My work computer is a Macbook Pro with Lion (not Lion Server). Basically I connect to my NAS in the Finder that shows up under "Shared" devices in the Sidebar and I retrieve and store files to/from my NAS like it was a HDD connected to my MBP.
    What I would like to do is be able to access my current files, while being able to add new files to my home NAS from anywhere that has an internet connection. I am the 'admin' of my server so i have access to the IP (static) and port number, username/password etc. Any NAS configuration is all done through a webGUI. I just don't know how, or if I need any software to set it up to be able to do this.
    I'm not looking to screen share because I only have one Mac. I want the work flow to be the same like it is at home = Open Finder > Click on my NAS server in the Sidebar > Login as neccessary > Get see files.
    Thanks to whomever helps with any solution as I am a total noob at this stuff .

    The problem you face is that the NAS is the "wrong" side of your router and the security (NAT) of the router means that you can't "see" inside your network from outside. You'll need to set up port forwarding on your router so that external requests get to your NAS.
    If you search here you should get some advice but it will depend on your exact router model. Also OpenMediaVault forums may have some advice.
    A much messier solution may be to remotly connect to a computer thats inside your filerwall and run it from there but that's probably too much of a pain and not what you want!
    Regards,
    Shawn

  • Home server for file sharing without SSL certificates?

    Hi,
    I am wanting to use this server to set up a home network...
    Mainly I just want to share document, video and music files from my iMac with multiple iOS devices and PCs in the house.
    Can I use this server to set up such a network without purchasing SSL certificates and such?
    Thank you for your help!
    Tiffany

    Sharing with iOS devices without SSL is - if I recall correctly - problematic, but you can have an SSL certificate without purchasing. Just open Keychain Access, click the Keychain Access menu item in the top of the screen and choose one of the options in the Certificate Assistant drop down menu.

  • File sharing in the File server preference pane

    System preferences to File Server to File sharing. When I choose a share point folder and want to change permissions, I click the radio button to restrict access to certain users and save. When I re-enter the the folder it defaults back to let everybody have access. If I try to delete the folder it won't delete. When I create a new folder by re-choosing the folder, I get <folder Name>1 and then I cannot delete it. Is there a plist in preferences I can delete to clear this problem?

    Hello Peter,
    Thanks for your answer.
    There must be something wrong in the different steps I follow.
    Firts I set Time machine on the server for each user, shoosing the Volume "SmartStor" (a network volume attached on the Mac Mini server) it creates a "Shared items" folder with a "Backups" folder in.
    In Server Admin tools I can see in the AFP services the share point /Backups
    In Workgroup Manager I set the Time Machine's preferences for the different computers and computers' group with the path afp://myserver.local/Backups/
    At least on my client's computer I can shoose the volume "Backups" "on my server".
    And it doesn't work... even with all the logins and password, User's, Dir Admin and Server Admin.
    With User's and Dir Admin it runs quickly and tells "the volume is not reachable on account of wrong user's name or password"
    With Server Admin login and password it runs indefinitly, nothing occurs ...
    Is there something to do in terminal ?
    Well I tried to find explanations on the web but I found nothing for the moment... The informations are to set a network volume in Terminal in place of the default one...
    'Hope to find soon, I can't stand that something runs for every one but not with me...

  • Remote File Sharing via SSH-How to Set This Up the Easy Way

    So, I have been trying to gain access to my office iMac from my MacbookPro at home via the "interwebs" but keep getting the same issue...can not connect. I have read umpteen forums and threads. All give similar advice or are too technical to follow. I thought we made it work yesterday by installing Macfusion. That works just fine if the Mac is on. It will not wake a sleeping Mac. Here is my settup.
    Home (MBP running 10.6)
    Network (Timecapsule)
    Office (27in iMac running 10.6).
    I do have a static IP for the router.
    Here is what I want to do. Access my "sleeping" iMac from a different network via Connect Server for File Sharing. I have all the appropriate file sharing buttons checked. I can access TC using the static IP but that's as far as it goes.
    Is there a simple "Mac way" of doing this?
    Sincerely,
    Jim.
    Ps. I am happy to invest in a trusted third-party software that will "ping" the network to wake my Mac unlike Macfusion which connects only to a running Mac.

    Also check in System Preferences -> Energy Saver -> Wake for network access is ticked

  • Best Practice For Secure File Sharing?

    I'm a newbie to both OX X Server and File Sharing protocols, so please excuse my ignorance...
    My client would like to share folders in the most secure way possible; I was considering that what might be the best way would be for them to VPN into the server and then view the files through the VPN tunnel; my only issue with this is that I have no idea how to open up File Sharing to ONLY allow users who are connecting from the VPN (i.e. from inside of the internal network)... I don't see any options in Server Admin to restrict users in that way....
    I'm not afraid of the command line, FYI, I just don't know if this is:
    1. Possible!
    And 2. The best way to ensure secure AND encrypted file sharing via the server...
    Thanks for any suggestions!

    my only issue with this is that I have no idea how to open up File Sharing to ONLY allow users who are connecting from the VPN
    Simple - don't expose your server to the outside world.
    As long as you're running on a NAT network behind some firewall or router that's filtering traffic, no external traffic can get to your server unless you setup port forwarding - this is the method used to run, say, a public web server where you tell the router/firewall to allow incoming traffic on port 80 to get to your server.
    If you don't setup any port forwarding, no external traffic can get in.
    There are additional steps you can take - such as running the software firewall built into Mac OS X to tell it to only accept network connections from the local network, but that's not necessary in most cases.
    And 2. The best way to ensure secure AND encrypted file sharing via the server...
    VPN should take care of most of your concerns - at least as far as the file server is concerned. I'd be more worried about what happens to the files once they leave the network - for example have you ensured that the remote user's local system is sufficiently secured so that no one can get the documents off his machine once they're downloaded?

  • File Sharing - notifying secondary users that a file is already in use

    We are using a Lion server for file sharing. How can we set it up such that if one user has a file open, a secondary user opening the same file will be notified that the file is already in use (making it read-only)? We had multiple users opening the same file concurrently and making changes to it. Not a good scene and kind of flies in the face of using a file sharing system.
    I am not the server administrator, but trying to guide the person who is. Thanks for your help.

    Axehandler wrote:
    Is there a way to find out which program/service might be opening these files?
    Yes, use handle or process explorer from sysinternals. (see also).
    How is your labVIEW program structured? Could it be that your LabVIEW program itself holds on to the file from e.g. a previous file IO operation? Make sure references don't become invalid (e.g. via a "use default if unwired output tunnel) which would prevent the file from getting closed properly for example. Your program should open the file once at the start of the program and keep it open for the duration of the run. This way you should not have any intermittent problems accessing it.
    LabVIEW Champion . Do more with less code and in less time .

  • Best Practises for File Sharing and Print Server on Windows Server 2012

    Is it better to have File Sharing and Print Server installed on the same Windows 2012 Server ?
    Or, they should be installed on 2 different Windows Servers ?
    Hussien Sherief

    It will work just fine to combine them.
    But most people would recommend keeping functionality separate... if the budget allows.  That whole "single point of failure" concept.  If that server dies, you've lost both of those functions.

  • How can I allow network users to use File Sharing on 10.8 Server?

    I am in the process of setting up a new OS X 10.8 Server. I have exported/imported the network users from my previous OS X 10.6.8 Server using Workspace Manager. I have re-entered the passwords of the users. I have existing clients running (stil logged in).
    I have set up the File Sharing service in Server.app. I have several mount points. I have made the Users mount point available for home directories over AFP.
    Now, the system administrator can connect to the server and get access to the file shares. So the basic file sharing system works.
    Also: the users on a client can get there password verified (e.g. when unlocking screen protection) by the server. It is just AFP they can't get access to, while the system administrator account (OD /Local on the server) can be used. So, the password in the server is OK too. It seems to be a matter of privileges.
    But no network user (OD user in directory /LDAPv3/127.0.0.1 on the server) can get access. Where can I give network users privileges for File Sharing on the server?
    I did try to add either the "Open Directory Users" group or a specific user that was imported into com.apple.access_afp. If I do that, there is partial success. I can connect to the server from the client with a user account other than system administrator from the server (but connecting is slow). But Mobile Home Sync does not work:
    1:: [13/04/05 16:11:10.379] Scheduling next sync of "HomeSync_Mirror" at 2013-04-05 14:11:20 +0000
    1:: [13/04/05 16:11:20.782] ==========================================================
    0:: [13/04/05 16:11:20.782] Starting automatic sync of "HomeSync_Mirror".
    1:: [13/04/05 16:11:20.786] Peer "network" reports changes since last sync.
    1:: [13/04/05 16:11:20.786] [0x7fd5a9224760/<SStore_FS:0x105db3420>] +[SStore_FS newStore_FSForPeer:alias:]: isRemote = NO
    1:: [13/04/05 16:11:20.786] [0x7fd5a9224760/<SStore_FS:0x105db3420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: peer = <SPeer_FS:0x7fd5a5009520> = local, optionalStoreID = (null), peer.storeIDString = *
    1:: [13/04/05 16:11:20.786] [0x7fd5a9224760/<SStore_FS:0x105db3420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: rootPath        = /Users/gerben
    1:: [13/04/05 16:11:20.786] [0x7fd5a9224760/<SStore_FS:0x105db3420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: storePath       = /Users/gerben/.FileSync/store.filesyncstatetree
    1:: [13/04/05 16:11:20.787] [0x7fd5a9224760/<SStore_FS:0x105db3420>] +[SStore_FS newStore_FSForPeer:rootPath:rootAlias:rootRef:storePath:optionalStoreID:]: rootAlias       = {path='/Users/gerben', targetName='gerben', volumeName='Macintosh HD', type=DIR, volumeCreateDate=2010-08-10-12:58:16, targetCreateDate=2011-08-28-18:39:13, parentDirID=37638, nodeID=3003598, filesystemID=0000 ('0000'), signature=0x482b ('H+'), isBootVolume=YES, isAutomounted=NO, isEjectable=NO, hasPersistentFileIDs=YES, mounted=YES, url='file://localhost/'}
    0:: [13/04/05 16:11:20.789] -[SPeer_FS _mountServerCallbackShares:status:]: received error 64
    0:: [13/04/05 16:11:20.790] EXCEPTION: _mountServerCallbackShares:status: (Host is down) <-[SPeer_FS mountPeerVolumeWithURLString:] (Peer-FS.m:446): "'(-1)' error 64">
    0:: [13/04/05 16:11:20.790] USERINFO: {
    0:: [13/04/05 16:11:20.790]     NSLocalizedDescription = "Host is down";
    0:: [13/04/05 16:11:20.790] }
    0:: [13/04/05 16:11:20.790] BACKTRACE: {
    0:: [13/04/05 16:11:20.790] ? | 0x105cb79b7  
    0:: [13/04/05 16:11:20.790] ? | 0x105cbf0e5  
    0:: [13/04/05 16:11:20.790] ? | 0x105c2c866  
    0:: [13/04/05 16:11:20.790] ? | 0x105c2babd  
    0:: [13/04/05 16:11:20.790] ? | 0x105c2acb4  
    0:: [13/04/05 16:11:20.790] ? | 0x7fff858bb72a
    0:: [13/04/05 16:11:20.790] ? | 0x7fff858bb6a2
    0:: [13/04/05 16:11:20.790] ? | 0x7fff874cf8bf
    0:: [13/04/05 16:11:20.790] ? | 0x7fff874d2b75
    0:: [13/04/05 16:11:20.790] }
    1:: [13/04/05 16:11:20.790] Peer "network" is unable to sync. (-[SPeer_FS mountPeerVolumeWithURLString:] (Peer-FS.m:446): "'(-1)' error 64")
    0:: [13/04/05 16:11:20.790] Peer "network" is unable to sync. Not enough peers will be available to continue syncing.
    0:: [13/04/05 16:11:20.790] Aborting sync of "HomeSync_Mirror".
    1:: [13/04/05 16:11:20.790] -[SPeer abortSync] "local"
    1:: [13/04/05 16:11:20.797] -[SStore_FS setupWithAlias:andRef:] (Store-FS.m:447): unlink('/Users/gerben/.FileSync/.fstemp.QW1Gh-bhvgEhVwmG3.noindex')
    0:: [13/04/05 16:11:20.798] EXCEPTION: !IF <-[SPeer(protected) doPrepareForSyncWithResolvedConflicts:] (Peer.m:1149): "'(([self checkAbort]))'">
    0:: [13/04/05 16:11:20.798] BACKTRACE: {
    0:: [13/04/05 16:11:20.798] ? | 0x105c2bb66  
    0:: [13/04/05 16:11:20.798] ? | 0x105c2acb4  
    0:: [13/04/05 16:11:20.798] ? | 0x7fff858bb72a
    0:: [13/04/05 16:11:20.798] ? | 0x7fff858bb6a2
    0:: [13/04/05 16:11:20.798] ? | 0x7fff874cf8bf
    0:: [13/04/05 16:11:20.798] ? | 0x7fff874d2b75
    0:: [13/04/05 16:11:20.798] }
    1:: [13/04/05 16:11:20.798] -[SStore_FS deleteStateTreeTurdFile] (Store-FS.m:476): unlink('/Users/gerben/.FileSync/store.filesyncstatetree.statetree_dirty')
    1:: [13/04/05 16:11:20.798] Peer "local" is unable to sync. (-[SPeer(protected) doPrepareForSyncWithResolvedConflicts:] (Peer.m:1149): "'(([self checkAbort]))'")
    0:: [13/04/05 16:11:20.798] Peer "local" is unable to sync. Not enough peers will be available to continue syncing.
    1:: [13/04/05 16:11:20.798] EXCEPTION: SFAbortedException <-[SSyncEngine _waitForPeers:] (SyncEngine.m:1922): "'(_abort)'">
    1:: [13/04/05 16:11:20.798] -[SSyncEngine threadMain_SyncEngine_sync:]: sync failed with exception "-[SSyncEngine _waitForPeers:] (SyncEngine.m:1922): "'(_abort)'"".
    0:: [13/04/05 16:11:21.066] Sync of "HomeSync_Mirror" encountered errors. (_mountServerCallbackShares:status: (Host is down))
    0:: [13/04/05 16:11:21.067] Last successful sync completed at 2013-04-04 20:17:15 +0000.
    0:: [13/04/05 16:11:21.067] Finished sync of "HomeSync_Mirror".
    1:: [13/04/05 16:11:21.067] Scheduling next sync of "HomeSync_Mirror" at 2013-04-05 14:31:21 +0000
    1:: [13/04/05 16:11:21.284] 1-pass sync of "HomeSync_Mirror" took 0.02 seconds

    Hi Gerben,
    Try creating a brand new user, that's not imported and see if that works. Every user/group has a little gear in the Server.app/Users or Groups which allows specific access to specific services, perhaps filesharing is off in that section?
    Is your DNS setup properly? Can you verify that clients can see the FQDN of your server?
    After setting up the Users folder for mobilehomes, did you check whether the group and the separate users have access to filesharing? I am able to select the correct homefolder /Users and restrict the homefolder size.
    Goodluck!
    Jeffrey

  • How do I set up file sharing in Lion Server to work like file sharing in Lion Client?

    I've just installed Lion Server on my home iMac to enable remote access via VPN to my home network.
    When the iMac was running Lion Client (before the upgrade to server), and when File Sharing was enabled on the iMac; when other Macs on the LAN connected to the iMac via AFP, they were always able to connect to (share) any mounted external volumes (external USB or FireWire drives connected to the iMac). e.g.
    Now that I've upgraded to Lion Server, when other Macs on the LAN connected to the iMac via AFP they are only able to connect to (share) the sharepoints listed in the File Sharing pane of Server.app. e.g.
    Is there any way to set up File Sharing in Lion Server so that it works the same way as it does in Lion Client with respect to mounted external volumes? i.e. they are automatically shared? I know I can add each volume manually to File Sharing in Server.app but this gets tedious.
    Many thanks!

    I normally have a Firewall enabled. I recently had to do an erase and install of Lion, followed by a one-by-one re-install of all of my software. One of the first things I did was to set up all of my System Preferences the way I like them; Turning the Firewall on was one of them. Later I noticed it was off and turned it on again. I had already set up sharing and was surprised to see the problem when I turned it back on.
    As to why do I think it needs to be on. It is another part of my security layer.

Maybe you are looking for

  • How do I Block Back to My Mac on my router?

    I would like to block Back To My Mac (BTMM) on my network without impacting other network traffic. Would simply blocking UDP port 4500 work?

  • When will the 5th generation iPod Touch be available

    When will iPod touch 5g be shipping or availalbe in stores?

  • Combining 2 Shipments into 1 Shipment

    Hello, I'm attempting to create the following functionality: -  1 shipment with 5 deliveries (Shipment 1) -  1 shipment with 5 deliveries (Shipment 2) -  1 mass shipment including above 2 shipments (Shipment 3, which is Shipment 1 + Shipment 2) Is th

  • Optimizing PDFs results in loss of embedded numbers

    Hello, My organization is attempting to publish a document on the web that was built in InDesign CS3. The problem we are having is that when we optimize the PDF in Acrobat Professional, the document has vertical boxes with x's in them (x-boxes?) wher

  • Steps in Fore Cast Based MRP-reg

    Hi, we would like to implement forecast based MRP for spare parts which we supply against sales order from dealers request you to provide us step by step working with forecast based MRP 1. what are the inputs for forecast based MRP 2. Process of fore