Cant get FTPUpload and FTPDownload to work in a UFT API test

  • Questions
  • Cant get FTPUpload and FTPDownload to work in a UFT API test
Question ID: 107862
1
0

I can’t seem to get FTPUpload and FTPDownload to work in a UFT API test. I thought I had all the settings correct, but I keep getting this error:

> "Invalid URI: The format of the URI
> could not be determined"

For the FTPUpload activity, on the General tab, we have filled out the Proxy section with our Server, Username and Password.

On the Inputs/Checkpoints tab we have input the remainder of the path for the ‘Directory URL Path’: /Inbound/data/FTPup
and then again we have the User ID and Password, as well as the full path to the local folder and filename for the file to be uploaded.

I feel pretty certain that if we can figure out how to get the FTPUpload to work, the FTPDownload will be easy to figure out.
What are we missing?

Marked as spam
Posted by (Questions: 348, Answers: 26)
Asked on September 13, 2017 5:15 pm
15 views
Answers (1)
1
Private answer

Most of the time, you do not need to fill out anything in the Proxy section, so I would remove that information. The main problem I see here is your 'Directory URL Path' should contain the full server path as such:
`ftp:///Inbound/data/FTPup`

![alt text][1]

Here's what the download part would look like:

![alt text][2]

[1]: /storage/temp/691-inputs-checkpoints.png
[2]: /storage/temp/692-inputs-checkpoints-down.png

Marked as spam
Posted by (Questions: 16, Answers: 759)
Answered on September 13, 2017 5:17 pm
Great thanks for your answer, that helped us to get it working. We also got FTPDownload working too.
( at September 13, 2017 5:41 pm)