Click here to Skip to main content
16,018,650 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Sending a filename to a Fortran app Pin
Dave Kreskowiak20-May-07 4:42
mveDave Kreskowiak20-May-07 4:42 
QuestionCondition Property Syntax Pin
Karma3125117-May-07 9:25
Karma3125117-May-07 9:25 
QuestionService deployment question? Pin
tcombs0717-May-07 8:53
tcombs0717-May-07 8:53 
AnswerRe: Service deployment question? Pin
Joseph Guadagno17-May-07 10:15
Joseph Guadagno17-May-07 10:15 
QuestionLooking for existing data... Pin
CCG317-May-07 7:35
CCG317-May-07 7:35 
AnswerRe: Looking for existing data... Pin
Dave Kreskowiak17-May-07 7:55
mveDave Kreskowiak17-May-07 7:55 
Questionshell return value Pin
tj2817-May-07 4:50
tj2817-May-07 4:50 
AnswerRe: shell return value Pin
Dave Kreskowiak17-May-07 5:05
mveDave Kreskowiak17-May-07 5:05 
This has the makings of a nightmare...

First, you're app is writing a script file, then launching an external application which executes the script. Is this FTP a DOS app or a Windows app?? If DOS, then you need to pipe the FTP app's output to another file using a command line similar to:
ftp -s:scriptname > C:\ftpOutput.txt

When the Shell statement returns, you have to open the ftpOutput.txt file and read its contents and parse it up, looking for keywords that should tell you if the transfer was successful or not.

This WILL NOT WORK if FTP is a Windows app!

The best solution is to scrap all this and rewrite a new app using an actual FTP component in your app where you'll have FAR more control over the transfer process and the results of it.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


AnswerRe: shell return value Pin
tj2817-May-07 5:24
tj2817-May-07 5:24 
GeneralRe: shell return value Pin
Dave Kreskowiak17-May-07 5:29
mveDave Kreskowiak17-May-07 5:29 
QuestionBackground image in VB.net Pin
Brizee17-May-07 4:25
Brizee17-May-07 4:25 
AnswerRe: Background image in VB.net Pin
Dave Kreskowiak17-May-07 5:38
mveDave Kreskowiak17-May-07 5:38 
GeneralRe: Background image in VB.net Pin
Brizee17-May-07 5:57
Brizee17-May-07 5:57 
GeneralRe: Background image in VB.net Pin
Dave Kreskowiak17-May-07 6:16
mveDave Kreskowiak17-May-07 6:16 
GeneralRe: Background image in VB.net Pin
Brizee17-May-07 12:49
Brizee17-May-07 12:49 
GeneralRe: Background image in VB.net Pin
Dave Kreskowiak17-May-07 15:21
mveDave Kreskowiak17-May-07 15:21 
GeneralRe: Background image in VB.net Pin
Brizee17-May-07 22:27
Brizee17-May-07 22:27 
GeneralRe: Background image in VB.net Pin
Dave Kreskowiak18-May-07 12:47
mveDave Kreskowiak18-May-07 12:47 
QuestionEnumChildWindows Pin
Knoen17-May-07 3:33
Knoen17-May-07 3:33 
AnswerRe: EnumChildWindows Pin
Duncan Edwards Jones17-May-07 4:07
professionalDuncan Edwards Jones17-May-07 4:07 
GeneralRe: EnumChildWindows Pin
Knoen17-May-07 4:18
Knoen17-May-07 4:18 
QuestionCountdown Timer Pin
Brizee17-May-07 3:01
Brizee17-May-07 3:01 
AnswerRe: Countdown Timer Pin
Tarakeshwar Reddy17-May-07 3:48
professionalTarakeshwar Reddy17-May-07 3:48 
GeneralRe: Countdown Timer Pin
Brizee17-May-07 4:17
Brizee17-May-07 4:17 
GeneralRe: Countdown Timer Pin
jchigg200017-May-07 10:28
jchigg200017-May-07 10:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.