Beroc Posted January 19, 2006 Posted January 19, 2006 I post this here, because I logged a trouble ticket and got a (We dont support 3rd party software) response... Course, I found this exact error in the forums, and saw the (Open a trouble ticket on it) response.... Imagine that! I will start by briefly explaining how my site works: I made a program a year or so ago that talks to a com page on my site, this allows me to manipulate data on the site and upload files. It uses the msxml2.xmlhttp dll provided with Windows. I use it to upload data and files to my site, being aware that I can't upload a file greater then 2 mb. Next, I will explain my problem: Up until recently, don't know exactly how recently, All of this worked fine. Now it gives the following message: An appropriate representation of the requested resource /com.php could not be found on this server. It only gives this message when trying to upload a file, not when sending other data to the site. Has something recently changed on my server? Further more, here is the exact data that I send to it: --AaB03x Content-Disposition: form-data; name="text" upload --AaB03x Content-Disposition: attachment; name="userfile"; filename="D:lod2004lodappimagesxdreamcr20.txt" Content-Type: text/plain Data In File --AaB03x Quote
TCH-Andy Posted January 19, 2006 Posted January 19, 2006 welcome to the forums Beroc Have you checked your error log in cpanel - to see if that gives any more information ? I would also turn full error reporting on in PHP, and see what that gives. Quote
TCH-Don Posted January 19, 2006 Posted January 19, 2006 Welcome to the forums Beroc I am confused, you say this is a program you created and It uses the msxml2.xmlhttp dll provided with Windows. This is a Linux server. Is this program you created running on your computer or your web space? If it runs on your computer do you connect by domain or IP Quote
Beroc Posted January 20, 2006 Author Posted January 20, 2006 Welcome to the forums Beroc I am confused, you say this is a program you created and This is a Linux server. Is this program you created running on your computer or your web space? If it runs on your computer do you connect by domain or IP The dll is microsofts standard XML/HTML communications dll. Internet Explorer uses this to talk to the internet. This program runs on my screen and displays a web page that only the program can see. So I call it with an action to return data from the database(i.e. sql) and it gives back whatever I am asking it for, course you gotta ask it right, or you wont get anything. Either way, the requests and posts are correct, it reads and writes, however the file upload part doesnt work anymore. Mostly it is text files, and some small pictures, nothing major. I did do a test html page with a form and correct enctype, and successfullly uploaded a file to it. It seems kinda wierd that it would have changed without an upgrade or some such to the box it runs on. Quote
Beroc Posted January 20, 2006 Author Posted January 20, 2006 How do you connectdomain or IP ? Sorry... domain... should be something like: http://www.lod3d.net/com.php Quote
TCH-Bruce Posted January 20, 2006 Posted January 20, 2006 I don't know if this may be part of your problem but PHP was upgraded on all servers this month. Quote
TCH-Don Posted January 20, 2006 Posted January 20, 2006 Ok I was thinking that some servers had been moved and the IP changed so no help there. Quote
Beroc Posted January 20, 2006 Author Posted January 20, 2006 I don't know if this may be part of your problem but PHP was upgraded on all servers this month. This may be the cause of it. Perhaps the EncType and format has changed from what I first wrote. I may be able to pull that information in ASP, as I can pull a source feed from a standard web page, then simply format my string correctly in VB. Damn that's alot of work... LOL I will post whatever I find, cause I havent found this anywhere on the net. Quote
TCH-Rob Posted January 20, 2006 Posted January 20, 2006 Keep us posted and welcome to the forums. Quote
Beroc Posted January 24, 2006 Author Posted January 24, 2006 Well, nothing I did fixed it. The odd thing is that I have another site running on a different server, with the exact same code and it works. So, that being said, I turned the whole thing around and installed an ftp section in the program that is not so limiting as far as space, though, I wouldn't want to tell the guys on my site about that. Attached is the simpleftp code I pulled from Microsofts web site, or http://www.chilkatsoft.com has some cool activex dll's for use in that arena. Thanks guys. vbftp.zip Quote
stapel Posted January 24, 2006 Posted January 24, 2006 I have another site running on a different server, with the exact same code and it works.If you haven't already, you might want to provide this server information to Support. There may be some "in the background" difference between Server A (where the code is working) and Server B (where it isn't) that is more apparent to Support than to "front end" users. Perhaps that difference (if it exists) would help nail down where the problem is or what adjustment needs to be made to the coding. Good luck! Eliz. Quote
Beroc Posted January 24, 2006 Author Posted January 24, 2006 If you haven't already, you might want to provide this server information to Support. There may be some "in the background" difference between Server A (where the code is working) and Server B (where it isn't) that is more apparent to Support than to "front end" users. Perhaps that difference (if it exists) would help nail down where the problem is or what adjustment needs to be made to the coding. Good luck! Eliz. I will collect that info and give it off to ya. Quote
Beroc Posted January 26, 2006 Author Posted January 26, 2006 Dammit.... The other site uses ftp... that sucks. Oh well, we'll just not worry too much about this. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.