Jump to content

Latest Files from FTP


This topic is 2159 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi Guys,

I currently use Insert URL in order to download certain files from an external FTP location, which I have managed to get working perfectly using the following curl options

--user " & $usr & ":" & $pw & " -o Stock-Summary.csv"

This works as hoped and downloads the file from the FTP, however, the company who provides us with these files has "moved the goalposts" so to speak.

For whatever reason they are now prefixing and suffixing random numbers to said file, so I need to tweak this to somehow only get the latest version of this file which now looks something like this -

Quote

7818023-Stock_Summary-035831

Any advice or different approaches would be greatly appreciated as I am simply a novice trying to help out a family friend.

 

Thanks

Link to comment
Share on other sites

This topic is 2159 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.