Page 1 of 1

HTTPS service

Posted: Tue Nov 15, 2011 8:53 am
by alfonso
Is there a way to download files from a GoAnywhere HTTPS Service directly without having to use the web interface?

Something like:

GET https://goanywhere-server/user/inbound/file.txt

Re: HTTPS service

Posted: Thu Nov 17, 2011 7:49 am
by administrator
In GoAnywhere Services 2.5.0 and higher you can provide links to users that will download specific files. The user would still need to authenticate but the link will take them to a simple interface where they can download the file specified in the URL.

The URL would look like the following:
https://[hostName][:portNumber]/webclient/download/[relativeFilePath][?u=userName]

[hostName] - This should be replaced with your domain or IP address for GoAnywhere Services.

[:portNumber] - If you are using an IP address and the Web Client is not using the default port 443.

[relativeFilePath] - This is the file path once the user logs in. If they have file.txt in their home directory the relativeFilePath would be 'file.txt'. If the file is in a subdirectory like 'outbound' the path would be 'outbound/file.txt'.

[?u=userName] - If you decide to pass in a user name the login page will only prompt the user for a password. Without this parameter the login will ask for user name and password.

Examples URLs:
Code: Select all
https://goanywhere-server/webclient/download/file.txt?u=userA
https://192.168.1.1:9443/webclient/download/outbound/file.txt

Re: HTTPS service

Posted: Wed Sep 21, 2016 9:33 am
by whittssg
Is there anyway to do this for an entire folder? So you pass in the folder name instead of a filename and all files within that folder start to download?

Thanks

Re: HTTPS service

Posted: Wed Sep 21, 2016 9:55 am
by Support_Rick
Sorry, that isn't an option. It must be a relative or implicit path to the filename to download.

Re: HTTPS service

Posted: Thu May 23, 2019 2:35 pm
by reamon
An 8 year old thread, though I have the same question. Can a file be retrieved with single HTTP GET method call, using basic auth to authenticate? Using https://(hostname)/webclient/download/(filename) and passing the Authorization header results in an HTML form being returned prompting for a password. The desire is for download via HTTP without any UI interaction. Is a different URL path needed? Is there a web user config setting?

Info: GoAnywhere MFT 6.0.4

Re: HTTPS service

Posted: Fri May 31, 2019 5:40 pm
by Support_Tim
Hi raemon,
It is possible to bypass the password prompt if you use only certificate authentication.