Show image on ASP from a GetData - WeOnlyDo Discussion board

Show image on ASP from a GetData (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Jose Roberto Fonseca, Wednesday, July 23, 2008, 05:42 (5766 days ago)

Hello guys,

I need to show a image on ASP pages from a GetData result. Any sample, plz?

Code:

SQL = SELECT IMAGE_NAME FROM TABLE WHERE IMAGE_ID = XXX
Set oRs = conn.Execute(SQL)
if NOT (oRs.EOF AND oRs.BOF) then
Name= oRs( IMAGE_NAME )

objConn.GetData Cstr(Name)
Response.BinaryWrite objConn.ListItem

Re: Show image on ASP from a GetData

by woddrazen, Wednesday, July 23, 2008, 11:29 (5765 days ago) @ Jose Roberto Fonseca

Hi Jose,


Correct me if I'm wrong but I don't see that you are connecting and using some SFTP server. wodSFTP is client component that connects to SFTP server.

Did you try maybe our samples? Are you able to connect to your server?

Let us know how it goes.


Regards,
Drazen

Re: Show image on ASP from a GetData

by Jose Roberto Fonseca, Wednesday, July 23, 2008, 19:36 (5765 days ago) @ woddrazen

Hi,

I do it to implement with GetFile!

Regards,

Hi Jose,


Correct me if I'm wrong but I don't see that you are connecting and using some SFTP server. wodSFTP is client component that connects to SFTP server.

Did you try maybe our samples? Are you able to connect to your server?

Let us know how it goes.


Regards,
Drazen

Re: Show image on ASP from a GetData

by Jose Roberto Fonseca, Wednesday, July 23, 2008, 19:49 (5765 days ago) @ Jose Roberto Fonseca

I have another problem:

Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: 'objSFTP.DeleteFile'

/neonet/sistemas/fdi/ajax/proc_del_foto.asp, line 21

What is this, please?

:(

Hi,

I do it to implement with GetFile!

Regards,

Hi Jose,


Correct me if I'm wrong but I don't see that you are connecting and using some SFTP server. wodSFTP is client component that connects to SFTP server.

Did you try maybe our samples? Are you able to connect to your server?

Let us know how it goes.


Regards,
Drazen

Re: Show image on ASP from a GetData

by woddrazen, Wednesday, July 23, 2008, 19:56 (5765 days ago) @ Jose Roberto Fonseca

Jose,


Did you try using our samples? You can find it in component Samples folder.

Can you maybe show us your full wodSFTP code snippet?


Drazen

Re: Show image on ASP from a GetData

by Jose Roberto Fonseca, Wednesday, July 23, 2008, 20:25 (5765 days ago) @ woddrazen

Hi,

Resolved. Bad object!

Thanxs,

Jose,


Did you try using our samples? You can find it in component Samples folder.

Can you maybe show us your full wodSFTP code snippet?


Drazen