Solved

How can I Upload a file

Posted on 2001-06-08
5
133 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 20 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

705 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