Solved

How can I Upload a file

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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.
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…

919 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

21 Experts available now in Live!

Get 1:1 Help Now