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
Professional Software Development Tools
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
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!!
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
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!!
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
do you have permission to chmod the file and also read the small print!
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 commandnote: this is a server-specific command, it may not work on all servers
Open your eyes to Narcissism, Don't let her destroy your life!!
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![]()
command server some part opposite in command you see on status tab in FlashFXP in CHMOD and apply to AMS FTP.Command( ......... ) and luck![]()
thanx, I'm look in command in Chmod FlashFxp
but I do not know how to introduce the ftp command in ams
thanx advance
have you tryed the symbolic permissions string for CHMOD 755 (-rwxr-xr-x)
dont know if it will work, but its worth a try0 = --- = 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)
Open your eyes to Narcissism, Don't let her destroy your life!!
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
Try it with 0755, maybe this will work.
If you have a windows-server, chmod not works.