Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 30
  1. #1
    Join Date
    Oct 2008
    Posts
    51

    Grin FTP plugin -- question --

    Hi all,

    I'm a question, with the FTP plugin, is it possible to start an executable that is located on a server

    thanx for reply

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    i dont think u can execute a file on a ftp server , correct me if im wrong , but if a user could execute a file, this would leave a ftp server open to trojan or malware attacks
    Open your eyes to Narcissism, Don't let her destroy your life!!

  3. #3
    Join Date
    Oct 2008
    Posts
    51
    my question is wrong to ask, but I have difficulty in English, sorry

    I'm a sat decoder that runs under Linux with plug executable

    and I saw a post that speaks of Commende chmod 755, but same, not to change the attribute file 644 in 755

    but by running a plugin on the decoder sat, is possible to change the 644 in 755

    my question is, with ams and ftp plugin, I can run the linux plugin is located on the decoder sat and modifying attribute 644 in 755

    thanx

  4. #4
    Join Date
    May 2006
    Posts
    5,380
    yes, use the FTP.Command action

    FTP.Command (string Command);
    Description:

    Performs a custom FTP command on the FTP server.
    Command:

    (string) Any valid FTP command or any server-specific command.
    Returns:

    Nothing.
    Example:

    -- set access permissions for foo.txt
    -- so the owner can read+write, but everyone else can only read
    -- note: this is a server-specific command, it may not work on all servers
    FTP.Command("SITE CHMOD 644 foo.txt");
    Open your eyes to Narcissism, Don't let her destroy your life!!

  5. #5
    Join Date
    Oct 2008
    Posts
    51
    I'm tested this command but it is not ok

    this file transfered is attribut 644 not 755

    I test to FTP.Command("chmod /var/bin/myfile 755"); not ok
    FTP.Command("SITE CHMOD 755 foo.txt"); not ok
    FTP.Command("chmod 755 "..filename..exten); not ok
    FTP.Command("chmod ..filename..exten 755"); not ok

    I not understand

    thanx

  6. #6
    Join Date
    May 2006
    Posts
    5,380
    do you have permission to chmod the file and also read the small print!

    note: this is a server-specific command, it may not work on all servers
    if its not working contact you ftp host and ask for there help as i dont see it as a AMS problem and only your ftp host can tell you the correct way to send this command
    Open your eyes to Narcissism, Don't let her destroy your life!!

  7. #7
    Join Date
    Oct 2008
    Posts
    51
    this decoder sat is in my home in RESAU with my computer, for send files in decoder sat i'm use the ftp command hostname, user name and passeword.

    if I use the software FlashFXP for connect the decoder sat I can change the attribute 644 in 755, permission is ok for change

    thanx for your reply

  8. #8
    Join Date
    Oct 2008
    Posts
    21

    Talking

    command server some part opposite in command you see on status tab in FlashFXP in CHMOD and apply to AMS FTP.Command( ......... ) and luck

  9. #9
    Join Date
    Oct 2008
    Posts
    51
    thanx, I'm look in command in Chmod FlashFxp

    but I do not know how to introduce the ftp command in ams

    thanx advance
    Attached Images

  10. #10
    Join Date
    May 2006
    Posts
    5,380
    have you tryed the symbolic permissions string for CHMOD 755 (-rwxr-xr-x)

    0 = --- = no access
    1 = --x = execute
    2 = -w- = write
    3 = -wx = write and execute
    4 = r-- = read
    5 = r-x = read and execute
    6 = rw- = read and write
    7 = rwx = read write execute (full access)
    dont know if it will work, but its worth a try
    Open your eyes to Narcissism, Don't let her destroy your life!!

  11. #11
    Join Date
    Oct 2008
    Posts
    51
    I'm tested
    if combo_text == "/my/test/" then
    FTP.Command("hostname chmod gbox.nab rwx"); not ok
    FTP.ChangeDir("/my/test")
    end


    FTP.Upload(result, filename, UploadProgression);

    FTP.Command("hostname chmod file (-rwxr-xr-x)); not ok
    FTP.Command("chmod file (-rwxr-xr-x)); not ok

    but I do not know if it is well written
    if I change the attribute file of 644 to 755 with FlashFXP no prob
    after I transfer the same file with ftp ams and the file has the attribute 755 and not 644
    what is Bizard
    thanx

  12. #12
    Join Date
    Jun 2008
    Posts
    108
    Try it with 0755, maybe this will work.

    If you have a windows-server, chmod not works.

  13. #13
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Quote Originally Posted by presidente View Post
    Try it with 0755, maybe this will work.

    If you have a windows-server, chmod not works.
    I have a windows server (FileZilla) it works fine though...
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  14. #14
    Join Date
    Oct 2008
    Posts
    51
    Quote Originally Posted by C B programming and webdesign View Post
    I have a windows server (FileZilla) it works fine though...

    hello, CB programming and webdesign you know tell me how you did to make it work (an example)

    thank you for answers

  15. #15
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Quote Originally Posted by sided View Post
    hello, CB programming and webdesign you know tell me how you did to make it work (an example)

    thank you for answers
    i ment that chmodding works fine, i tried with some VB applications, i havn't tried with AMS yet, i'll try some later
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

Similar Threads

  1. Secure FTP Action Plugin
    By Ulrich in forum AutoPlay Media Studio 7.5 Plugins
    Replies: 22
    Last Post: 09-01-2011, 08:20 PM
  2. A few problems with FTP plugin
    By AxemanMK in forum Setup Factory 7.0
    Replies: 5
    Last Post: 03-17-2009, 05:11 PM
  3. FTP Plugin Problem with large files (2gb+)
    By christhomas in forum AutoPlay Media Studio 7.5
    Replies: 1
    Last Post: 09-02-2008, 04:23 PM
  4. Need a little FTP Plugin help
    By Animl in forum AutoPlay Media Studio 6.0
    Replies: 6
    Last Post: 10-05-2006, 02:19 PM
  5. Spotlight: FTP File Transfer Plugin
    By Desmond in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 03-10-2004, 09:34 PM

Posting Permissions

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