Scheduled import from SFTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 09:40 PM
hi All we have a situation
we have a scheduled import set for 11 pm and the data source pulls File from SFTP server
We checked that File was present until a min before the Job starts
When job started , the job immediately failed with the message : java.io.IOException: Remove file failed: NO_SUCH_FILE: No such file and the file from sftp was removed.
But when the File is placed again manually and if we execute the Job Manually everything Works right
any pointers?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 09:56 PM
how are you fetching from SFTP?
please share the scripts and configurations etc along with screenshots.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 05:15 AM
in data source we gave the Server name , user id & pwd , Connection URL along with remove_file = true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 05:43 AM
the message clearly says that file is not present.
Did you ensure that file was present in that SFTP when your scheduled data source ran?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 06:06 AM
yes it was !