mikeytown2 Posted May 28, 2005 Share Posted May 28, 2005 InetGet("http://user:pass@mysite.com/file.txt", "c:\file.txt") Doesn't seem to work when i use a username and password. Does this function only work with the ftp protocol? I also tried it using https as well. My web server is running IIS. Any Ideas? Also how would i download a file directly into an array. Could i use the IniReadSection on the downloaded array then? Thanks -Mike Email: POP3 & SMTP using SSL/TLS (OpenSSL)Email: IMAPEmail: Base64 & SMTP login & Send email direct to MX Server (thanks blindwig)Win: Hook Registry ChangesWin: Read/Write to Alternate Data Streams (ini example)Utility: GPS Distance Calculations, Vincenty and Haversine formulas; angles and elevationUtility: Dell Laser Printer (3000-5100) - Print LoggerUtility: Reset Router when Wireless Link FailsUtility: ImageMagick Batch jpg ProcessorVideo HCenc Batch FrontendVideo: *DEAD* YouTube Video Encoder (avs/avi to flv)Software On CD's I Like<<back|track3 Ultimate Boot CD for Windows SpinRite Ubuntu ophcrack Link to comment Share on other sites More sharing options...
/dev/null Posted May 28, 2005 Share Posted May 28, 2005 InetGet("http://user:pass@mysite.com/file.txt", "c:\file.txt")Should work with http as well. Try it in your IE. If it does not work there,check the configuration of your Webserver. Most probably your are notusing HTTP basic authentication on the server, which I believe is what InetGet does when you use the above syntax. I think, "Integrated Authentication"(NTLM) does not work with InetGet.Also how would i download a file directly into an array. Could i use the IniReadSection on the downloaded array then?Check out this thread_GetSource(), From an URLCheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now