Scripting file copy to windows server

Hi all,
We need the ability to copy files from the Mac G5's running 10.4.x to a windows based server (2003) across our LAN. Looked at scripting Terminal but it does not seem to support apple script the way I would like - ie copy /file to //server.
The reason we need to do the copy like this is to prevent resource forks and the .ds_store from coping as well, more of a unix copy. These hidden files are really messing up the system we are coping to (SQL DB).
Any suggestions?
Thanks in advance
Bill

I don't know enough about Visual Basic to feel
competant to run a script to do this. I disagree with
the statement that there is "nothing to fix" however.
These dot files litter our Windows server and even
with Blue Harvest running I am constantly having to
use the Server Management Console to close these dot
files so that our real files can be moved, copied, or
deleted because when the server sees these as open it
sees the real file as open even when it isn't.
I had the option of FSM (File Services for Macintosh)
with the server, but we have thousands of files that
would have to revert back to 31 character filenames.
Rather than do that, I chose to stick with the SMB
protocol. It's a right pain getting it to work and
then we have the dot files on top of it. It wouldn't
be an issue with a Mac server, but I don't have one.
So, in my view Apple still has not fixed this.
I'm glad I asked the question though, because I made
the assumption that Tiger fixed this. Since it hasn't
I have yet another reason to stay in Panther.
And what happens with the files that still need resource forks? They're are still a Mac applications out there that make use of metadata. How are you going to selectively decide which metadata to preserve? Have ever had to help a user whose files suddenly turned into "unix executable" files after copying them to a server? You'll quickly realize that there are instances when metadata must be preserved.

Similar Messages

  • Script stops automatically on windows server 2008, IE8 is not launched or it doesn't navigate

    QTP 11.0 - Script stops automatically on windows server 2008, IE8 and works fine on other standalone machines having Windows 7. Pls advise. It is very weird, it suddenly stops launching IE8. Sometimes it launches IE8 but des not navigate from one step to another. I have scheduled it using a vbscript though windows scheduler.  I tired to uninstall QTP, then reinstall, it works fine for first run but stops again.

    To Wendy23,
    Just for clarity, the Windows Server 2008 OS that I ran ROBOCOPY and XCOPY on was the non-R2 version. Microsoft might have fixed this issue in R2.
    You'll probably need to logon as local Administrator or use an account belonging to the local Administrators group.
    Also, open the Command Prompt using "Run as Administrator" (right-click on Command Prompt), then run the XCOPY and ROBOCOPY commands from within this prompt.
    To answer G.Write, the storage is local hard disks.
    Thanks, was a long time ago, I was having a problem with robocopy not copying permissions on a SAN, and was wondering if the SAN was the problem, but your method worked fine for me, thanks.

  • Transfering data from oracle table to a file on a windows server

    Hi
    I have an oracle DB version 11.2 running on oracle enterprize linux 5.9. I would much appreciate an suggestions on how to transfer data from the oracle DB to a flat file on a windows server.
    What i have done so far is to use utl_file to create a csv file on the oracle server and am now attempting to transfer this file. I was going to use scp or rcp but am unable to get this to work(was looking at filezilla). Another option i can use is ftp as i have a unix script which i can run to do this. All this is done through an oracle package which is run hourly through dbms_scheduler. I have been using sp_host_command to run unix commands directly from pl/sql so can use this to run a unix script for last resort if i cant find an easier way to automate this.
    Any suggestions or options would be much appreciated.
    Cheers
    Gary

    Well, using DBMS_SCHEDULER you can run o/s commands so you could use that to do your FTP or whatever to move the file.
    Alternatively, you could write your own FTP package using the built in UTL_TCP package, or you can get hold of one of the freebie packages people have made available to do the same e.g.
    ORACLE-BASE - FTP From PL/SQL in Oracle in Oracle

  • How to install unlimited strength policy files with 2003 windows server

    Hi all,
    I am working on encryption AES 256 bit key encryption.
    128 is default encryption key.But for use 256 bit encryption key need to add unlimited strength policy file with jdk.
    That is working fine on windows xp.
    Now problem
    But when i run on client machine with operating system windows 2003 server standard.
    I replaced all files under folder Java\jdk1.6.0_10\jre\lib\security with files which i am using on windows XP.
    Restarted the computer after update files but on windows server 2003 256 bit key encryption not working.
    Giving following exception
    java.security.InvalidKeyException: Illegal key size or default parameters
         javax.crypto.Cipher.a(DashoA13*..)
         javax.crypto.Cipher.a(DashoA13*..)
         javax.crypto.Cipher.a(DashoA13*..)
         javax.crypto.Cipher.init(DashoA13*..)
         javax.crypto.Cipher.init(DashoA13*..)
    Please suggest me how to run encryption on windows server 2003..
    Thanks
    Anu

    anu1106 wrote:
    I replaced all files under folder Java\jdk1.6.0_10\jre\lib\security with files which i am using on windows XP.Why? Why not just install the unlimited strength files in the normal way according to the installation instructions given in the distribution file?

  • Oracle 11g on Unix server needs to write files (.csv) on Windows server

    Hi,
    Currently we are using Oracle 10g which is installed on a Unix server and on the same server there is a directory under which some files are being exported/downloaded by the db.
    We are having DEDICATED DB INSTANCE on the SHARED server, and not a DEDICATED SERVER.
    Now we need to migrate from Oracle 10g to 11g, but due to some complaince issue, we have been asked to create those directories on some other server. We have identified a Windows server and can create directories.
    Now I request any expert to pls suggest/guide me that how can the db (on Unix server) export/write files on another Windows server?
    I read in a thread that the server (where files should be exported) should be MOUNTED on the server where db is physically installed.
    Pls help me here.....
    Edited by: 950010 on Jul 31, 2012 7:00 AM

    950010 wrote:
    As I wrote in my question that due to compliance issue we have been asked to create the directory (that is currently on the same unix server on which our db is physically installed) in any other server (no matter unix or windows).And if that remote server is not available? Or if network connectivity to the remote server fails? Or if there is severe network congestion between the Oracle server and remote server? What then?
    How is the process on the local server suppose to deal with errors when it attempts to create a CSV file on the remote server? Or deal with network bottlenecks that results in severe performance degradation when trying to create a CSV file? Or if there lacks freespace for creating the CSV file?
    What about security? How is the local Oracle server to authenticate itself with the remote server? How is the remote server to protect that directory share against unauthorised access?
    How is this remote server going to provide access to authorised s/w to these CSV files?
    Who (local or remote processes) is going to manage this directory share and ensure old CSV files are deleted and that there is sufficient freespace for new CSV files?
    There are a LOT of questions that need to be asked... BEFORE deciding on HOW technically to do it. As the technical decision will be based on the functional requirements and how to best meet these.
    Technically - there is Samba, NFS, FTP, SFTP, SCP, RDIST and a number of other methods that can be used. But without asking the above questions and getting proper business answers, selecting a specific technical method is very much premature.
    You are asking the wrong questions, and in the wrong forum. You need to determine the business requirements first.

  • IDOC to File Port on Windows Server from Unix SAP System

    Hi All:
    I want to use an IDOC to create a text file on a Windows server. The SAP system runs on Unix. I have no problem creating the text file on the same Unix server running the SAP instance but I can not figure out how to write the file to a share or UNC path on a Windows server. I tried to create a logical file path using transaction FILE and then create a logical port in WE21. The IDOC failed because it is still looking on the Unix server to write the file. Any ideas from the community would be greatly appreciated.

    Hmmm, there are probably lots of ways to skin this cat.
    To make the process asynchronous you probably want to be along the lines of either updating a table or placing a file on the Windows machine, and then having a database process or Windows program to watch for the file or database table entry and triggering your bat file when it appears.

  • Unable to run script (.bat file) on a windows server

    Hi,
    I have a job definition which execute cmd command (such as cd, echo, etc) through a platform agent installed on a Windows server but when I try to execute scripts (i.e. .bat file) it doesn't work.
    Can someone help, please ?
    Regards.

    Hi,
    The PA is running with the same account executing the .bat file on the server.
    Yes, the bat file can be executed with that user outside of CPS.
    Regards

  • Unable to access files on a Windows Server

    I just setup multiple iMacs (Mid 2012 model, OS X 10.8.5). When these iMacs access a Windows server (via smb) the first few folders/directories take 5-10 seconds to load depending on bandwidth. By the time I get 3-4 folders in, neither myself nor the other users of these computers are able to view files.
    I have no problems viewing any of the files on a Windows PC. I get instant response times.
    I also have users saying certain folders are randomly disapearing. I know they aren't being deleted, and I can see the folders on a Windows computer just fine.
    Can anyone offer any assistance? Thank you in advance.

    Performance Tuning the Network Stack
    SMB server browsing woefully slow
    mac os x slow copy file from Samba Server
    Fix slow network file transfers across Mac OSX Lion

  • Mac OSX file copy to Windows Share folder permissions

    We'd got a few Mac's, one is snow leopard and the other is Lion.  The scenario is:
    Mac:
    Go > Connect to server > smb://servernamehere > Connect > select your share
    The authentication box then pops up, they've been typing in a username and password to connect to Server 2008 (Active Directory here by the way).  I don't think it matters if they type in "DOMAIN\username" and the password or just "username" and the password.
    They try to copy files around but they get this wacky -xx number and their Macs lock up.
    On the Windows Server Side I look at the folder permissions and the users they're using are all golden, full permissions.  I look at a test folder I create and it too looks good.
    The weird thing is this:
    If I look at the folders on Windows it looks normal but if I open the command line on a Mac, do:
    cd /
    cd Volumes
    ls
    cd Folder_I'm_Connected_To
    ls -la | grep testfolder_I_made
    I get these results...
    drwx------ 1 Their_Username_Here  staff  --> Some other stuff here like a folder size, date, time and the folder name
    My question is this I guess.
    Do I have to join these Macs to the Windows domain for the permissions and folder views on the Mac to look right AND to have them funtion properly?  The user of the other Mac says she never types in any authentication stuff, she just clicks a folder shortcut on her Mac ans she's in.
    I would expect the permissions to at least say something like:
    drwxdrwx---
    The Windows server doesn't have the group "staff" which makes it seem the Mac isn't looking at the mounted volume in the same way Windows is.  They also had this problem on AFP and SMB shares directly on a FreeNAS box which is also BSD like a Mac.
    As a result of the Macs behaving similarly on both Windows and BSD (FreeNAS) I think this seems to be some wacky Mac behavior and I just can't figure it out.
    Any help would be appreciated.
    Thanks.

    Hi, same results at the terminal command on a SMB share, observed here with mac computers running with OsX 10.8 with Windows 2008 R2 SMB shares. My issue is that theses computers need to copy files on theses shares with Chronosync or Carbon Copy and this is not working due to an "modify file attributes permissions" error. But if I copy the files using "Finder" it works great.
    You don't need to join your computers to your domain to get it to work. The error that you are talking about is the -5000 error ???

  • Creating a link to a file on a Windows server?

    I am trying to create a link to a file located on a Windows server that I can email to users and they can click on the link and it will open the actual file.
    Here is what I have done so far:
    smb://server/sharedfolder/document.doc
    The user can click on the link but it just opnes up the "sharedfolder" and then you have to find the file you want and then open it and that works.
    I need the link to be able to just open the actual file.
    Is there a way to do this??
    Thanks

    Since it's a file download, there's no reason to add the target="_blank", I'm guessing your file is 404 for some reason which would give you a blank window per the target.
    Make sure the case structure of the file and link are identical. Servers are case sensitive, a server sees CheckIPApp.zip and checkIPApp.zip as totally different files. Your local OS sees them as the same thing so during local testing it will work, when uploaded, it won't.
    Make sure you've loaded the file onto the server at the exact location specified by the link. It should be in a folder called "Zip Files" that resides on the same directory level as the page that the link is on.
    You may also want to normalize your file names. They should be all lower case alpha-numerics without any spaces (use hyphens or underscores instead) and without special characters ($%&*). You can use DW's Files window to change names and DW will fix the links automatically.

  • Physical Path in File Adapter for Windows Server

    Hi There,
    I am trying to read a file from a directory on a windows server and write it to the same server in a different directory.
    In the file adapter I gave the value for physical path as below:
    "\\10.xx.34.xxx\Share\input".
    However I am getting below message in the debug:
    "Value specified for input Physical/Logical Directory is not a directory or is not readable."
    Hence my question is what should be the value in the physical path for windows server.
    Thanks in Advance
    Krishna
    Edited by: user452458 on Jul 19, 2010 11:30 AM

    Thanks for your reply again.
    Actually they are not on the same file system.
    I have successfully used FTP Adapter to connect to a UNIX server.
    However is it possible to use FTP Adapter for Windows Server. If so how should be the corresponding JNDI defined.
    I am getting below error when I use FTP Adapter for Windows Server:
    Unable to send file to server. [Caused by: A remote host refused an attempted connect operation.]
    ; nested exception is:
         ORABPEL-11429
    Error sending file to FTP Server.
    Unable to send file to server. [Caused by: A remote host refused an attempted connect operation.]
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
    Please Advise.
    Thanks
    Krishna

  • Problem Windows 8 logon script not working from windows server 2008 R2

    hi there , this is third post regard this problem, here is my problem goes .....
    Is a very simple logon script for mapping drive purpose .... PLS take note Domain users can access and run this script for domain users using windows XP / WINDOWS VISTA / WINDOSWS 7 and only  users " WINDOWS 8.1 " Does NOT run
    at all . the script I put on logon script in Windows server 2008R2 group policy ... 
    @jrv :- http://social.technet.microsoft.com/profile/jrv/?ws=usercard-mini , insist said is my group policy setup problem so I post here agn...
    Manually run the script on WINDOWS 8.1 is 100 % perfect so it is definitely not my logon script issue , PLS any guidance pls share for me ok ?? thanks
    Below is my script syntax ;-
    @echo off
    REM Login.bat Version 1.0
    REM Exit if user has logged on to the Server
    IF %COMPUTERNAME%.==SL2011. GOTO END
    REM Delete pre-existing drive mappings
    REM
    REM Map M: to SL2011 on sl2011
    NET USE M: /DELETE >nul
    NET USE M: \\SL2011\sl2011 /YES >nul
    REM
    REM Map Y: to AccScan on rss2
    NET USE Y: /DELETE >nul
    NET USE Y: \\rss2\Public\AccScan /YES >nul
    REM

    Hi Tee Ee Foong,
    According to your post, the gpresult showed the GPO was applied and the script could run successfullymanully in the client. Right? Please follow the following step to narrow down
    the issue:
    1. Change the script to the following command: add 
    > %SystemDrive%\Users\test.txt to the script.
    2. Log on to a client with a regular user account, run gpupdate/force, and then re-log on to this client.
    3. Check if the test.txtfile exists in this location %SystemDrive%\Users.
    If the test.txtfile exists, the GPO with logon script is applied successfully when user logs on. But the result of running logon script achieves the goal we excepted or not which
    is still not sure.
    Regards,
    Lany Zhang

  • Files Transfer from Windows Server 2008 R2 on Mac

    Hi,
    How can I transfer files from "Windows Server 2008 R2" on Mac? as now I am using 2 App (Microsoft Remote Desktop & Fast Remote Desktop) which allowed me everything but not transfer files on Mac, so any other recommendation or salutation?
    Thanks

    Hi,
    You need to configure folder redirection.
    Folder redirection enables access local folders during the remote session. Click the + button at the bottom of the dialog and choose a folder you want to have
    redirected.
    Configure Folder Redirection:
    1. Click the + button.
    2. In the Add Local Folder window, enter the following information:

    Name: Set a name for the folder to be available during the remote session.

    Path: Select the path to the folder to be available during the remote session.
    3. Click the close button to save the remote desktop.
    Getting Started with Remote Desktop Client on Mac
    http://technet.microsoft.com/library/dn473012
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • Making .ds files invisible on windows server

    Is there a way to make the .ds files invisible to windows users on a ms windows server?
    Mixed Mac and PC environment - can't get through to PC users that they should not try to open these files!

    Sounds like malware or a OS X glitch that keeps placing the hidden OS X files on Windows volumes
    Remove the user data, delete the account and re-establish it and the data.
    If it's contained in the user account that should clear it, if not, wipe the machine and reinstall OS X from a clone or reinstall by hand.
    There is software that will prevent OS X from placing it's hidden files on Windows volumes, however interaction with OS X is wonky afterwards.
    http://www.zeroonetwenty.com/blueharvest4/

  • Leaving "ghost" files on a Windows server by my MAC

    I am working off a windows network to access my files, etc. MAC leaves tons of "ghost" files (trashes, ghost files of files i've moved or saved) and it's peeving my co-workers off. I am the ONLY one who works on a mac, so the more i work, the more "extra" files my co-workers see on the windows directories.
    Is there ANY way i can prevent MAC from doing this?? Or will they just have to put up with it?
    Please help.. expert advice needed here..
    Darrin

    If your ghost files are "._" files then these are the resource forks of the files with the same names but without the "._". While you can delete them without losing data, Mac OS X will simply put them back as you access the files.
    You may want to try using Windows Server's File Services for Macintosh, which will limit your file names to 31 characters, or you can look into using a better SMB client such as Dave from <http://www.thursby.com>. This SMB client does not create the "._" files. You can download a free trial from their website.
    Hope this helps! bill
    1 GHz Powerbook G4   Mac OS X (10.4.9)  

Maybe you are looking for

  • Power Chord Wire and Warranty

    I have a MacBook, i got it last Christmas in 2006. I have a 2 year warranty on it also. The power chord that came with it, near the magnetic ending on it, has a tear and will not charge the battery off the MacBook. The light also dose not even turn o

  • Path to Executable from Dynamicall​y called VIs

    QUESTION: How can I retrieve the path to an executable that is called from a VI that was created by dynamically loading a VI template? The application is a bit too complicated to post, so I will try to describe... I have a built executable. It dynami

  • Why always necessary to Force Quite Micro Office?

    I realize it doesn't run natively, but then I have several other programs that don't either. Nearly every time I use Word Or Xcell in OS X I have to Force Quite. Any ideas? Thanks. MacBook Pro - week 9   Mac OS X (10.4.6)   Bootcamp installed / NO WH

  • OBI EE Developer

    Does anyone out there know anyone with OBI EE (Siebel Analytics) expertise that is looking for work? I have an open position.

  • Disable "Play"-button to open iTunes

    Hi, I want to disable (or reassign) the "Play"-button on the keyboard (Macbook Pro) and the middle button on the headphones to stop them from opening iTunes. Either by just disabling the buttons from opening iTunes or to reassign them to open Spotify