ftp command

Kenneth Brody kenbrody at spamcop.net
Fri Sep 11 11:35:54 PDT 2009


Dennis Malen wrote:
> Ken,
> 
> Can you FTP from system command within filePro.
> 
> From Unix to Windows
> 
> Provide IP address of the host.
> Destination: C:\Documents and Settings
> Source: /tmp/filename
> 
> Is this concept a possibility?

I assume what you are really asking for is "is there a way from the command 
line to have ftp automatically transfer the file"?

The Windows version of ftp takes a "-s:filename" command line flag to pass a 
file which contains the commands to execute.  Create this file however you 
see fit, and then run it with:

     SYSTEM "ftp -s:/path/to/ftp/script/file hostname"

-- 
Kenneth Brody


More information about the Filepro-list mailing list