Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8372

Re: using ftp with a command file as run("ftp -s" + file attachement")

$
0
0

I prefer to first build a separate string containing the actual command and then passing that to the run() command.  Makes it easier to determine if the string is (in)correct.  So something basc like:

 

string     ls_run, ls_filename

ls_run = "ftp -s " + ls_filename

run(ls_run, Minimized!)

 

Just by looking at your code, I would expect that you are missing a space after the -s" , but without knowing what 'file attachement' looks like, I can't say for sure.


Viewing all articles
Browse latest Browse all 8372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>