Vilian,
Please review FWPPC\samples\Ftp.prg
Vilian,
Please review FWPPC\samples\Ftp.prg
Antonio,
The FWPPC\samples\Ftp.prg does not function. The file is created in directory FTP but it is with size zero and program congeals.
Vilian,
Enrico developed ftp.prg sample, we may ask him. Enrico ?
It should work fine, as far as I know. Sorry, I haven't a pocket PC to test it. My friend Andrea Bruni tested it. Let me ask him... Done. I will report any answer here.
EMG
Richard,
We removed Enrico's sample function names as now wininet.prg is inside FWPPC
Richard,
I need a example of the FtpPutFile function. You have?
You may need this also
//
// access types for InternetOpen()
//
//
// manifests
//
//
// service types for InternetConnect()
//
//
// flags for FTP
//
Richard,
The file is created in directory FTP but it is with size zero and program congeals.
EnricoMaria wrote:It should work fine, as far as I know. Sorry, I haven't a pocket PC to test it. My friend Andrea Bruni tested it. Let me ask him... Done. I will report any answer here.
EMG
Vilian
Make sure you have the correct access on the server where you want to put the file and that there is no "Disk Quota" or something similar.
The code i sent you works OK.
We have several customers that use it, they send maintenance data from their pocket (via our application) to our server and receive back some other data. FWPPC works OK on this.
The only problem i can not handle properly at the moment is closing the gprs connexion (when used) "Always" . From time to time it remains open. I am working on it.
Hth
PS : What type of server are you uisng ? Linux ? Plex system ?
If using a plex system, make sure you address the main domain "userid and password", if not create sub domains
Richard
Richard,
We use Windows 2003 server. We are using the Activesync to connect the Pocket our net.
We obtain to have access directory ftp through IExplorer the Pocket.
Richard,
It forgives the insistence, but still I did not obtain to send archives saw ftp.
I have that to make some special configuration in mine pocket ?
You can execute in its pocket the example that I mounted to see if the archive arrives complete in my site?
Hello Vilian
Sorry i was on vacation for the last week. Needed some sunshine...
Back to FTP,
If you are connected to the PC (window 2003 server) from your pocket, then you are on a "local" connexion, in this case, ftp wil not work. You will need just a copy file to copy from the pocket to windows 2003 server. This is what we do when the pocket is local (never use ftp in local mode, we use cecopy instead to copy from the PC to the pocket)
Just make sure your pocket is "not connected" to the pc when you want to use ftp.
HTH
Richard