I am currently working on a APP TO UPLOAD AND DOWNLOAD FILE TO and FROM treminal server and local. Can someone Please pointy me into the right direction.
Well, I'm not really sure what you mean, but if you are looking to get a file from a TS server down to a client, you are going to need a mapped drive 'in session'.
To do this your client session must first have that enabled before you make a connection, and then you can shell out to run something like this:
Code:
NET USE X: \\TSCLIENT\SHAREPATH
That would probably get it moving.
Regards
Griff
Keep [Smile]ing
There are 10 kinds of people in the world, those who understand binary and those who don't.
I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
Hi waylene12,
this could be done with a small Powershell script and without the use of 'NET USE...'. Powershell offers Set-Location, Get-ChildItem, Copy-Item and Remove-Item to handle local and remote directories.
ADDED:
To give you an idea, about how to generate a powershell script with VFP have a look at this link where Calvin Hsia explains how it is done dynamically: generate and run powershell scripts dynamically
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.