Show image on ASP from a GetData (wodSFTP / wodSFTP.NET / wodSFTPdll)
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
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
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
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
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
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