07-06-2023 08:17 AM
Hi,
I used SnapGPT to ask about what snap to use. In this case, the File Operation Snap. I wanted to know if I could use a File Operation Snap to move a file from one folder to another folder in a Windows server using SMB.
I tried the answer/suggestion but the validation failed. Your thoughts, please.
Thanks.
07-06-2023 08:33 AM
Hello @marenas, thank you for sharing this observation. I’m lookin into it on our side. One quick question for you on the protocol - it looks like it is smb:// with only two slashes, is that right?
07-06-2023 09:12 AM
Hi @rsramkoski , only two slashes.
07-12-2023 05:28 AM
I do not think the snap will support MOVE in SMB. I believe the documentation shows that. I have done this by using two snaps–file reader and file writer. I pulled the file that I wanted to move into the reader then wrote the file via the file writer. It worked fine.
07-12-2023 06:11 AM
Hi @heidi.andrew,
Appreciate your response.
Yes, you are right. The documentation states that the File Operation snap does not support SMB. I also did the same approach as you suggested.
What I wanted to point out is the response given by SnapGPT, which in this case is incorrect.