Campus Solutions - PSFT (MOSC)

MOSC Banner

Not able to retrieve photo from SFTP file server

Customer Problem Description
---------------------------------------------------

Problem Summary
---------------------------------------------------
Not able to retrieve photo from SFTP file server

Problem 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";

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

PSFT Campus Solutions Tags

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center