Solved

How can I Upload a file

Posted on 2001-06-08
5
128 Views
Last Modified: 2010-05-18
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
0
Comment
Question by:nesifa
  • 2
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
AndrewDev earned 20 total points
Comment Utility
Try this it should do exactlt what you want

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

Regards
Andrew
0
 
LVL 5

Expert Comment

by:AndrewDev
Comment Utility
or in asp.net if you are really swinging

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

0
 
LVL 16

Expert Comment

by:Richie_Simonetti
Comment Utility
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
 
LVL 16

Expert Comment

by:Richie_Simonetti
Comment Utility
0
 
LVL 3

Expert Comment

by:nigelrowe
Comment Utility
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

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now