Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP Class problem and Fix...
Message
From
01/12/1998 10:46:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
FTP Class problem and Fix...
Miscellaneous
Thread ID:
00162779
Message ID:
00162779
Views:
58
For those of you who have downloaded the FTP class I wrote, a user notified me of a problem. When a file is downloaded from a server, the file attributes are not right. After looking into the problem, I discovered I messed up with the File Attribute Values I used.

So if you are using the FTP, please insert the following defines in the FTP.PRG file and **remove** the old defines.

#define FILE_ATTRIBUTE_READONLY 1
#define FILE_ATTRIBUTE_HIDDEN 2
#define FILE_ATTRIBUTE_SYSTEM 4
#define FILE_ATTRIBUTE_DIRECTORY 16
#define FILE_ATTRIBUTE_ARCHIVE 32
#define FILE_ATTRIBUTE_ENCRYPTED 64
#define FILE_ATTRIBUTE_NORMAL 128
#define FILE_ATTRIBUTE_TEMPORARY 256
#define FILE_ATTRIBUTE_SPARSE_FILE 512
#define FILE_ATTRIBUTE_REPARSE_POINT 1024
#define FILE_ATTRIBUTE_COMPRESSED 2048
#define FILE_ATTRIBUTE_OFFLINE 4096

I will also get an updated version up to the server here.

Rob.
Reply
Map
View

Click here to load this message in the networking platform