Pentaho (kettle) download files from ChEBI FTP server - ftp

I have a FTP server link (ChEBI) to the files I need to download. I don't have any additional information (e. g. username, password). How can I download these files using jobs in Pentaho? "Get a file with FTP" gives me an error everytime I try to test the connection.

It seems like I figured it out, according to this post on pentaho forum you need to just enter 'anonymous' in username and your email in password field. Tested it, works fine.

Related

Files stored in AWS bucket to only be downloaded if users are logged into Laravel app. Not by directly going to URL

I only want users to be able to download files which are saved in my AWS bucket if they are logged into my Laravel app. I do not want users to be able to download the files if they are not logged into the system and not by directly going to the URL. Can someone please help me achieve this? I think I may need to somehow set the document as private but I'm not sure about this.
There are two options that I know of:
Returning a temporary signed URL which the user can use to download the file directly from S3.
Streaming or downloading the file from S3 through your application.
For the first option you can use the Storage facade's temporaryUrl method like this to allow access for 5 minutes:
$url = Storage::disk('s3')->temporaryUrl(
'file.jpg', now()->addMinutes(5)
);
To download the file through your server you could return:
return Storage::download('file.jpg');
Don't quote me on the following, but I think the advantage of using the S3 temporary url is that the download doesn't have to happen through your server which frees up your server for other requests. The benefit of downloading through your server is that you would be able to authenticate against every request and there won't be a temporary url which a user would be able to share.

How to download server files with only ftp link

So I have just started to work on a client's site, and their site is apparently on a hong kong based hosting company.
I asked them the username and password for accessing the files and their old developer gave us this ftp:/130.. ip address like link
with the username and password.
When I click the link and the browser takes my username and password, I get a index list of all the files.
I however want to download all the files and I was wondering if there is a way of doing so without having the hosting site to have admin log in from.
Just in case the hong kong office guys dont give in all the info.
What should I do to have the files download to a folder using something like Filezilla or some other method? Cause I am new to web development and design, I tried using filezilla but that didnt give me the directory or connect fully.
the ftp user that gave u is limited . so with filezila you can see just a specific folder.
and in another hand , to download easily u can download them with IDM , just set user , pass into it and download all the files.
for id : http://www.internetdownloadmanager.com/support/using_idm/options.html
see Site Logins tab pasrt

How to open a URL in batch file that require Username and Password?

In the Command Prompt,
I can open a url by START Http://www.foobar.com
What if the website require to type in a Username and Password?
as shown in
btw the Username is a domain account like foo\bar
I'm guessing, we're talking about HTTP Basic authentication? If so, you can use something like
START http://username:password#www.foobar.com
Just tested, this does not work on newer versions of Internet Explorer. It works on Firefox and most likely on other browsers. Internet Explorer can save the password though, you'll have to use the dialogue on the page once.

Open FTP server on client side on button click

I am developing a web application.
If a user clicks on a button on the web page, then FTP server should be open in windows explorer and the user should be able to paste files on the server.
Please help me out......
Thanks in Advance.
I'm going to guess you are developing on PHP? instead of connecting to FTP perhaps you can try a php based file manager which opens upon user's click.
Below link provides good free file managers that allow users to manage files (alike on FTP) directly on the web, and it also will allow you to add protection on file level.
http://devsnippets.com/article/7-free-powerful-file-managers.html
on another note you can hardcode a link to the ftp to contain the username and password
note that most browsers do not open on windows explorer and you won't really have control on that through web. I definitely suggest the above instead.
xtp://username#name.ext will prompt for password
xtp://username:password#name.ext will transmit password witb no security

How to change users in TortoiseSVN

I was setting up another user to use our SVN repository. He didn't have a username/password, so I logged in with my credentials. We now have a username/password for him.
How do I get TortoiseSVN to logout and forget the old password so I can enter the new username/password?
Open Windows Explorer.
Right-click anywhere in the window.
Click TortoiseSVN → Settings.
Click Saved Data.
Click Clear beside Authentication Data (see below).
Check the authentication items to clear.
Click OK.
All saved Authentication Data for all projects is deleted.
You will have to re-enter credentials to reconnect.
There are several ways to do it, through settings or by deleting the cache.
Deleting the cache is the most versatile method. First, locate it:
On XP, it was located here:
C:\Documents and Settings\%USER%\Application Data\Subversion\auth\svn.simple\
On Vista, it was located here:
C:\Users\%USER%\AppData\Roaming\Subversion\auth\svn.simple\
Then look in those files with Notepad, and delete the one with your credentials.
If you want to remove only one saved password, e.g. for "user1":
Go to the saved password directory (*c:\Users\USERNAME\AppData\Roaming\Subversion\auth\svn.simple\*)
You will find several files in this folder (named with hash value)
Find the file which contains the username "user1", which you want to change (open it with Notepad).
Remove the file.
Next time you will connect to your SVN server, Tortoise will prompt you for new username and password.
When you use Integrated Windows Authentication (i.e., Active Directory Single Sign-On), you authenticate to AD resources automatically with your AD credentials. You've are already signed in to AD and these credentials are reused automatically. Therefore if your server is IWA-enabled (e.g., VisualSVN Server), the server does not ask you to enter username and password, passing --username and --password does not work, and the SVN client does not cache your credentials on disk, too.
When you want to change the user account that's used to contact the server, you need use the Windows Credential Manager on client side. This is also helpful when your computer is not domain joined and you need to store your AD credentials to access your domain resources.
Follow these steps to save the user's domain credentials to Windows Credential Manager on the user's computer:
Start Control Panel | Credential Manager on the client computer.
Click Add a Windows Credential.
As Internet or network address enter the FQDN of the server machine (e.g., svn.example.com).
As Username enter your domain account's username in the DOMAIN\Username format.
Complete the password field and click OK.
Now when you will contact https://svn.example.com/svn/MyRepo or a similar URL, the client or web browser will use the credentials saved in the Credential Manager to authenticate to the server.
After struggling with this and trying all the answers on this page, I finally realized I had the incorrect credentials stored by windows for the server that hosts our subversion. I cleared this stored value from windows credentials and all is well.
https://web.archive.org/web/20160614002053/http://windows.microsoft.com/en-us/windows7/remove-stored-passwords-certificates-and-other-credentials
Replace the line in htpasswd file:
Go to: http://www.htaccesstools.com/htpasswd-generator-windows/
(If the link is expired, search another generator from google.com.)
Enter your username and password. The site will generate an encrypted line. Copy that line and replace it with the previous line in the file "repo/htpasswd".
You might also need to Clear the 'Authentication data' from TortoiseSVN → Settings → Saved Data.

Resources