#1 2022-07-04 08:27:12

Johann
Member
Registered: 2022-05-30

How to sync local file system with Reportserver file system

Rather than uploading files one by one into Reportserver, is there a way to sync the Reportserver file system with the local file system? Or perhaps an option to upload folders instead of files?

Offline

#2 2022-07-06 05:45:01

adrian1703
Moderator
Registered: 2021-10-29

Re: How to sync local file system with Reportserver file system

Hello Johann,
currently there is no option to upload entire folders into the filesystem. There is the possibility to recursivly import with scripting using the FileServerService creating files and setting their data manually.

However I don't think mirroring your local filesystem is the best usecase for the internal ReportServer filesystem. Could you elaborate further why you want to sync your local files with ReportServer ?

With regards,
Adrian

Offline

#3 2022-07-06 09:13:09

Johann
Member
Registered: 2022-05-30

Re: How to sync local file system with Reportserver file system

In my system, I have a bunch of Groovy script reports, helper files and style files. Development on these files is done in an IDE rather than natively in ReportServer as an IDE offers many more useful features for productivity, debugging, etc.

Hence, my workflow has been to make the necessary changes through my local IDE, and then copy and paste the contents of the files to ReportServer’s file system. That is why I would like to sync my local files with ReportServer.

Offline

#4 2022-07-18 07:37:52

eduardo
Administrator
Registered: 2016-11-01
Website

Re: How to sync local file system with Reportserver file system

Hi Johann,

as @adrian1703 pointed out, you can use scripting for this. Alternatively, you can use the SFTP server as I mentioned here too: https://forum.reportserver.net/viewtopic.php?id=3093

Regards,
Eduardo

Offline

#5 2022-07-18 10:34:34

Johann
Member
Registered: 2022-05-30

Re: How to sync local file system with Reportserver file system

Hi Eduardo,

Ideally, we would not want to resort to scripting unless we have no choice. We have looked at using SFTP server but have not been able to resolve the BindException issue raised here: https://forum.reportserver.net/viewtopi … 9627#p9627

Do you have any ideas in mind for the SFTP server?

Regards,
Johann

Offline

#6 2022-07-21 09:02:20

Johann
Member
Registered: 2022-05-30

Re: How to sync local file system with Reportserver file system

Hi Eduardo,

I have resolved the SFTP server issue I was facing. Thank you for your advice!

Regards,
Johann

Offline

#7 2022-07-27 08:28:33

eduardo
Administrator
Registered: 2016-11-01
Website

Re: How to sync local file system with Reportserver file system

Hi Johann,

for completeness: how did you solve the problem with your SFTP server?

Regards,
Eduardo

Offline

#8 2022-07-28 00:25:35

Johann
Member
Registered: 2022-05-30

Re: How to sync local file system with Reportserver file system

Hi Eduardo,

I am not exactly sure myself. One potential cause of the port already being in use is the SFTP server not being disabled an upgrade procedure. If so, one solution could be to restore the original version and disable the SFTP server in the /etc configurations.

Regards,
Johann

Offline

Board footer

Powered by FluxBB