on 10-02-2014 9:01 AM
The executing file stop in the command ascii on
should be good if you attach all your commands file so we can test the whole file.
Regards.
Abdallah.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you checked http://www.topwizprogramming.com/freecode_ftpclient.html ?
Regards,
_________________
AUS Julián Tagarro
NeoSistemas SRL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yehuda,
I tested with PB12.5.2 and it works fine.
I use : run ("ftp -s:c:\temp\ftp_commands.txt remotemachine.domain.com ")
and the file ftp_commands.txt contains :
my_username
my_password
lcd c:\temp
cd /tmp
ascii on
put my_textfile
quit
the remote machine is a Unix machine. Do you have the ':' after the -s /
Regards.
Abdallah.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
23 | |
11 | |
9 | |
9 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.