Jump to content

Read a .TXT File Hosted Online..?


 Share

Recommended Posts

Is there anyway to do a _FileReadToArray with _INetGetSource without having to download the .txt file to disk..??

I have a hosted .txt file that has a website URL on each line that needs to get read into an Array so that i can use each URL on the .txt in a For Statement..??

Link to comment
Share on other sites

Is there anyway to do a _FileReadToArray with _INetGetSource without having to download the .txt file to disk..??

I have a hosted .txt file that has a website URL on each line that needs to get read into an Array so that i can use each URL on the .txt in a For Statement..??

you should be able to use _INetGetSource to get the file to memory then use string split with a line end character

edit: read help file notes about using @CRLF... you should only use @CR OR @LF

Edited by JohnMC
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...