spacer
cornerspacercorner
Reply
Occasional Advisor
HJM
Posts: 11
Registered: 04-08-2011
0 Kudos
Accepted Solution

FTP File Transfer

Hi,

 

In v7 of Metastorm, I was able to execute a run command as follows:

%Run("FTP.EXE"," -s:C:\BATCH_FTP.SCR")

 

The .SCR file had all of the connection information as well as the file information that needed to be transferred.

 

In v9 I am sure something similar would be included, but I have been unable to find a similar Run command to perform this function. 

 

Any information woudl be appreciated.

 

Thanks,

Harry

Advisor
jpesout
Posts: 11
Registered: 12-20-2010
0 Kudos

Re: FTP File Transfer

Occasional Advisor
HJM
Posts: 11
Registered: 04-08-2011
0 Kudos

Re: FTP File Transfer

Looks like i found my own answer.  Quite simple, really.

 

System.Diagnostics.Process.Start("C:\\Windows\\System32\\ftp.exe","-s:C:\\BATCH_FTP_COMMANDS.TXT");

 

I created a text file using "WriteToFile" that held my FTP commands and and this worked!

 

-Harry

line spacer line
spacerFollow Metastorm on:
spacer Twitter YouTube Blog iTunes LinkedIn Metastorm Community Central, MC2
spacer Copyright © 2011 OpenText Corporation. All Rights Reserved.spacer About Metastormspacer Privacyspacer Legalspacer Site Mapspacer RSSspacer Contact Us
Microsoft Gold Certified Partner
Powered by Windows Azure
line spacer line