How to run a WINSCP.EXE command in ASP.NET program ???

B

bienwell

Hi all,

I've got a trouble of uploading some files with large size (around 120MB)
into the web server in my ASP.NET application. What I can fix is to check
the file size from client side first, and if it greater than a size I want
then I will run the command WINSCP.EXE to copy the file from client into the
web server, instead of using FileObject.PostedFile.SaveAs(SaveLocation).
Can you provide me the syntax to the command winscp? My web server was
installed WINSSHD already.

Thanks in advance.
 
B

bruce barker

as you will need to write an active/x control to check the filesize,
this control can call winscp via the win32 api createprocess.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top