EricF Posted December 28, 2007 Share Posted December 28, 2007 Hello, I try to use a FTP command-line program to upload files. Run("ftp-it.exe myfile.ext") The program is FTP-It and return "Error during FTP connection". When A run this command by a copy and paste, It works. I think the problem is from the parameter. How to put it between double-quotes ? Link to comment Share on other sites More sharing options...
Valuater Posted December 28, 2007 Share Posted December 28, 2007 Maybe... $test = 'ftp-it.exe "myfile.ext"' MsgBox(0,0, $test) ;Run($test) 8) Link to comment Share on other sites More sharing options...
EricF Posted January 2, 2008 Author Share Posted January 2, 2008 I have the same problem with this syntax. Link to comment Share on other sites More sharing options...
Morris Posted January 2, 2008 Share Posted January 2, 2008 My issue may be similar to yours. I have the following command I'm trying to run: "C:\Program Files\SPSSInc\SPSS16\law.exe" -is:javahome "C:\Program Files\SPSSInc\SPSS16\JRE" -s:silent This can be formed into a legitimate string by: '"C:\Program Files\SPSSInc\SPSS16\law.exe" -is:javahome "C:\Program Files\SPSSInc\SPSS16\JRE" -s:silent' It errors using the AutoIT Run command and in the XP Pro command line (cmd). However, it operates correctly if entered into Start -> Run. There is some difference between the two that I haven't figured out yet. Perhaps someone knows. Link to comment Share on other sites More sharing options...
EricF Posted January 3, 2008 Author Share Posted January 3, 2008 Is anyone has already used a FTP connection with AutoIt ? Link to comment Share on other sites More sharing options...
weaponx Posted January 3, 2008 Share Posted January 3, 2008 There is an FTP UDF:http://www.autoitscript.com/forum/index.ph...2473&hl=ftp Link to comment Share on other sites More sharing options...
EricF Posted January 4, 2008 Author Share Posted January 4, 2008 I have already tested this script, it don't works ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now