Dolphin and network shares

Hi,
this is buggin me for sometime and now I decided to post this problem, so maybe someone can help. I have mapped through dolphin an ftp server with movies,music etc. I have added to smplayer.desktop this:
X-KDE-Protocols=ftp,http,https,sftp,smb
Without it smplayer would first copy localy the file on ftp server and that playit. This would stream the file and play. The problem is that FTP server uses plain authentication (local users on FTP server) so when I click the file, smplayer opens but nothing happens. In log says:
[12:06:04:084] BaseGui::checkIfUpgraded
[12:06:05:280] MplayerProcess::parseLine: ''
[12:06:05:280] MplayerProcess::parseLine: '[ftp] command 'PASS no@spam' failed: 530 Login incorrect.'
[12:06:05:280] MplayerProcess::parseLine: ''
[12:06:05:280] MplayerProcess::parseLine: 'Failed to open ftp://[email protected]:21/home/john/nameofmovie.avi.' (I have changed this, for security reasons)
With vlc, the behaviour is the same:
Network interaction failed:
Your password was rejected.
Your input can't be opened:
VLC is unable to open the MRL
I see that vlc and smplayer don't see the mapped ftp network share as local map but are trying to stream the files directly from the server and ofkors there is no prompt for password(although the vlc and smplayer do pickup the user somehow).
Over NAS evertyhing works, probably because NAS doesn't use authentication... I have tried also mount with curlftpfs but he performance is poor.
And I have also tried with samba, doesn't work - in dolphin mapped the same network share with samba(i have samba also on server), tried playing the video file or music,and vlc/smplayer doesn't stream. Although the log entry is a little bit diferrent, my bet is that this doesn't work because ftp and samba use authentication...
Does someone know how to fix this behaviour? I could just use NAS, but I have also windows pc in home network which doesn't like NAS and the version is Pro so doesn't have services for unix as an option which includes Nas client. Basically, I would like to just use ftp and stream music and videos from ftp server...
Or dolphin and kde doesn't support this feature, you can just browse and copy/pase/delete files through dolphin and that is it?
Tnx.

Well dolphin uses kde kio fire protocol witch is very limited in that respect, use eighter smb4k or systemd to mount it at given folder and this will work

Similar Messages

  • JTree Explore System Drives,Folders and Network Share

    Hi all,
    I need to list all the drives,folders and Network Share if any using JTree in a combobox similar to windows explorer.Please help me
    Sathya

    this will help you a little:
    File f [] = File.listRoots (): returns all the drives: the local && Remote ones
    to list directories & files you do something similar: File f2 = f[0].listFiles ();
    check on file/fir: f2[0].isDirecoty() or f2[0].isFile()
    Tip:
    You probably were planning on reading all files and directories and then showing them. If you did, DON'T. It will take forever! Just list the roots, if a root is selected list it's directories & files, if a directory is selected list it's subdirectories & files and so. Also try creating a DirectoryListener which is active when the directory's contents is visible and which will relist it's contents when it's contents is changed.
    enjoy, will be fun!
    greetz,
    Stijn

  • How to get "fast user switching" and network shares playing nice

    I've been alternating between banging my head against a wall and reading every forum I could find to try and get a reasonable compromise between using "Fast user switching" and sharing a folder from a file server.  It baffles me how the network share/mount model of OSX/AFP is completely killed by fast-user-switching; this is a big problem with Apple requiring users to be actively logged in to share music/video from iTunes which therefore essentially requires fast-user-switching if anyone else wants to use the computer.  (anyone find it odd that you can share files without being logged in, but sharing songs requires an active login for each user who is sharing?  Apple: time to make iTunes sharing a service!)
    For the sake of example, lets just say I want to share my /Groups folder from my desktop and have it be accessible to my laptop.  Here are all the things that I tried:
    Apple Method 1) Share /Groups in the Server.app on the desktop (running Lion Server), use finder on the laptop and drag the share icon to "Login Items", alternative use a startup Apple script using "mount volume"  Both of the options work and will mount the /Groups folder under /Volumes/Groups, of course when the second person logs in via fast-user-switching (and occasionally the first person for no apparent reason), they will get /Volumes/Groups-1 since /Volumes/Groups is already taken.  Tomorrow we log in a different order and now the previously /Volumes/Groups-1 user has their mount at /Volumes/Group and vice versa.  Any links, aliases, finder sidebar references, and application settings which pointed to yesterday's location are now BROKEN.  Not very user friendly to my mother-in-law who is trying to find those pictures of the kids and doesn't know anything about mount points. I also can't reasonably mirror the file location structure on the desktop so that application preferences that are synced between the two (portable home directories) work.   fail.
    Apple Method 2) Use automounter and set up by hand direct maps for /Groups or an indirect maps for the children of /Groups.  Now it will automatically get mounted to /network/servers/SERVER/Groups/ on the laptop and on the desktop it will automatically create a similar symlink structure so that the same path (/network/servers/SERVER/Groups) work both on desktop and laptop.  Cool.  Except when the second person logs in, the /network/servers/SERVER/Groups/ mountpoint is already owned by the first user and they don't have any permissions to access it.  Fail.
    Apple Method 3) Use mount_afs and specify directly the mount-points.  Have each user have their own startup AppleScript which mounts /Groups to a different location (e.g. /Users/Shared/username/Groups) that way they don't conflict with multiple users.  On the desktop, set up symlinks from /Users/Shared/username/Group to /Groups so that it will be the same as the client and applications settings will work when synchronized back/forth by portable-home-directories.  Will it work, yes it does, but what a bear to maintain.  Is this really what I should expect to do just to have multiple users on my desktop and laptop (which again is essentially required now if I want to do any type of iTunes sharing).  This can't be what apple expects.
    What I ended up doing - the "not quite apple" solution.
    Non-Apple Method 4) After a read of "Autofs: Automatically Mounting Network File Shares in Mac OS X" (http://images.apple.com/business/docs/Autofs.pdf) at the very end there is a single paragraph  of "Kerberized NFS": "A Kerberized NFS mount can have multiple connections from multiple users, each using the correct user’s credentials for each transaction. This allows administrators to support multiple users, each authenticated with their own credentials to the same mount point. This is very different from AFP and SMB mounts," (emphasis mine)
    It appears that by using good 'ole NFS (abeint with Kerberos for security!) you can actually have multiple users on the same mount point.  Roughly following the guidance at https://support.apple.com/kb/TA24986?viewlocale=en_US.  What I needed to do was:
    1) create /etc/exports on my desktop and add a single line "/Groups -sec=krb5".  The existence of /etc/exports triggered a start of nfsd which no longer has any GUI options in Lion.
    2) Add a line to /etc/auto_master on my laptop "/-  auto_mymounts" to reference a new direct map.
    3) Create /etc/auto_mymounts and add a single line "/Groups         SERVER:/Groups" to create the direct map.
    THAT'S IT.  Three lines in three files.
    Now when I log into my laptop, there is a /Groups that is a network mount of my desktop's /Groups, same location AND it works for all of my users, even simultaneously. 
    In the end I'm happy with what I've got, but man was this a difficult path just to support fast-user-switching.  In Lion, Apple appears to be getting away from NFS (no longer turned on by default and remove from the GUI controls) but clearly this really useful functionality which doesn't exist in AFP. 
    I'm really curious, after all this work.  Any other ways to accomplish this?

    In my example above, yes I chose to mount the share "Groups" to the top of the root since that is where I put it on my server and I wanted to keep them similar; but that was just my preference, it isn't a requirement.  You can export and mount from other directories.

  • IPad and Network Shares/Network File Browsing

    I've heard of enabling WebDAV via IIS on a File Server to allow iDevices to connect to a network share within the network, but are there other ways to view file shares within an enterprise network(aside from third party apps, or cloud-based apps such as Dropbox)?

    I think you will need third party stuff.  If you need security and ease of use  go with a Cisco ASA and Anyconnect.  This will give you both internal and external access.

  • Portable Homes / Mobile Homes and Network Shares

    So, i'm now using portable home and its working pretty well.  Gave up on using Profile manager to configure it and using WGM instead. 
    But, I also have a variety of network share points that I'd like to have available on the road, including when I don't have internet.  Right now, I can access them via VPN which works ok, but is there any way to sync share points just like my home folder?
    In my setup, I'd be the only user who has this level of access to the share points---i woudn't set up any other users to be able to sync them. 
    Doable?
    I currently use dropbox, but dropbox really isn't secure enough for my business (healthcare), and I can't really use dropbox to sync network shares
    I've looked at Owncloud, but it looks like the only way that Owncloud will sync network shares is if I give read/write access to those folders to the _www user, and I don't fully appreciate the security implications of that and would like to avoid it.
    Anyone got a better idea for making the contents of several network shares (on an OSX server) synchronize to my laptop (which is bound to the server and has a mobile home) for on and offline use?

    Aren't you going to run into update conflicts when someone back at the office updates files you also update when offline?
    Perhaps a cellular data plan would solve your problem?

  • [SOLVED] LibreOffice and Network Shares via Gigolo

    My work desktop mounts shares in Active Directory using Gigolo. I am able to mount, browse and generally be at peace with the world with this setup with Thunar and Nautilus, and everything else (eg, gedit).
    For some reason, LibreOffice refuses to show any of the network mounts. When I try and save a document, the mounted shares just aren't there. I would expect them to show under "My Documents" in the left of this [img]screenshot[/img].
    Browsing to ~/.gvfs/ doesn't display anything either.
    If I try and open a file from any of the shares by double-clicking them in Thunar/Nautilus then I get the LibreOffice splash screen and then nothing. The main window doesn't open and the process terminates.
    Any ideas folks?
    Last edited by fukawi2 (2013-11-18 22:16:22)

    Well that's embarressing that it was that easy. That makes the whole thing look much better too. I had no idea there was a split of a separate Gnome package, but looking at the wiki it doesn't appear to be mentioned anywhere other than for making everything look nicer. I might fix that up.
    Thanks Awebb   +50 internets for you.

  • Issue with Windows Explorer search function and network shares.

    Hello all,
    I hope all is well, I am having a very odd issue.
    One user when they access a particular network drive, and try to use the explorer search function it prompts the following error 
    Runtime error
    Program:
    This application has requested the runtime to terminate in a unusual way. Please contact application team for support.
    I have checked the event viewer on both the user machine and server hosting the share, not events show up regarding the issue.
    I have tried with the user machine in safe mode with networking, and the issue still occurs
    It of course is not telling which application or program is causing this.
    I have confirmed all windows updates are up to date. 
    I have gone to the windows search in services and swapped the 1 for a 0, that opened up three of the four network drives for search
    the last one is still causing this error.
    User computer is windows 7 professional 64 bit
    server is windows server 2012 64 bit.
    I am at a total loss as to why this is happening on two machines out of ten.
    any help or suggestions would be most appreciated.
    Cheers
    Josh

    Hi Josh,
    What operation did the user act and how to use the explorer search function to cause the issue? Please check if the issue still exists after the user does the same action locally.
    You could refer to the thread below to troubleshoot the issue:
    Windows Explorer crashes continually on Windows 7 with Visual C++ Runtime error
    http://answers.microsoft.com/en-us/windows/forum/windows_7-files/windows-explorer-crashes-continually-on-windows-7/70c333ba-0cd3-4308-96ce-e81931d123e3
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Nautilus NFS shares listed under both Devices and Network

    I have several NFS shares from my home server that I mount using fstab.  I am running a fully up to date installation of Gnome 3.12.  However, as my subject indicates, my NFS shares appear under both Devices and Network in Nautilus.  I've done some searching and not found much about this.  It is redundant and most importantly space wasting to have two lists of the same entries.  Is there a way I can eliminate this duplication?  Thanks.
    Here is what I'm using in fstab to mount the shares:
    nfs noauto,x-systemd.automount,x-systemd.device-timeout=10,rw,rsize=32768,wsize=32768,timeo=14,hard,intr,user 0 0

    I indicated that I was trying to mount several NFS shares off my home server.  I should have mentioned that these are NOT NFSv4 shares.  Originally, I had the mount points inside my home folder.  I've since moved them in the /mnt directory and don't have duplicate entries.  Well, I don't have any entries under either Network or Devices.  I've made links to the directories where the NFS shares are mounted.  I was more curious if this was a bug with Nautilus or my own error as having the mount points in my home directory with other file browsers such as Dolphin in KDE did not yield duplicate entries with the same fstab mount options.
    I guess the long and short of it is that if you are using Nautilus, have your NFS mount points outside your home folder.
    Thanks.

  • Lost airport network share and print access - security update?

    Roughly around the time I installed the last security update to my 10.3.9 iBook I lost Airport 802.11b access to printing services, afp and smb shares.
    I still have internet services (email and web).
    If I connect via fixed ethernet everything works.
    Any suggestions?

    I fixed this, but I can't remember the full details. Sorry! I just wanted to mention there was a fix. I think I somehow tricked the system into forgetting all prior access and I rejoined the network.

  • How Do I find out what app is auto-mounting a network share and stop it?

    I have a new laptop, the 13" rMBP.  I installed Steam and wanted to use the network share on my server to store the game files.  Everything went OK.  I closed Steam, disconnected the share and shutdown my laptop.  When I opened my laptop later on at work, it started to try and mount the network share.It keeps on going it.  I removed the Steam app and all files related to Steam that I could find.  I've looked at fstab, auto_home, auto_master and a large list of other files and directories and I *still* cannot find the offending file that's auto-mounting the share.  It's really frustrating.
    The share auto-mounts when I am home but not on the desktop or in finder.  I find it by looking at /Volumes/ in terminal.  If I mount the share manually under /Volumes/ it shows as Games-1 and mounts on the desktop under Games.
    Does anyone have any ideas on where I should be looking to find the offending process/file/daemon?
    Thank you!
    Trevor

    thanks for the reply but are you sure about this? What difference would it make? Why 5 apps?
    Even if it does work, which I doubt, at some point, I will have to resync ALL my apps again and surely the same thing will happen again, and I will be none the wiser. I still won't know which app it is. There must be a way of finding this out.
    Any ideas?
    What is really freaking me out is how it is connecting to my carrier (who is charging me) with Cellular data switched off.......?
    Thanks again.

  • Is it possible to prevent the OS from dropping and deleting a network share shortcut?

    One thing that has always bugged me about Mac OS is that when a network share becomes unresponsive or unavailable the shortcut on the desktop disappears and you get a glaring messaging that the share has been disconnected.
    Is there any way to prevent a network share from being removed just because it becomes momentarily unavailable?
    As an example, on a Windows machine the network share shortcut remains, you simply cannot use it but it is there and ready to go the moment the share comes back online. Is there some way to make OS X behave in this manner? Or is there a way to extend the time out interval for a network share?
    Thanks.

    Drag the icon into the sidebar of a Finder window under FAVORITES.

  • Problems with VPN and Windows Network Shares

    I'm in the middle of a Windows domain migration and I've setup the two way trust for the domains.
    Cisco VPN clients authenticate against the old domain.
    A user with an account in the new domain and whos laptop is joined to the new domain (also has a user account in the old domain) can connect to the VPN but is asked for Windows authentication when they connect to a network share in either domain.
    Users whos account/laptop are in the old domain don't have this issue.
    Any ideas or suggestions?

    This may happens because broadcasts do not go through an IPSec tunnel.
    Browsing Network Neighborhood is a function of the Microsoft browsing service. Any problems are usually because the PC or master browsers do not function properly. Network Neighborhood is officially not supported. However, it works if configured correctly. Browsing Network Neighborhood works by obtaining the browse list from either a master or backup browser. This list is obtained locally on your LAN by using NetBIOS Broadcasts to locate domain browsers.
    Inorder to resove this :
    Make sure you have NetBIOS over TCP enabled on the adapter that you use to connect to the domain.
    Refer this related links:
    http://www.cisco.com/en/US/products/sw/secursw/ps2308/products_tech_note09186a0080194b4a.shtml

  • Unable to save MS Word and Excel 2010 and 2013 onto the network share

    Hi,
    I have read similar cases, but did not work out on the problems we face.
    We are using Office 2010 and Windows 7 and it seems like only this combination will encounter saving problem on the networe share (but local / removable disks are fine) - 
    Other combinations:
    Windows XP and Office 2010 - no problem
    Windows XP and Office 2003 - no problem
    Windows 7 and Office 2003 - no problem
    In Microsoft Word 2010, when saving a new document, it will save but create a 0KB file in the network share drive and I notice the blue menu bar of the Microsoft Word 2010 still displays "Document1" instead the new file name.
    And only when I click save icon or exit button, Word actually prompts another "Save As" dialog to save the file, and as a result, I have to save the same file and answer MS Word prompt to replace the existing file - and this is the real time that
    the document and its contents really got saved. And the blue menu bar then displays the actual file name.
    In Microsoft Excel 2010 (also Powerpoint I suppose so), in saving a new excel file, after typing in a file name for the new file in the network share location, it will prompt a dialog box indicating the "File is currently in use"
    Similar to MS Word, it will still create a 0KB file in the network share, and only a second time saving and replace the 0KB file, is able to save the file again. 
    I have tried a lot of ways from Safe Mode, Disable Add-in, Added Trusted Locations to the network share in MS Word and Excel, Uninstall Antivirus software, redo NTFS permission on the network share server folder, etc but the problem cannot
    be solved.
    Any help is appreciated. Thank you in advance.
    Kind regards,
    Daryl

    Thank you Max.
    I have tried various storage configurations and share the folders out in Windows Servers and grant user accesses with AD.
    These drives configuration involves iSCSI drives, using NAS drive, using internal SAS RAID drives in Windows 2008 servers, all having the same errors, but the latter one was having the most errors almost every first time the users
    save their files (includes saving from email attachments), the files will get 0KB.
    I have tested LAN cables, switch LAN points in panels and switches, and comes to no avail.
    I have patched with the latest office updates (the latest being Office 2010 SP2) also to no avail.

  • Scipt to prompt and authenticate users to AD and then map 2 next available drive letters to 2 network shares

    Hi,
    So I have been trying to write some code that will
    prompt users to authenticate to AD and use that authentication to map the next 2 available drive letter to two network shares.
    I have adopted using the HAT format as this provides me with the ability to prompt for a username and password and authenitcate to AD.
    <script language="vbscript">
    Function setSize()
    window.resizeTo 350,300
    Window.moveTo (screen.width-240)/2, (screen.height-600)/2
    End Function
    Function cmdSubmit_OnClick()
    Dim strUser 'User Name variable
    Dim strPW 'User Password variable
    if auth.username.value = "" Then
    msgbox ("ERROR: No User account information provided. Please Try Again!")
    cmdSubmit_OnClick = False
    Elseif auth.password.value = "" Then
    msgbox ("ERROR: No User account information provided. Please Try Again!")
    cmdSubmit_OnClick= False
    Else
    strUser = auth.username.value
    strPW = auth.password.value
    Authenticate strUser, strPW
    End If
    End Function
    Public Sub Authenticate (Byref strUser, Byref strPW)
    On Error Resume Next
    Const ADS_SECURE_AUTHENTICATION = &H1
    Const ADS_SERVER_BIND = &H200
    Dim strPath 'LDAP path where the Users accounts are listed
    Dim LDAP 'Directory Service Object reference variable
    Dim strAuth 'Parses the User Name and Password through the DSObject
    strPath = "LDAP://fanzldap.au.fjanz.com/rootDSE"
    Set LDAP = GetObject("LDAP://company/rootDSE")
    Set strAuth = LDAP.OpenDSObject(strPath, strUser, strPW, ADS_SECURE_AUTHENTICATION Or ADS_SERVER_BIND)
    If Err.number <> 0 Then
    intTemp = msgbox(strUser & " could not be authenticated", vbYES)
    if intTemp = vbYes Then
    'window.location.reload()
    End If
    Else
    For Each obj in strAuth
    If obj.Class = "user" Then
    If obj.Get("samAccountName") = strUser Then
    msgbox ("Success! " & strUser & " has been authenticated with Active Directory")
    window.close()
    Set wShell = CreateObject("Wscript.shell")
    wShell.run "Firstletterali.vbs"
    End If
    End If
    Next
    End If
    End Sub
    </script>
    <head>
    <body style="background-color:#B0C4DE">
    <img src=Title.jpg><br>
    <HTA:APPLICATION
    APPLICATIONNAME="User Login"
    BORDER="thin"
    SCROLL="no"
    SINGLEINSTANCE="yes"
    WINDOWSTATE="normal">
    <title>NAS Authentication</title>
    <body onload="vbs:setSize()">
    <div class="style2">
    <h3>NAS Archive Authentication</h3>
    </div>
    <form method="post" id="auth" name="auth">
    <span class="style3"><strong>User Name:&nbsp; </strong></span>
    <input id="Username" name="Username" type="text" style="width: 150px" /><br>
    <span class="style3">
    <strong>Password:&nbsp;&nbsp;&nbsp;&nbsp; </strong></span>
    <input id="password" name="password" type="password" style="width: 150px" /><br><br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="submit" value="Submit" name="cmdSubmit" />
    <input type="button" value="Exit" onclick="self.close()">
    </form>
    </body>
    </html>
    using the above I can succefully authenticate users but I cant work out how to then use that authenticattion to map the next to available drive letters to a network source.
    The code I have for that is
    Option Explicit
    Dim strDriveLetter, strRemotePath, strRemotePath1, strDriveLetter1
    Dim objNetwork, objShell
    Dim CheckDrive, DriveExists, intDrive
    Dim strAlpha, strExtract, intAlpha, intCount
    ' The section sets the variables
    strRemotePath = "\\mel\groups\Team\general"
    strRemotePath1 = "\\mel\groups\Team\specific"
    strDriveLetter = "B:"
    strDriveLetter1 = "H:"
    strAlpha = "BHIJKLMNOPQRSTUVWXYZ"
    intAlpha = 0
    intCount = 0
    err.number= vbEmpty
    ' This sections creates two objects:
    ' objShell and objNetwork and then counts the drives
    Set objShell = CreateObject("WScript.Shell")
    Set objNetwork = CreateObject("WScript.Network")
    Set CheckDrive = objNetwork.EnumNetworkDrives()
    ' This section operates the For ... Next loop
    ' See how it compares the enumerated drive letters
    ' With strDriveLetter
    On Error Resume Next
    DriveExists = False
    ' Sets the Outer loop to check for 24 letters in strAlpha
    For intCount = 1 To 24
    DriveExists = False
    ' CheckDrive compares each Enumerated network drive
    ' with the proposed drive letter held by strDriveLetter
    For intDrive = 0 To CheckDrive.Count - 1 Step 2
    If CheckDrive.Item(intDrive) = strDriveLetter _
    Then DriveExists = True
    Next
    intAlpha = intAlpha + 1
    ' Logic section if strDriveLetter does not = DriveExist
    ' Then go ahead and map the drive
    'Wscript.Echo strDriveLetter & " exists: " & DriveExists
    If DriveExists = False Then objNetwork.MapNetworkDrive _
    strDriveLetter, strRemotePath
    call ShowExplorer ' Extra code to take you to the mapped drive
    ' Appends a colon to drive letter. 1 means number of letters
    strDriveLetter = Mid(strAlpha, intAlpha,1) & ":"
    ' If the DriveExists, then it is necessary to
    ' reset the variable from true --> false for next test loop
    If DriveExists = True Then DriveExists = False
    Next
    WScript.Echo "Out of drive letters. Last letter " & strDriveLetter
    WScript.Quit(1)
    'Sub ShowExplorer()
    'If DriveExists = False Then Wscript.Echo strDriveLetter & " Has been mapped for archiving"
    'If DriveExists = False Then objShell.run _
    '("Explorer" & " " & strDriveLetter & "\" )
    'If DriveExists = False Then WScript.Quit(0)
    'End Sub
    On Error Resume Next
    DriveExists = False
    ' Sets the Outer loop to check for 24 letters in strAlpha
    For intCount = 1 To 24
    DriveExists = False
    ' CheckDrive compares each Enumerated network drive
    ' with the proposed drive letter held by strDriveLetter1
    For intDrive = 0 To CheckDrive.Count - 1 Step 2
    If CheckDrive.Item(intDrive) = strDriveLetter1 _
    Then DriveExists = True
    Next
    intAlpha = intAlpha + 1
    ' Logic section if strDriveLetter1 does not = DriveExist
    ' Then go ahead and map the drive
    'Wscript.Echo strDriveLetter1 & " exists: " & DriveExists
    If DriveExists = False Then objNetwork.MapNetworkDrive _
    strDriveLetter1, strRemotePath1
    call ShowExplorer ' Extra code to take you to the mapped drive
    ' Appends a colon to drive letter. 1 means number of letters
    strDriveLetter1 = Mid(strAlpha, intAlpha,1) & ":"
    ' If the DriveExists, then it is necessary to
    ' reset the variable from true --> false for next test loop
    If DriveExists = True Then DriveExists = False
    Next
    WScript.Echo "Out of drive letters. Last letter " & strDriveLetter1
    WScript.Quit(1)
    Sub ShowExplorer()
    If DriveExists = False Then Wscript.Echo strDriveLetter & " Has been mapped for archiving"
    If DriveExists = False Then objShell.run _
    ("Explorer" & " " & strDriveLetter & "\" )
    If DriveExists = False Then WScript.Quit(0)
    End Sub
    Now the above script will find the next availabe letter and map one location to it...I still havent worked out to create another loop for it to do it again. It obviously also requires that you already be authenticated to map to that location.
    I looking for some help on how to marry these to scripts together.
    Thanks
    Ali

    Hi Ali
    Here is some code that will enumerate two free adjacent drive letters. It starts searching from "C" all the way to "Z" for two drives letters that are adjacent and returns the results in an array then echos the results. You can easily adapt this code to
    map your network drives to each drive letter. Hope that helps
    Cheers Matt :)
    Option Explicit
    Dim objFSO
    On Error Resume Next
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    ProcessScript
    If Err.Number <> 0 Then
    WScript.Quit
    End If
    On Error Goto 0
    'Functions Processing Section
    'Name : ProcessScript -> Primary Function that controls all other script processing.
    'Parameters : None ->
    'Return : None ->
    Function ProcessScript
    Dim driveLetters, driveLetter
    If Not GetFreeDrives(driveLetters) Then
    Exit Function
    End If
    For Each driveLetter In driveLetters
    MsgBox driveLetter, vbInformation
    Next
    End Function
    'Name : GetFreeDrives -> Searches for a pair of free adjacent drive letters.
    'Parameters : adjacentDrives -> Input/Output : variable assigned to an array containing the first two free adjacent drives.
    'Return : GetFreeDrives -> Returns True if Successful otherwise returns False.
    Function GetFreeDrives(adjacentDrives)
    GetFreeDrives = False
    Dim drive, driveLetter, drivesDict, i
    Set drivesDict = NewDictionary
    driveLetter = "C"
    'Add the drives collection into the dictionary.
    For Each drive In objFSO.drives
    drivesDict(drive.DriveLetter) = ""
    Next
    'Check drive letters C: to Z: for two free adjacent drive letters and set the "driveLetter" variable to the first one.
    For i = Asc(driveLetter) To Asc("Z")
    If Not drivesDict.Exists(Chr(i)) And Not drivesDict.Exists(Chr(i + 1)) Then
    driveLetter = Chr(i)
    Exit For
    End If
    Next
    'If two free adjacent drive letters were not found then exit.
    If driveLetter = "" Then
    Exit Function
    End If
    adjacentDrives = Array(driveLetter, Chr(Asc(driveLetter) + 1))
    GetFreeDrives = True
    End Function
    'Name : NewDictionary -> Creates a new dictionary object.
    'Parameters : None ->
    'Return : NewDictionary -> Returns a dictionary object.
    Function NewDictionary
    Dim dict
    Set dict = CreateObject("scripting.Dictionary")
    dict.CompareMode = vbTextCompare
    Set NewDictionary = dict
    End Function

  • FYI: 1 possible solution and cause to Access Denied on opening PDF on network shares with Reader XI

    FYI
    Hi.
    Updated in May to another release of Reader XI.
    Got the problem stated in the titled of this post - with access denied for PDF on network shares.
    Reason:
    Long time error in Adobe Reader with shares and thumbnails causes me to use the thumbnail and preview fix done by a third party. Has worked for years - while Adobe has not seemed to care about fixing this problem ...
    That's the real reason ...having to use an almost out-dated fix now.
    However, if using the thumbnail and preview fix:
    Then its legacy interaction with Adobe Rader is probably the cause of this error - reinstall (reregister) the preview and thumbnail fix - and the problem will go away.
    ... and Adobe Reader XI is back up with protected mode working - on Network shares ... with the thumbnails there.
    Now if anybody is reading this from the Adobe staff ... please add the thumbnail and previews to Adobe Reader?
    May you forgot this did not work on shares ... like forgot "forever" ... and meanwhile users got a third party fix they reinstall everytime from the age of Adobe Reader bloatware creating the FoxIt Reader spinoff.
    Since then Reader has come a long way in tearms of realibility ... however, the missing thumbnail and preview on shares and x64 platform needs to be fixed.
    Then these "cannot" open PDF on Network shares reports may go away ...?

    If you have any bugs to report, this is where to do it: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

Maybe you are looking for

  • Error: Unable to locate an image file browser...

    I get the error below when I insert an image element and try to associate a picture to it by either double clicking it or using the browse button in the Draw palette. I have looked in my install directory and the "FileSystemBrowser.dll" file is prese

  • PR, PO, GR for a consumable material without material master record

    Hi, I have created a complete cylcle till Invoice Verification for a material without a material master record. But i have one query i.e. in the cylce i created i had to create a GR before entering MIRO.  Is there any way by which i need not create a

  • Hour differences with CRM_ORDER_MAINTAIN

    Hi guys, I´m having troubles with some hour differences in some FM, all you know that the et_appointments dates can be set with the CRM_ORDER_MAINTAIN . . . I set the dates/hours ok in the timestamp_from, timestamp_to fields. The problem is that fiel

  • My Library is missing after an upgrade to version 7! I am in DISTRESS!

    OK so I upgraded to the 7th version and when I went to open up my itunes my library is completely empty and I don't have a backup library I don't think. I know the songs are on my computer but they are not all in one folder. Do I just hook up my ipod

  • EDI Seperator Issue for INbound EDI Scenario

    Hi Experts, Am using latest service pack and SP12 and patch 5 it seems. Still am getting same error. Message could not be forwarded to the JCA adapter. Reason: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispa