How can I Upload a file

I have an ocx sitting in the asp page. How can I uplload a file from users machine into the web server.
some code is needed.

Thank you
nesifaAsked:
Who is Participating?
 
AndrewDevConnect With a Mentor Commented:
Try this it should do exactlt what you want

http://www.freevbcode.com/ShowCode.Asp?ID=975

Regards
Andrew
0
 
AndrewDevCommented:
or in asp.net if you are really swinging

http://www.freevbcode.com/ShowCode.Asp?ID=2136

0
 
Richie_SimonettiIT OperationsCommented:
If you want to add this funcionality to your ocx, may be this could help:

http://www.mvps.org/vbnet/code/network/ftplist.htm

0
 
Richie_SimonettiIT OperationsCommented:
0
 
nigelroweCommented:
Include MSInet OCX in your cab file, this includes FTP. I'll get back later with the code as I don't think I'm in the same time zone here(Friday night).
0
All Courses

From novice to tech pro — start learning today.