User Tag List

Results 1 to 5 of 5

Thread: File Permissions

  1. #1
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    File Permissions

    Is there an extension for MMF2 that has the ability to change file permissions? I need it for a small project I am working on that acts as an updater for iPhones and iPod Touches, and they both require that file permissions are set to 0755.

  2. #2
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: File Permissions

    The windows file permissions can be set using the CACLS command in the cmd (you can use the pipe object), but I don't think that is the problem in your case. What generates the permission error?

  3. #3
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: File Permissions

    Quote Originally Posted by raytrace
    What generates the permission error?
    I don't know what you mean, as I'm not getting any errors. I'm simply looking for a way to change the permissions on a file easily. This can be done in programs like WinSCP, which I actually use for my iPhone all the time. The application I am making in MMF2 can communicate with the iPhone, and send and receive files, but they do not work correctly in my application because the file permissions need to be set to 0755 to be compatible with the iPhone.

  4. #4
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: File Permissions

    ah ok its ftp. That means you're probably talking about file permissions on a unix based system. You can use the unix command CHMOD to change permissions but you cant do this on the windows system. Check to see if the FTP object has a CHMOD command - if not you might have to use a php script or run a script on the iPhone itself

    have a look at http://en.wikipedia.org/wiki/Chmod

  5. #5
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: File Permissions

    Nope no CHMOD commands on the ftp object and I can't write php for this. Everything works, I can add, delete, and move files around from and to the iPhone wirelessly, but the files I put on don't work because of the file permissions. Is there any feature lying around on any of the current extensions that can achieve this?

Similar Threads

  1. Android Permissions
    By Yves in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 17th July 2013, 10:29 PM
  2. 32 or 64 detection and File Permissions
    By Chaim in forum Install Creator and Patch Maker
    Replies: 4
    Last Post: 23rd April 2012, 03:07 PM
  3. ICP file permissions
    By andic in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 27th March 2011, 07:00 PM
  4. Vista file permissions issue
    By Spitz in forum Install Creator and Patch Maker
    Replies: 46
    Last Post: 15th May 2008, 10:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •