Not able to retrieve photo from SFTP file server
Customer Problem Description ---------------------------------------------------Problem Summary --------------------------------------------------- Not able to retrieve photo from SFTP file serverProblem Description --------------------------------------------------- Hi Team,We are trying to reteive photo from a file server and store it in data base and display on the Delivered Photo page.But not sure why the code is not able to retrieve the pic.code ad below: &directory = "ftp://username:password@server/photodata/" | &acad_year | "/"; .... MessageBox(0, "", 0, 0, "VALIDATION 1"); &filename1 = &ANET_APP_INST_ID | ".jpg"; &FILE_PATH_FILENAME = &directory | &filename1; If FileExists(&FILE_PATH_FILENAME, %FilePath_Absolute) Then MessageBox(0, "", 0, 0, "---SUCCESS " | &filename1 | " exists for emplid=" | &emplid); &file_exists_flag = "Y"; |
0