Sign in to follow this  
Followers 0
Fargo

InetGet without Filename?!

8 posts in this topic

I want to download small text files from the Internet and put contents of each file into a variable. I tried InetGet without passing the optional filename parameter to it. I thought by doing this, I'd get the downloaded file content by return, but I was wrong. So, where does InetGet save the file when no filename is given to it?!

Thank you.

Share this post


Link to post
Share on other sites



The file name is not optional, only whether to overwrite it and to pause the script while it downloads.

The ones in the [] are optional, the others are not.

InetGet ( "URL", "filename" [, reload [, background]] )

Share this post


Link to post
Share on other sites

The file name is not optional, only whether to overwrite it and to pause the script while it downloads.

The ones in the [] are optional, the others are not.

Correction: In the Beta Helpfile is optional

Where does it download seems like a good question to ask. :whistle:

Share this post


Link to post
Share on other sites

Believe it or not, I have ver.3.1.1.132 and here how it looks like:

InetGet ( "URL" [,"filename" [, reload [, background]]] )

I even run a test code without filename and it did not complain.

Share this post


Link to post
Share on other sites

Hmm, your right(my help file was out of date :whistle:). I'm not sure. It isnt very well documented, there is nothing in the remarks for this. I will do a few tests to see.

Share this post


Link to post
Share on other sites

Seems like if I run it without the filename it just doesn't run... although @error is set to 0

Share this post


Link to post
Share on other sites

any help?

Share this post


Link to post
Share on other sites

The filename is not optional unless you use "abort" for the URL. If you are trying to download a file, you must specify a filename to download to.

Share this post


Link to post
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
Sign in to follow this  
Followers 0