File Upload From Clients Computer

File Upload From Clients Computer

Post by R2Fye » Fri, 21 Sep 2007 02:46:04


I need to be able to upload a file from a client computer using VBScript.
I'm not able to install any activex or other components on the client
computer so I need to do this entirely in vbscript and what comes standard on
an MS Windows system. I do have complete control of the Web Sever and can
install anything I might need there. Can anyone direct me to some sample
code on how to get this done? I assume that it will be some type of FTP
process but I'm not sure.

Thanks

Gary
 
 
 

File Upload From Clients Computer

Post by Owen Gilmo » Fri, 21 Sep 2007 08:21:36


FTP has been part of Windows since NT so you should be able to use
that if your'e familiar with FTP commands and scripts. I don't see
anything with vbscript in particular but you could use wsh.exec to do
it, or a batch file etc.

 
 
 

File Upload From Clients Computer

Post by mr_unrelia » Sat, 22 Sep 2007 01:14:37

Gary, take a look at your scripting documentation, entitled:
"Running Scripts Remotely".

Here's a plan. Run a script remotely on your client systems,
and have the script copy the designated file back onto your
server. (Maybe the user's "H" drive, if the users have space
allocated to them on your server).

Then, since you have control of your server, you can pick up
the (user's) file from within their space and transfer it
wherever you want.

Provided that you have permission to run scripts remotely,
and you have permission to access data stored in the users
area of your server, then this might be easier to do than
running FTP remotely.

cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but,
no guarantee the answers will be applicable to the questions)