Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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

Posted
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.

Posted
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.

Posted

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

Posted
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.

Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...