Forums

ASP

This topic is locked

FTP Upload in ASP

Posted 27 Dec 2005 06:32:21
1
has voted
27 Dec 2005 06:32:21 usha Immadi posted:
Hii,

I have an ASP application. Here i will be uploading all the documents to the FTP.
And the path of the documents in the FTP should be displayed on the web page. So when user clicks only the paths/names on the webpage, the corresponding file should open.

Can u please help me on this topic?

Regards,
Usha.

Replies

Replied 31 Dec 2005 04:21:28
31 Dec 2005 04:21:28 Javier Castro replied:
Hi Usha,

I use PureASP for uploading files and works pretty good as long as you have the right permissions on the folder you want to upload to. There are few things you cannot do with it, like uploading various files to separate folders. If you want upload to one single folder, then it is no problem. I supose other ASP methods to upload files like ASp Upload would do the same.

The file name is what I save on my DB and then link the related recordset so the filename is displayed properly.

example:
<a href="images/<%=(rsPosts.Fields.Item("FileName".Value)%>"><%=(rsPosts.Fields.Item("FileName".Value)%></a>

Hope it helps,

Javier

Reply to this topic