+ Post New Thread
Results 1 to 2 of 2
Virtual Learning Platforms Thread, RM KLP & Powershell/VBScript - Automated Upload/download Of Files? in Technical; Hi, I am using RM's Kaliedos Learning Platform and i would like to know if i can automate file transfers ...
  1. #1

    Join Date
    Jul 2012
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    RM KLP & Powershell/VBScript - Automated Upload/download Of Files?

    Hi, I am using RM's Kaliedos Learning Platform and i would like to know if i can automate file transfers to my personal space (if it works this will go wider than my personal space) using powershell or VB Script. does anyone know how to do this specifically within RM's KLP?

    I have found the following code from the web to get powershell to talk to sharepoint which its based on but this doesnt work (possibly destination URL but have tried every combination of URL i can think that would be acceptable) and would like to know if anyone else has done this?

    $path = "c:\FilesToUpload"
    $destination = "substitute RM's KLP website URL here"

    $securePasssword = ConvertTo-SecureString "substitute password here" -AsPlainText -Force;
    $credentials = New-Object System.Management.Automation.PSCredential ("substitute username here", $securePasssword);
    $webclient = New-Object System.Net.WebClient; $webclient.Credentials = $credentials;
    $webclient.Credentials = $credentials;
    Get-ChildItem $path | Where-Object {$_.Length -gt 0} | ForEach-Object { $webclient.UploadFile($destination + "/" + $_.Name, "PUT", $_.FullName); Remove-Item $_.FullName -Force };

    Any help would be appreciated.

    Thanks
    Gavin.

  2. #2
    funkyfin2000's Avatar
    Join Date
    Sep 2008
    Location
    Stafford, Staffordshire
    Posts
    149
    Thank Post
    57
    Thanked 28 Times in 26 Posts
    Rep Power
    17
    PM sent.



SHARE:
+ Post New Thread

Similar Threads

  1. Teachers require to upload downloads files from home.... Forefront Security?
    By BorisAlden in forum Network and Classroom Management
    Replies: 2
    Last Post: 1st December 2010, 09:35 PM
  2. Problems when downloading "big" files
    By Arcath in forum Internet Related/Filtering/Firewall
    Replies: 4
    Last Post: 30th October 2009, 07:24 PM
  3. Replies: 6
    Last Post: 18th June 2009, 04:11 PM
  4. File hosting upload / download script
    By ajbritton in forum Web Development
    Replies: 4
    Last Post: 21st January 2008, 10:56 PM
  5. Replies: 3
    Last Post: 9th November 2007, 11:09 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •