You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
Need a Groovy way of adding this to a fie system or a per-request execution.
Maybe something like
// In an options block
options {
ftp {
auth {
username : 'USERNAME'password : 'PASSWORD'
}
}
}
// As an auth objectdef credentials = auth ( username : 'USERNAME', password : 'PASSWORD', domain : 'DOMAIN' )
// Using an auth object in a statement// (But does the auth object apply to src or dest url?
cp 'ftp://from.server/a.file', 'file:///home/ysb33r/b.file', auth : credentials
The text was updated successfully, but these errors were encountered:
ysb33r
changed the title
Better support for authentication outide of URL
Better support for authentication outside of URL
Apr 29, 2014
ysb33r
changed the title
Better support for authentication outside of URL
[DSL] Better support for authentication outside of URL
May 2, 2014
The easiest way to perform suer auth is to encode the username & password in the URL. This is obvisouly not the best way for a nuber of reasons.
Currently in Apache VFS the way of creating a user authentication object is
Need a Groovy way of adding this to a fie system or a per-request execution.
Maybe something like
The text was updated successfully, but these errors were encountered: