Inet tool? Help! I dont konw what the code does!
what does this do?
Inet1.Execute , "GET scores.txt C:\temp\scores" & DataID & ".txt"
Inet1.Execute , "PUT C:\temp\scores" & DataID & ".txt scores.txt"
DataID = (Form1.Rand(1, 999999))
Inet1.Execute , "GET scores.txt C:\temp\scores" & DataID & ".txt"
Inet1.Execute , "Send C:\temp\scores" & DataID & ".txt scores.txt"
This is from different subs and such. I just dont know what it does...
Re: Inet tool? Help! I dont konw what the code does!
get and put are ftp commands when connected to a ftp server, upload or download a file
afaik put and send do the same
Re: Inet tool? Help! I dont konw what the code does!
Okay. So, an ftp server, would i put that in the url property of it? and i still dont understand. Is the GET scores.txt, the Scores.txt, the file name going to be saved? or the file it is getting off the web? how do i set up a server to do this?
Re: Inet tool? Help! I dont konw what the code does!
get gets from server
put puts on server
generally you should use code to suit your facilities, not create a new server to suit some code
setting up a ftp server is not really within the scope of this forum, search on google, or see if your isp has ftp services available for your use
Re: Inet tool? Help! I dont konw what the code does!
ooooooh. i get it. I'll try to test it out and reply if i can't get it to work.