send file via sftp not working

kjmauriello
Mega Expert

I'm using file builder FTP trying to send a file via SFTP to a remote location.

I have no problem retrieving files from the same server, so I know the credentials are ok.

However, when I try to send a file I see the output processed on the ECC Queue, but the input never processes.

Not sure if this is an instance issue or file builder FTP issue.

I have requested assistance from file builder but no response.

Any assistance would be greatly appreciated.

11 REPLIES 11

Rajesh Mushke
Mega Sage
Mega Sage

Hi Kevin Mauriello,


take a look here,


retrieve SFTP data


Data import issue with SFTP file retrieval method


File Upload from Service Now to SFTP server  




Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke

Rajesh,



thanks for the reply, however, the link for file upload from service now to SFTP server seems to be in an incomplete status.   Are you aware of anyone that has completed this type of integration.   Like I said, I tried to use File builder but get an error, and my queries to that post have gone unanswered.


Please check below blog, hope it works for you.



Using export sets for SFTP file transfer



Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.


Thanks for the info, I implemented this code but continue to get this error:


Error in writing file to SFTP server: com.sshtools.j2ssh.transport.MessageStoreEOFException: The message store has reached EOF



It implies eof has been reached, but the file does exist and has data in it. The file never gets copied to the SFTP server.



Also, within the blog there is a reference to the File Builder FTP update set. I also tried to implement that, but get errors. When I noted the errors in the community I don't get any replies.



Any assistance would be greatly appreciated.






KEVIN MAURIELLO


Sr. Technical Consultant



INSOURCE | 565 E. Swedesford Road, Suite 220 | Wayne, PA 19087


P. 1 610 592 0800 | C. 1 484 695 3645 | F. 1 610 592 0817


kevin.mauriello@insourcenow.com<mailto:michael.hallman@insourcenow.com> | www.insourcenow.com<http://www.insourcenow.com/> | Connect on LinkedIn<https://www.linkedin.com/in/kjmdeveloper>



INSOURCE: Facebook<https://www.facebook.com/insourceinc/> | Twitter | LinkedIn<https://www.linkedin.com/company/insourceinc/>



ServiceNow Silver Services Partner