?
Solved

How can I Upload a file

Posted on 2001-06-08
5
Medium Priority
?
134 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
AndrewDev earned 60 total points
ID: 6168341
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
ID: 6168350
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
ID: 6168677
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
ID: 6168718
0
 
LVL 3

Expert Comment

by:nigelrowe
ID: 6169103
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

762 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