Which extensions are available to upload data?
Hey, folks!
Which extensions for MMF2 Developer are available to upload data (other than the FTP object)? Not only am I having some difficulties with the FTP object, I don't want the FTP window to display while it interacts with the FTP server.
Yet, as I think about it, I can't think of any other extensions or objects which allow you to upload to a Web server. Are there any?
Thanks!
RGBreality
Re: Which extensions are available to upload data?
You can stick off the Frame the actions for interacting with your FTP no?
Re: Which extensions are available to upload data?
I haven't been able to find a way to reposition the FTP window. It always displays at 0,0 coordinates. Unlike other objects, the FTP object doesn't have positioning actions.
RGBreality
Re: Which extensions are available to upload data?
I'm pretty sure there's an option to display no FTP window or dialog.
Re: Which extensions are available to upload data?
Just inserting the FTP object into my frame and making it connect to my server, then upload a file, displays no window at all, other than my own application window...
Re: Which extensions are available to upload data?
Do you want to place a file on a server or just some values/strings? Because you could easily knock up some basic PHP and use the Get Object to create a system for storing online values/strings.
Otherwise FTP is going to be the easiest way to create an uploader.
Re: Which extensions are available to upload data?
Hmmm... Right now when I do testing on an FTP server that is on my Intranet (not a "very remote" FTP server), I see a "Data Transfer" window which has a "Cancel" button whenever data is uploaded or downloaded. Because I first download then upload the same file, the upload time takes longer. (I barely notice a "flicker" of the FTP download window.) But with the upload, it takes about 3 or 4 seconds to upload an INI file.
So, I can imagine that the window would display for a longer period of time when remote users use my application and connect from a longer distance to my FTP server.
Right now I am trying to place the FTP object in a Sub-application, then positioning the Sub-application off-frame (so theoretically the FTP window wouldn't be visible but would still do its thing). Unfortunately, even if I set an "Always" condition to position the Sub-application at a particular position off-screen, I still see the FTP object window when it uploads.
RGBreality
Re: Which extensions are available to upload data?
Think you could screenshot this window? I tried on both my XP and my Vista, and I see no transfer window. I even uploaded a file that took 2 minutes to upload.
Re: Which extensions are available to upload data?
There is a checkbox in the objects properties that lets you turn the ftp progress window off.
However there is no reason to do what you are doing.
Storing data using uploaded ini's is a bad idea. FTP passwords are sent in the clear, meaning that anyone who has your game/app could get your password then screw up your server.
If that's not what you are doing then I apologize in advance.
Re: Which extensions are available to upload data?
Hey, LB and UrbanMonk! Thanks for the replies!
Ah, disabling the progress check box did the trick! Thanks, UrbanMonk!
Actually, you are correct in how I'm using the FTP object and the INI file. I plan on encrypting the INI file so it wouldn't be tampered with. But I had not considered that the FTP password could be gleaned from the application.
Is there any way to encrypt the FTP password?
Thanks again for your help!
Most sincerely...
RGBreality
Re: Which extensions are available to upload data?
No, you can't. Whatever you do to the FTP password, it still has to be transmitted plaintext to the FTP server.
Since you have two topics going on here, in response to the other one: an alternative to using PHP would be to run a Lacewing server on the server computer, which uses server messages for saving/listing scores.
Re: Which extensions are available to upload data?
He can but in this way, and it is only ClientSide:
1) Encrypt your password without sent it to the FTP server.
2) When you want use the password, uncrypt it and send it to the FTP server.
You can use some extensions for crypt/uncrypt strings.
Re: Which extensions are available to upload data?
But then the user can just launch wireshark and read the password in plain text when it's sent to the FTP server?
Re: Which extensions are available to upload data?
Yes, but for some users this kind of software are useless, then not used.
But, just as it, i said ClientSide only, i must say : StupidClientSide only (lol), or: VisualSide only :o
Re: Which extensions are available to upload data?
Quote:
Originally Posted by Jamie
But then the user can just launch wireshark and read the password in plain text when it's sent to the FTP server?
Hi Jamie this looks scary !
I'm relaunching this thread because I need to do the following :
in my ( ongoing ) educational app , the teacher builds a test , the settings of which are stored in an INI file. The I want to let them deploy this test to their students. so I wanted to :
upload the ini file to a directory on my server when the teacher is done building it.
When the student launches the "test taker" app , it retrieves the ini file ( via the download object ? ) and launches the test. So the student can launch the test from virtually anywhere.
PROBLEM : the uploading part. Can I create a restricted FTP access to a directory ( and its subdirectories ) so the other directories on my server would not be tampered with ?
I could provide the teachers with a password to access this particular directory.
I'll check with my web host ( 1and1) though they rarel yanswer any question , I'll have to do some research.
Thanks for reading ,
eric