Jump to content


Photo

Sample ASP upload code


  • Please log in to reply
5 replies to this topic

#1 PDP

PDP
  • Members
  • 3 posts

Posted 09 April 2007 - 09:58 PM

I didn't see any upload code in the provide asp code sample. Any chance I can get a sample upload script? or point out where I missed it. Thanks

#2 mb

mb

    Developer

  • Administrators
  • 11520 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 09 April 2007 - 10:47 PM

Hello ..

I'm sorry but we don't have a sample for uploading using ASP available. But the idea is pretty straightforward:
1. Save the upload data from request object to a temporary file
2. Upload the temporary file with objFTP.UploadFile() function

Regards,
-Mat

#3 PDP

PDP
  • Members
  • 3 posts

Posted 10 April 2007 - 02:27 PM

Hello ..

I'm sorry but we don't have a sample for uploading using ASP available. But the idea is pretty straightforward:
1. Save the upload data from request object to a temporary file
2. Upload the temporary file with objFTP.UploadFile() function

Regards,
-Mat


Sorry, but I don't know exactly how to do what your saying. If you could just show me a few lines of code on how to upload it would be very helpful. Thanks

#4 mb

mb

    Developer

  • Administrators
  • 11520 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 10 April 2007 - 03:57 PM

Do you want to know how to construct a form in ASP which allows a file to be submitted to the web server?
or
Do you need to know how to upload a file with the FTP component? (not necessary through a web page)

Regards,
-Mat

#5 PDP

PDP
  • Members
  • 3 posts

Posted 10 April 2007 - 04:16 PM

Do you want to know how to construct a form in ASP which allows a file to be submitted to the web server?
or
Do you need to know how to upload a file with the FTP component? (not necessary through a web page)

Regards,
-Mat


The first one. Upload a file submitted to a web server.

#6 mb

mb

    Developer

  • Administrators
  • 11520 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 10 April 2007 - 04:55 PM

Hello ...

You need a component like this:
http://www.aspupload.com/faq.html

In addition if you want to upload the file from your web server to an FTP server you need to purchase a license for the SmartFTP FTP Library.

Regards,
-Mat
SMartFTP




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users