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
HTTPS service
Post any question you may have in regards to GoAnywhere Services and let our talented support staff and other users assist you.
- administrator Offline
- Site Admin
- Posts: 12
- Joined: Tue Mar 03, 2009 4:14 pm
Re: HTTPS service
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:
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
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
Thanks
- Support_Rick Offline
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
- Contact:
Re: HTTPS service
Sorry, that isn't an option. It must be a relative or implicit path to the filename to download.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Re: HTTPS service
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
Info: GoAnywhere MFT 6.0.4
- Support_Tim Offline
- Posts: 35
- Joined: Mon Dec 01, 2014 10:35 am
Re: HTTPS service
Hi raemon,
It is possible to bypass the password prompt if you use only certificate authentication.
It is possible to bypass the password prompt if you use only certificate authentication.