SFTP whenFileExists
Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
If you need a quicker response, please create a support ticket via the customer portal my.goanywhere.com or contact our support team by email at [email protected].
If you need a quicker response, please create a support ticket via the customer portal my.goanywhere.com or contact our support team by email at [email protected].
2 posts
Page 1 of 1
Hi,
I'm new to GoAnywhere, just trying to do an SFTP Get and Put. I'm wondering where the options are for handling files when the target already exists. My project is creating file 2.txt, file 3.txt etc. I've seen reference to whenFileExists in this forum but that attribute doesn't seem to be allowed in SFTP?
Thanks
Yusuf
I'm new to GoAnywhere, just trying to do an SFTP Get and Put. I'm wondering where the options are for handling files when the target already exists. My project is creating file 2.txt, file 3.txt etc. I've seen reference to whenFileExists in this forum but that attribute doesn't seem to be allowed in SFTP?
Thanks
Yusuf
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
Yusuf,
FTP allows for 2 options on transfer ... PUT/APPEND. Once replaces/creates and the other appends to/creates.
In this situation, your best bet would be to take advantage of the Temp Workspaces and just download the file to that location. Then, use your workflow to Copy/Move to the Final Destination providing any safeguards that are needed to Overwrite, Rename, etc.
FTP allows for 2 options on transfer ... PUT/APPEND. Once replaces/creates and the other appends to/creates.
In this situation, your best bet would be to take advantage of the Temp Workspaces and just download the file to that location. Then, use your workflow to Copy/Move to the Final Destination providing any safeguards that are needed to Overwrite, Rename, etc.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
2 posts
Page 1 of 1