Using CopyIntoItems from Copy.asmx from a remote soap client

Hello,
I have been working on a soap client that runs on a remote client (not on the SharePoint server) and is platform-independent so that it cannot use the SP Object Model. I have managed to get most of the functionality working using SharePoint web-services except for CopyIntoItems.
My target server is a SharePoint 2007 server and I have a Document Library set up so I can upload files into it.
My soap request looks as follows.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body>
<CopyIntoItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<SourceUrl>http://null</SourceUrl>
<DestinationUrls>
<string>http://shpt.ad2010.local:35492/sites/targetsubsite/Test List/hello.txt</string>
</DestinationUrls>
<Fields>
<FieldInformation Type="Text" DisplayName="Test Column2" InternalName="Test_x0020_Column20" Id="{8c35c0ca-d578-47fd-b7f3-aed199141c86}" Value="Value 0" />
<FieldInformation Type="Text" DisplayName="Test Column3" InternalName="Test_x0020_Column30" Id="{6c0d3fe3-4f0d-4cff-997b-201747f83315}" Value="Value 1" />
</Fields>
<Stream>WW91IHNheSBoZWxsbywgSSBzYXkgZ29vZGJ5ZQ==
</Stream>
</CopyIntoItems>
</soap:Body>
</soap:Envelope>
The URL I am invoking this on is: http://shpt.ad2010.local:35492/sites/targetsubsite/_vti_bin/Copy.asmx
The response I get back is as follows:
<?xml version="1.0" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<CopyIntoItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<CopyIntoItemsResult>
0
</CopyIntoItemsResult>
<Results>
<CopyResult DestinationUrl="http://shpt.ad2010.local:35492/sites/targetsubsite/Test List/hello.txt" ErrorCode="DestinationInvalid" ErrorMessage="The Copy web service method must be called on the same domain that contains the destination url."/>
</Results>
</CopyIntoItemsResponse>
</soap:Body>
</soap:Envelope>
I am unable to find any help on the error mentioned here. I have tried setting the source URL to something valid (I have to make it up because there really is no source URL as I copy from the remote client).
I wonder if I can even use the CopyIntoItems request (or the Copy web-service as a whole) from a remote soap client, and whether it was only meant to be used for copies between SharePoint Sites. Any clues are much appreciated.

I am trying to use the copy.asmx service to upload a file from a custom sharepoint form into a document library, and I can only use javascript with jquery. (no visual studio)
I have a similar soap envelope.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body>
<CopyIntoItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<SourceUrl>C://dir/file.txt</SourceUrl>
<DestinationUrls>
<string>http://[server]/sites/subsite/Demo List/sample.txt</string>
</DestinationUrls>
<Fields>
<FieldInformation Type="Text" DisplayName="Title" InternalName="Title" Id="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Value="Test Value" />
</Fields>
<Stream>base64Binary</Stream>
</CopyIntoItems>
</soap:Body>
</soap:Envelope>
I'm getting a 500 "internal server error" back.
Can anyone see what I'm doing wrong ?
Kris Blair

Similar Messages

  • Using scp to copy files from remote server to mac from a newbie

    Hi am a new poster to this forum and getting (re)acquainted with the unix world using terminal on the Mac. I am part of webteam for a large website run by a nonprofit where I have administrative access. I hope that this forum is the correct venue for my question.
    The other day I used terminal tsch to logg onto a remote server where I have admin privaleges. One of the other admins and I were in the process of experimenting with using either rsync or scp to "backup" the server. We are experimenting with different backup strategies over and above those supplied by our web host. After finding out how to open port 22 on my modem and setting services in sharing to allow for remote log on, I logged on to the remote server and ran this command (suggested by another admin):
    scp -r -p -v /remotefolder [email protected]:/Users/drktyler/Documents/serverBU/
    Unfortunately I had severely underestimated the amount of time it would take to perform scp and needed to terminate the scp job. For example, I only got 100 MB onto my Mac in one hour (normally takes about 6 mintues to download a 100 MB file from the internet) I tried to kill the job by doing:
    ctrl -z
    ls ps
    kill (scp pid #)
    This did not work. And I forgot about trying ctrl-c <blush>
    I was able to exit my session on the remote server which "exited" the scp job.
    Oh, before running scp, I did try rsync and it did not work. Unfortunately, I had not set my terminal session to an unlimited buffer size, so the early part of my session rolled off the terminal screen. This means I have no idea what the error was.
    This morning the other admin was performing some backups on the remote server and noticed that there was a an unexplained directory on the remote server named:
    mymacuserid
    It had what he called some rpms. I am not exactly sure what a rpms cache files are, but I think that rpms has some relatationship to the RPM package manager used by many linux systems. I could not account for how the mymacuserid directory got on the remote server because I did not put it there and my log in id to the remote server bears no resemblance to my Mac user id.
    We don't believe that this directory did any harm to the remote server, but I sure as heck would like to know how it got there.
    My question is if there was something about my scp command that
    (1) created this "temporary" mymacuserid directory on the remote server
    (2) did the way I ended the scp job by exiting the terminal mean that this temporary directory was not "cleaned up."?
    (3) what other options might have been available to me to kill the job and clean up after the job? ctrl-c while logged onto the remote server? opening up a second terminal window and killing the ssh job?
    (4) is scp normally that slow?
    My Mac: Mac Mini, 1.66 GHz Intel Core Duo, Memory: 1.5 GB 667 MHz DDR2 SDRAM, Mac OS 10.4.8
    Remote server: CPU AuthenticAMD, AMD Athlon(TM) XP 2600+
    Version psa v8.1.1_build81070716.12 os_CentOS 4.2
    OS Linux 2.6.9-55.0.2.EL {CentOS is built from Red Hat Enterprise Linux}
    Respectfully yours,
    treehugger from nj

    J.V. Thanks so much for your very helpful response!
    The other admin who was trying scp over the weekend also reported that the job ran very slowly, so I suspect the slow response time may be on the remote server end. I do appreciate knowing that you have gotten 80% of your advertised DSL speed with scp.
    Thank-you for being so polite and gentle in your response. No I did not know that if the remote patname has white space in it, that I need to quote the whole path and escape any white space with preceding backslashes as you showed in your rsync example.
    Finally, as for the rogue elements being left on the server, I figured out that these rogue elements were left on the server the day before I did the aborted scp job because I had to quit the terminal in the middle of an active rsync job while logged onto the remote terminal. When I went onto the server this morning, I checked the timestamps on the rogue files and the timestamps match up.
    The other admin has finally succeeded in doing a full server back-up (in addition to the back-up using the back-up utility provided by our web host). So, for the moment we are in pretty good shape. Of course, I'm not sure that I could replicate what he did. <shrug>
    Thanks again. I'm glad I posted on this forum as I have always learned a lot by reading the apple forums I suspect that I will be posting again.
    T.H.
    P.S. Please forgive me for not including copies of your original message in my reply. There is probably a setting that I need to change.

  • How can I use JAVA to copya file from a location to another location?

    Hello all,
    I am planning to design a web page (let say an HTML has a form that post fields to a jsp page) that allow me to select a file and then copy it to another location like what we see in email attachement.
    Is the any related java class that i can use for this matter or ready JavaBean?
    Thanks in advance
    Yahya

    jspSmartUpload
    look for package named com.jspsmart.upload.
    Very easy to use to pull a file from a person's pc up to where the form is posted to. You will need to setup your form to type to be multi-part form. Use an input type of file to generate the file browse button.

  • How do I keep iTunes from copying songs from iCloud to playlist?

    Why is iTunes copying songs from iCloud to playlist when I already have the songs on my computer? This is obvously redundant and just duplicates songs I already have. How do I just drag over songs from my Library to my playlist without copying them from ICloud??

    Posting just a question mark, which was all that was contained in your post subject line and body when I replied, did indeed stump me, as it would have anyone without psychic powers.  Now that you've posted an actual question, someone may be able to help you.

  • Using robocopy to copy files from a network share over a WinRS command line session

    Hello,
    Preface: Using server 2008 enterprise.
    I can't seem to get robocopy to function over WinRS and I'm not sure where the problem actually lies.  Running robocopy locally on the computer does work fine, but as soon as I try to run it through a remote command prompt through the WinRS client or directly with the WinRS client I get an access denied message (error 5).
    I've tried using runas while logged into the remote command prompt as well, thinking that it could have been some sort of permissions inheritence issue.
    I've checked the permissions on the remote file share, I've even given 'Everyone', 'Anonymous Logon' and the computer's active directory account full control over the folder and the file I'm trying to copy, but still get the access denied error.
    I've tried using /COPY:DT since I read that usually resolved error 5 issues.
    None of these things have worked.
    I'm kind of out of ideas, I've read some blogs of people who have written powershell scripts which use winrm/robocopy so I figure I'm missing something stupid.  Or maybe I've stumbled upon a bug?
    C:\>robocopy \\192.168.100.1\share c:\test example.exe
       ROBOCOPY     ::     Robust File Copy for Windows
      Started : Mon Feb 09 17:35:32 2009
    2009/02/09 17:35:32 ERROR 5 (0x00000005) Getting File System Type of Source \\192.168.100.1\share\
    Access is denied.
       Source - \\192.168.100.1\share\
         Dest : c:\test\
        Files : example.exe
      Options : /COPY:DAT /R:1000000 /W:30
    2009/02/09 17:35:32 ERROR 5 (0x00000005) Accessing Source Directory \\192.168.100.1\share\
    Access is denied.

    Yep, I verified permissions on them all :(
    To maybe complicate the issue, I looked at the environment variables for myself while logged in locally to the computer and through WinRS and they look to be the same.   
    EDIT: Out of pure frustration I wrote a quick console application which impersonates the currently logged in user and copies a file from the network share I'm trying to access to the local computer.  The application properly impersonates the user - but does not copy the files while it's run through WinRM.  When you run the application as a locally logged in user it works just fine.
    WinRM must be behaving goofy :(
     This is the output of the following application:
    C:\Windows\System32>test.exe 
    Name: domain\loggedinuser 
    IsAuthenticated: True 
    User: {GUID} 
    AuthenticationType: Kerberos 
    Destination directory doesn't exist, creating new directory.. 
    Undoing impersonation.. 
    No exceptions, no nothing :(
    Imports System.IO 
    Imports System.IO.File 
    Module Module1 
       Dim impersonationContext As System.Security.Principal.WindowsImpersonationContext 
       Dim currentWindowsIdentity As System.Security.Principal.WindowsIdentity 
       Dim cpr As New copyProgress(AddressOf FileCopyProgress) 
       Dim destinationDir As DirectoryInfo = New DirectoryInfo("c:\destination\") 
       Private Delegate Function copyProgress(ByVal totalFileSize As Int64, ByVal totalBytesTransferred As Int64, ByVal streamSize As Int64, ByVal streamBytesTransferred As Int64, ByVal dwStreamNumber As Int32, ByVal dwCallbackReason As Int32, ByVal hSourceFile As Int32, ByVal hDestinationFile As Int32, ByVal lpData As Int32) As Int32 
       Private Declare Auto Function CopyFile Lib "kernel32.dll" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal lpProgressRoutine As copyProgress, ByVal lpData As Int32, ByVal lpBool As Int32, ByVal dwCopyFlags As Int32) As Int32 
       Private Function FileCopyProgress(ByVal totalFileSize As Int64, ByVal totalBytesTransferred As Int64, ByVal streamSize As Int64, ByVal streamBytesTransferred As Int64, ByVal dwStreamNumber As Int32, ByVal dwCallbackReason As Int32, ByVal hSourceFile As Int32, ByVal hDestinationFile As Int32, ByVal lpData As Int32) As Int32 
       End Function 
       Private Function FileCopyProgress2(ByVal totalFileSize As Int64, ByVal totalBytesTransferred As Int64, ByVal streamSize As Int64, ByVal streamBytesTransferred As Int64, ByVal dwStreamNumber As Int32, ByVal dwCallbackReason As Int32, ByVal hSourceFile As Int32, ByVal hDestinationFile As Int32, ByVal lpData As Int32) As Int32 
       End Function 
       Sub Main() 
          Try 
             currentWindowsIdentity = CType(System.Security.Principal.WindowsIdentity.GetCurrent, System.Security.Principal.WindowsIdentity) 
             impersonationContext = currentWindowsIdentity.Impersonate() 
             Console.WriteLine("Name: " & currentWindowsIdentity.Name) 
             Console.WriteLine("IsAuthenticated: " & currentWindowsIdentity.IsAuthenticated) 
             Console.WriteLine("User: " & currentWindowsIdentity.User.ToString) 
             Console.WriteLine("AuthenticationType: " & currentWindowsIdentity.AuthenticationType) 
             If Not destinationDir.Exists Then 
                Console.WriteLine("Destination directory doesn't exist, creating new directory..") 
                destinationDir.Create() 
             End If 
             CopyFile(Path.Combine("\\192.168.100.1\share\", "example.exe"), Path.Combine("c:\destination\", "example.exe"), cpr, 0, 0, 0) 
          Catch ex As Exception 
             Console.WriteLine(ex.ToString) 
          Finally 
             Console.WriteLine("Undoing impersonation..") 
             impersonationContext.Undo() 
          End Try 
          Console.ReadKey() 
       End Sub 
    End Module 

  • Using bitmapData while copying image from a movieClip

    The problem that i m getting right now is that when i load an
    image into the movieClipLoader object & then get it's contents
    through BitmapData() function.What happens that if the file that i
    hv loaded through movieClipLoader lies in the same domain
    ,bitmapData() works f9,but when the image is loaded from another
    domain,let say a wallpaper from another site,then bitmapData()
    doesn't copy the pixels rather gives a white picture when redrawn
    into another movieclip.
    Also i hv used the crossdomain.xml And allowed all the
    domains.Now i don't know what's the problem of accessing that
    loaded image through bitmapData().......
    Could any one plz help me with this problem.

    The FileInputStream constructor argument should point a local file(*), not a remote one.
    (*: Sometimes it could be a pseudo local file on a networked file system like NFS on Unix/Linux.)

  • Using BAPI_ROUTING_CREATE to copy routing from legacy system

    Hi,
    I would like to know whether its possible to use BAPI_ROUTING_CREATE in my Routing conversion program to upload all routing data from the legacy system into SAP?
    It's kind of urgent.
    Thanks in advance

    Well actually that´s almost exactly what my task is as well.
    So what i do is:
    - reading the headdata of the given routing (the one which is to be copied)
    - reading the positiondata of the given routing (the one which is to be copied)
    then calling the BAPI_ROUTING_CREATE while exporting the headdata and the positiondata to the BAPI.
    It works perfect for the routing itself, but the BAPI doesnt create any operations while it displays a sucess message and NO errormessages.

  • Can I use REST to copy files from on library in a HNSC to another library in a different HNSC (or even different Tenants)

    Hi
    I am building a SharePoint hosted app which uses a REST Call to get file details of a file held in a host web library. Ok if want to copy that file to another a library held in another HNSC. Surely this is possible subject to the app manifest permission
    set to   tenant .  
    https://msdn.microsoft.com/office/office365/api/files-rest-operations#Folder6
    Daniel, WSL

    Reken
    Yes it is difficult. I coded up 3 requests in a SharePoint hosted app
    1) get file properties
     2) readfile  ( binarycontent)
     3) write file (binarycontent) to library in another HNSC
    1- 2 works fine but I am struggling with the 3) 
    To stop me from despairing ;-(  I thought I would modify my app to simply do a local copy ...
    However, this  not as simple as it looks.....
    (BTW this may be better discussed in a new post....)
    listurldir = "/appsdev/Marketing Lib;
    itemurl = "/Marketing Lib/betterlivingwithoutprogramming.pdf";
    filename = "betterlivingwithoutprogramming.pdf";
    // Get file to Copy This works with a GET and no Header
    var urlGetLocalFile = appweburl +
    "/_api/SP.AppContextSite(@target)/web/folders/GetByUrl('" + listurldir + "')/Files/getbyurl('" + filename + "')?@target='" + hostweburl + "'";
    executor.executeAsync(
    url: urlGetLocalFile,
    method: "GET",
    success: Function.createDelegate(this, function (data, errorCode, errorMessage) {
    // binary data available in data.body
    deferred.resolve(data, errorCode, errorMessage);
    error: Function.createDelegate(this, function (data, errorCode, errorMessage) {
    deferred.reject(data, errorCode, errorMessage);
    This works and finds my file ...... ok so far so good lets do a local copy with
    CopyTo
    localtargetfilepath = "/appsdev/Shared Documents/BeterLivingwithoutanyProgrammingever.pdf"var urlWriteLocalFile = appweburl +
        "/_api/SP.AppContextSite(@target)/web/folders/GetByUrl('" + listurldir + "')/Files/getbyurl('" + filename + "')/copyTo(strNewUrl='" + localtargetfilepath + "', bOverWrite=true)?@target='" + hostweburl + "'";
     executor.executeAsync(
                url: urlWriteLocalFile,
                method: "POST",
                success: Function.createDelegate(this, function (data, errorCode, errorMessage) {
                    // binary data available in data.body
                    deferred.resolve(data, errorCode, errorMessage);
                error: Function.createDelegate(this, function (data, errorCode, errorMessage) {
                    deferred.reject(data, errorCode, errorMessage);
    Unfortunately, I can't get passed this error  
    I have changed the HtpRuntime paramenters as in maxrequestlength and maxurlLength/. 
    Tried various header combinations with one or more of the following headers
    method: "POST",
    headers: {
    "Accept": "application/json; odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val()
    binaryStringResponseBody: true,
    However, I simply can't get passed the error
    Any ideas anyone?
    Daniel, WSL
    Freelance consultant

  • How to use dd to copy bytes from a CD?

    hi there,
    i brunt an iso image on a cd using my macbook. i know that the burn is good (i checked md5 on linux). however when i use "dd if=/dev/disk1 of=~/file.dd" i get something different than (different md5 and, when viewed with xxd, one can see some junk bytes between the original bytes of the iso image every now and then).
    what is the right way to use dd to get copy the bytes from the superdrive?
    cheers

    the solution i found is to change the device to disk1s0 (after unmounting).
    more details:
    (a) check the disk's name via: "diskutil list"
    (b) unmount: "diskutil unmountDisk /dev/disk1"
    (c) copy: "dd if=/dev/disk1s0 of=~/file.dd"
    (d) get md5: "md5 file.dd"
    (e) compare with original md5
    Message was edited by: minsf2

  • Using Automator to copy files from a Windows network

    This has been covered before, but the solution didn't work for me, so excuse the mainly copy-and-paste article:
    I wrote an automator workflow to copy a chosen file located on a PC on the local network.
    Here is the workflow:
    Get Specified Servers
    Mount Servers
    Ask for Finder Items
    Copy Finder Items
    The workflow executes fine up until the workflow actually finishes copying all the files. The automator complains that the Copy Finder Items errors with the following message:
    Can't read directory contents: /Volumes/Files
    The other thread suggests choosing "Ignore Input" for the "Ask for Finder Items" action, which I did. But now I have a different error:
    Couldn't create: /Users/{my name}/Desktop/filename.xlsx
    Any ideas? Thanks!

    This has been covered before, but the solution didn't work for me, so excuse the mainly copy-and-paste article:
    I wrote an automator workflow to copy a chosen file located on a PC on the local network.
    Here is the workflow:
    Get Specified Servers
    Mount Servers
    Ask for Finder Items
    Copy Finder Items
    The workflow executes fine up until the workflow actually finishes copying all the files. The automator complains that the Copy Finder Items errors with the following message:
    Can't read directory contents: /Volumes/Files
    The other thread suggests choosing "Ignore Input" for the "Ask for Finder Items" action, which I did. But now I have a different error:
    Couldn't create: /Users/{my name}/Desktop/filename.xlsx
    Any ideas? Thanks!

  • Using ARD to copy files remotely?

    Hi,
    I was thinking it is possible to use ARD to copy files from my home imac, when I am in the office using my macbook? Or this can only be done when I am on the same network? Thanks in advance.

    Should work fine provided you have ARD fully working between the two sites.

  • Prevent surfers from copying text

    hi
    i have a site with long articles.
    how do i prevent surfers from copying text from the site
    (copying by ctrl+c
    or edit>copy or file>save as... etc.)
    just disabling right-click is not enough
    thanks
    lenny

    lenny wrote:
    > i have a site with long articles. how do i prevent
    surfers from
    > copying text from the site (copying by ctrl+c or
    edit>copy or
    > file>save as... etc.)
    As others have already said, it can't be done, period. That's
    the nature
    of the medium. If you cannot risk the content being copied,
    then don't
    put it on a Web site. Even a protected PDF could be printed
    and scanned
    in OCR software or the password could simply be cracked. The
    Web is
    insecure by nature. If any content (text, images, PDF's
    whatever)
    reaches the user's browser, it's theirs to copy.
    just disabling right-click is not enough
    It's not only not enough, it's completely and utterly
    pointless and
    ineffectual and it's a very bad idea to begin with:
    http://www.sitepoint.com/article/dont-disable-right-click
    Stéphane Bergeron
    reach : connect : communicate
    http://www.webfocusdesign.com
    blog : tutorials : articles : gallery
    http://www.pixelyzed.com

  • Does COPY.ASMX support MTOM?

    Hi,
    We have a requirement to receive large files (approx 10 megs) in our SharePoint 2010 farm via the copy.asmx web service. Our company uses an Enterprise Service Bus product from IBM called Data Power that allows the transmittal of large files via MTOM.
    The way this works is that the consumer calls the web service from Data Power, which then calls copy.asmx from SharePoint. The point of having Data Power in the middle of the web service call is that it provides administrative services like auditing and
    alerting.
    So my question is, does copy.asmx support MTOM? Our SharePoint developers do not have experience with MTOM but if copy.asmx DOES support MTOM I can get a developer who is familiar with it.
    Thanks in advance for your time.
    Kathryn Buraczynski
    Buraczynski

    I didn't think so, but when I look at the web.config, it *does* appear that MTOM is available using the endpoints addresses:
     CellStorageService, which supports the StreamBinding binding
     CellStorageServiceBasic, which supports the StreamBindingBasic binding
     CellStorageServiceDigest, which supports the StreamBindingDigest binding
     CellStorageServiceNtlm, which supports the StreamBindingNtlm binding
     CellStorageServiceHttps, which supports the StreamBindingHttps binding
     CellStorageServiceHttpsBasic, which supports the StreamBindingHttpsBasic binding
     CellStorageServiceHttpsDigest, which supports the StreamBindingHttpsDigest binding
     CellStorageServiceHttpsNtlm, which supports the StreamBindingHttpsNtlm binding
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Can Apple Remote Desktop Client 3.8 be used by hackers to hack into my account!

    I received an update from Apple to  install the Remote Desktop Client 3.8 and am now wondering if hackers can use this software to control my laptop!

    Don't worry!  First off, you already have Remote Desktop Client on your computer.  The update is just an update from 3.7 to 3.8.  It's a component of the operating system and does not give anyone remote access to your computer unless you have configured it to allow access.  Even then, the remote person or computer needs to be given access to an account on your device or know your credentials to initiate connections.  At the very least, you are making your computer MORE secure by keeping the remote client updated, not less, as the update may contain security related fixes to the client.

  • Copying files from local computer to a remote server which is not in Domain and with username and password?

    "I have one workstation with static IP, Wants to create batch file to log in to this,using user name and password, copy back up files from that workstation to my desktop with batch file, please help
    I am currently using batch file for back up for domain servers with robocopy commands in batch file  but one of the workstation is not in domain and has static ip , also it has username and password,
    Wants to create batch file on my desktop to log in this server---with username and password,, copy files from particular folder and paste it on my desktop in particular folder or auto create that folder,
    please help, "
    P Dave

    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    Bill - he still sees that "connection" although it isn't mapped it is attached temporarily.
    P - Log off and log back on and the attached connection will be gone.  It is temporary.   Again - knowing the basics of WIndows would let you know this.
    We have given you all of the answers that are possible.  There is no other way unless you have installed things like PowerShell and PowerShell remoting or an FTP server.
    If you do use a drive it can be just as easily deleted after you have finished the copy.
    Again: "NET USE /?" will tell you all of the options.
    Saying you know nothing is not an excuse for not thinking or looking more deeply into the suggestions made by those trying to help you.  This is not a MIcrosoft support forum or help desk.  It is a forum for admiinistrative scripting and assumes
    that those coming here are technically trained or experienced in the basics of Windows technology.
    ¯\_(ツ)_/¯

Maybe you are looking for

  • In Mail, how can I tell if an email has been read by the recipient?

    There used to be a way in msn to get a message when an email was read. Is there a way to do the same in Mail?

  • PowerBook G4 17 won;t start after upgrading Hard disk Please help!

    Hi Folks! need your help in order to diagnose aPowerBook G4 1Ghz Serial V731556CMVZ. It worked perfectly untill start to have problems with hard drive. I bought a new Seagate Momentus 7200RPM and followed the instructions ifixit.com without any probl

  • File is being truncated by Sender File Adapter

    Hello, My input file is very wide. It has got 175 fields and is around 4000+ char wide. When file adapter loads it, the inbound payload does not contain all the fields (i.e. it is being truncated). Any idea that how can I load this too wide file! Tha

  • Moving Playlists out of a Folder

    I accidentally moved some playlists into a folder.  Now I can't move them out and back in the list of other playlists.  Do I have no choice but to recreate the whole playlists?

  • Serial code for PS CS6 creative cloud?

    Hi, I have just joined the creative cloud paid service, and have installed the app manager and photshop. When going to launch photoshop I sign in and it requires me to licence my soft ware and asks for a serial number, I dont have a serial number, it