forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Copy/Store files on a Shared Drive

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Tue Feb 24, 2004 4:26 pm    Post subject: Copy/Store files on a Shared Drive Reply with quote

I want to store/copy files to a password protected, shared file on windows XP.

The folder is shared out and needs a username and password to gain access to the folder.

It can be accessed via \\192.168.x.x\update\users

Anyone any ideas on how to do this, i do not want to map a drive on the local users machine, just copy data, files to this folder.

I have tried tommys vdsinet.dll but i keep getting errors !

Text Script 1:
Code:

#define command,net
#define function,net
external vdsinet.dll,Public Freeware Key|90257236

  %A = \\192.168.1.20\update\users
  shell open,%A
  NET NETC,USERNAME,testuser
  NET NETC,PASSWORD,password
  net netc,remotename,%A
  NET NETC,LOCALNAME,W:
  NET NETC,CONNECT
  list create,1
  list add,1,Life is life @datetime(dd/mm/yy - t)
  list savefile,1,%A\nathan.log
  list close,1
  NET NETC, DISCONNECT


Test Script 2
Code:

#define command,net
#define function,net
external vdsinet.dll,Public Freeware Key|90257236

  %A = \\192.168.1.20\update\users
  shell open,%A
  NET NETC,USERNAME,testuser
  NET NETC,PASSWORD,password
  net netc,remotename,%A
  NET NETC,LOCALNAME,W:
  list create,1
  list add,1,Life is life @datetime(dd/mm/yy - t)
  list savefile,1@path(%0)nathan.log
  list close,1
  file copy,@path(%0),%a\nathan.log
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Feb 24, 2004 6:05 pm    Post subject: Reply with quote

Is the vdsinet dll updated for use with VDS 5? If so, maybe you've still got some old copies around on your pc which are runned in steed of the right dll...
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Tue Feb 24, 2004 10:20 pm    Post subject: Reply with quote

Make sure you are using version 2.8 of VDSINET.DLL:

http://www.vdsworld.com/index.php?page=download&file=vdsdll.dll

This version no longer requires the "Public Freeware Key" registration key, so if it
works without warning message if omitting the key you will know that you are using the
improved version.

Tommy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group