Using WinSCP Locally to save to Azure Storage FTP Files from another location

Advertisement

ed.carden
Joined:
Posts:
1
Location:
TEXAS

Using WinSCP Locally to save to Azure Storage FTP Files from another location

The scenario is we have an FTP server (not local) that has X number of files on it. We'd like to use WinSCP to pull from that FTP server a file and then push it to AZURE storage without running WinSCP within Azure.

Currently we'd have WinSCP running on prem and connecting to the FTP server to grab a file and saving that file to a local/on-prem share. What we'd like to do is to instead of saving the file locally to push it to Azure storage. Is that possible with WinSCP? I found an article discussing something similar but it seemed to be where WinSCP is running within a Windows Instance on Azure. We simply want to change the destination of the file we are getting using WinSCP from on--prem to Azure storage. Is that possible with WinSCP?

FYI.. I am a data/dev guy and not a sysadmin so I may be asking some dumb questions or not providing needed information to answer the question.

Thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,392
Location:
Prague, Czechia

Re: Using WinSCP Locally to save to Azure Storage FTP Files from another location

It's not possible with WinSCP. And do not even know if Azure has such API that you might call from remote (your local) machine that would make it download a file from another remote FTP server.

Reply with quote

Guest

Re: Using WinSCP Locally to save to Azure Storage FTP Files from another location

Thanks for replying Martin. It is possible to upload a file via FTP to Azure per this Microsoft How-To but it requires using Visual Studio. I was hoping that WinSCP might already have somehow incorporated in its code the ability to do this being the over all push to use Azure. So if we aren't using Azure and just pulling a file via FTP from a website to local storage can WinSCP be used to do that automatically, on a schedule? We've been using FileZilla to do this manually but FileZilla has no automating capabilities and we won't to automate this.

Thanks

MS How-To: https://learn.microsoft.com/en-us/azure/storage/blobs/blob-upload-function-trigger

Reply with quote

martin
Site Admin
martin avatar

Re: Using WinSCP Locally to save to Azure Storage FTP Files from another location

Of course that you can run a code on Azure to do the download. But as you didn't want to run WinSCP on Azure, I didn't expect that you are willing to run anything else there. So do I now understand right that you are asking for WinSCP GUI to inject a code to Azure to facilitate the remote download? Sorry, that's unlikely to ever happen. That's imo too ad-hoc requirement. There are so many different cloud services, so many different remote storages.

Reply with quote

Advertisement

You can post new topics in this forum