Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using FTP to pick up files from Unix server
Message
 
 
To
02/05/2001 10:38:05
Mark Evans
Business Systems Services (Uk) Limited
Swansea, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00502473
Message ID:
00504027
Views:
17
Mark,

Using the ShellExecute() API you can completely control the visibility of the DOS window while the FTP session is running. There's an article on my website, Q&A, General, qGEN010

Using SW_HIDE will make it invisible.
#define SW_HIDE             0
#define SW_SHOWNORMAL       1
#define SW_NORMAL           1
#define SW_SHOWMINIMIZED    2
#define SW_SHOWMAXIMIZED    3
#define SW_MAXIMIZE         3
#define SW_SHOWNOACTIVATE   4
#define SW_SHOW             5
#define SW_MINIMIZE         6
#define SW_SHOWMINNOACTIVE  7
#define SW_SHOWNA           8
#define SW_RESTORE          9
#define SW_SHOWDEFAULT      10
#define SW_FORCEMINIMIZE    11
#define SW_MAX              11
>Thanks for your reply. I'm trying to avoid using the command line FTP as you end up with a MSDOS command window being spawned and I think the end user might get annoyed with these windows appearing and dissapearing all the time.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform