Closed HistoAdmin closed 3 years ago
Hi @HistoAdmin You can try the program given by jansohn in https://github.com/hierynomus/smbj/issues/654 or try using copy method from below class if source is not SMB https://github.com/hierynomus/smbj/blob/bd3d6ad18bb7c31499364db8c1eb7903fe976ebc/src/main/java/com/hierynomus/smbj/utils/SmbFiles.java
Thanks, R Ramarajan.
Hi @vrr6 Thanks for your answer.
Smbj doesn't support remote copy between 2 shares. Not possible.
On Thu, 30 Sep 2021, 02:39 HistoAdmin, @.***> wrote:
Hi @vrr6 https://github.com/vrr6 Thanks for your answer.
654 https://github.com/hierynomus/smbj/issues/654 already tried. It
support only with same server. I am expecting source and destination different server. Another link you shared it does copy locally then paste in remote.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hierynomus/smbj/issues/673#issuecomment-930545997, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIJCEGTDZWMPUW3CHWPPKY3UEN6B3ANCNFSM5E3QBDUQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
@HistoAdmin What @vrr6 said indeed. As far as I know the SMB protocol has no support for copying remotely between servers. You would need to somehow pass your authentication to the other server downstream. So the flow of data will always be through your client.
@HistoAdmin What @vrr6 said indeed. As far as I know the SMB protocol has no support for copying remotely between servers. You would need to somehow pass your authentication to the other server downstream. So the flow of data will always be through your client.
Thank you for your clarification.
Sorry if i am asking basic question. Unfortunately I could not find any document for this. I have 2 Synology server and wanted to transfer remotely. Kindly guide me what api should i need to use for this transfer. Thanks in advance