![]() #DEFINE INTERNET_FLAG_FROM_CACHE 16777216 Thanks in advance for your help, and for the patience in reading this long message. Just remove the asterisc from whatever you want to test. It is part of a larger code but i pasted only the relevant parts, declare the inicial parameters and then to use it there is a section in the middle with: I think they might be some sort of checkdigit bytes or something, and that probably this can be solved configuring some of the parameters in the code but i realy have no experience with this comunications stuff.Ĭan anyone help, has anyone any experience with this sort of stuff? This is true for any file, but the number of bytes added is *roughly* aritmetic, twice the size twice the number of extra bytes. If i use this code to download that file the file size becames 136.508 bytes on disk! If i download the file with some FTP program the file is downloaded correctly with the same 133.696 bytes. If i use this code to download that same file the file size increases!įrom that i can conclude that the problem is not in the upload part of the code.Īs an example, if i upload "samples.vct" (133.696 bytes on disc) i have no problem, on the server the file keeps those same 133.696 bytes. If i download that file using an FTP program the file is downloaded with no problem. I can upload a file to the server with no problem, i check the file size and all is OK. The code has 3 procedures, UPLOAD_FTP (to upload files to the server), DOWNLOAD_FTP (to download files from the server) and DELETE_FTP (to delete files on the server).īoth UPLOAD and DELETE work perfectly, only DOWNLOAD has problems. Maybe some of you have experience working with this stuff and can give me a helping hand, either by correcting the problem with this code or directing me to some other code that does the same thing. ![]() The code i am using i took from some other VFP support site but it was so long ago that i can't remember where (i only started trying to implement it now) so i can't contact them to help me. Hi, i'm trying to use FTP integrated in VFP 7 and Win XP SP2 to upload/download/delete files in an FTP server but with limited success. If there is a more apropriate place please be so kind as directing me to it. I tried looking for a VFP 7 specific forum, since to this problem it is irrelevant (i think) which version of VFP i'm usding i posted here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |