Hi,
Can you help with uploading a particular file to SFTP?
In my case, I need to upload the .txt file “Dummy Society_Testing_BOT”
Hi,
Can you help with uploading a particular file to SFTP?
In my case, I need to upload the .txt file “Dummy Society_Testing_BOT”
You can use the FTP Activites
Activities - About the FTP Activities Package (uipath.com)
Hope this helps
Hi
I have SFTP activities package but it showing error:
Can you share the error screenshot & with full workflow
Filename incorrect
Check your filename in the local path:
Local path: “C:\tempfile.jpg” - OK
Local path: “C:\tempfileeee.jpg” - Error: Upload files: one or more errors occured.
So start from there.
Other things to try:
Set option in Security option: Accept all certificates [v]
If you connect the first time with sFTP you sometimes have to accept the connection first. if not set, it can give an error.
Does it work to upload the same using an sFTP client? So to make sure the connection is not the problem
Ref: https://forum.uipath.com/t/error-in-uploading-files-from-local-system-to-server-using-sftp/188231
Hi All,
I have cleared the directory issue but getting the error - “Upload Files: Index was outside the bounds of the array.”
Can you help?
To give a bit more detail this error occurs when you are trying to access an index outside of the current bounds of the array.
e.g. you have an array of 5 items. (array {1,2,3,4,5}) if you try to get the item from index 10 (array(10)) you will get this error as there is actually only 5 indexes (the max being 4 as arrays start at 0). Check the array is empty or what.
I hope you are using the array of strings, You can check the count of array by using the length function.
Hi @AJ_Ask
I checked as per your suggestion and it shows “0”. The same was updated but still shows the same error.
Which means your array don’t have anything in it. That’s why it is zero. Define your path correctly. .Length function shows the count of strings in your array
0 means that the array has no items. You are then trying to get the first item of an empty array, hence you get an exception.
The error occurs because you do not mention the file extension. Based on your first screenshot, I think adding “.txt” to the expression on the right side of this assign would fix your issue
Awesome glad I can help
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.