I need to upload image files to a live server. I have an old Secure SRT 3.0
I can SSH to the server and work there directly but I am not allowed to change any settings.

Since on the live server there is no X modem, or Z modem, or FTP, nothing, so it will be well protected against it's own developers, I wrote a script, small web page that takes a file I need to upload from my hard drive and uploads it to the server directory. After that every time I deleted the script.

It worked fine for a year till something happened or they changed something again in permissions or something. Now it uploads file with errors, the size of the file is always 0.

On the dev server it's still fine. I am running out of options now. If I upload the image to dev server, is there any possibility to copy it to the live server using secureCRT somehow?

    They may have upgraded the PHP version which imposed some limitations on old scripts. The main one being that register_globals is turned off. That means you can no longer have a form element's name automatically become a server side variable. It was a big security hole and needed to be closed.

    If you could post your upload script I can help you update it to relfect the new settings.

      You can use winscp - runs over the same protocols ssh (securecrt is a ssh client) uses, lets you upload files just like a FTP client.

        Write a Reply...