Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 7329

Trending Articles



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