Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-06-2009, 02:33 PM
ajetrumpet's Avatar
ajetrumpet ajetrumpet is offline Checking for DOS executions Windows Vista Checking for DOS executions Office 2003
Novice
Checking for DOS executions
 
Join Date: Jul 2009
Location: Iowa City, IA
Posts: 11
ajetrumpet is on a distinguished road
Default Checking for DOS executions

all, I have this line of code:
PHP Code:
Shell "ftp -n -i -g -s:" vPath "\FtpComm.txt " vFTPServvbhide 
it executes a series of ftp commands in the DOS window using the txt file that is referenced. What I want is an indication of when the file has stopped executing and the DOS window is closed. That will tell me that my files are done uploading or downloading. Does anyone know if this is possible? Thanks!


the txt file uses the following code:
PHP Code:
vPath "C:"


vFTPServ Me.Combo1
vFile 
Me.List27
fNum 
FreeFile()

Open vPath "\FtpComm.txt" For Output As #fNum
Print #1, "USER " & sFtpUserName ' your login
Print #1, sFtpPassword ' your password
Print #1, "put " & """" & CurDir & vFile & """"
Print #1, "close" ' close connection
Print #1, "quit" ' Quit ftp program
Close 
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking a user's schedule through Outlook when the application is run as admin rvpp999 Outlook 0 04-14-2009 09:48 PM
Checking for data corruption in Word mart12 Word 0 12-18-2008 03:27 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft