Welcome! Log In Create A New Profile

Advanced

Transferring Files using USB cable to PC in WD Mobile

Posted by Mitchell 
Mitchell
Transferring Files using USB cable to PC in WD Mobile
February 08, 2009 10:40AM
Dear guys,
can somebody advise me how to transfer files (i.e, text files or any file) inside Windev Mobile button controls

scenario : (on windev mobile application)

MybuttonConnect - on click, the file will transfer to local PC .

hardware :
local pc - connected to the USB dockign station of handheld

connectivity :
a docking station with handheld device connected to local pc using USB cable.

Thanks in advance

regards
mikz
Merijn van der Wijk
Re: Transferring Files using USB cable to PC in WD Mobile
February 08, 2009 11:30AM
Mikz,

I would use fCopyFile for this.

HTH
Merijn


Hi there Merijin,
how would you code in WD Mobile by using Fcopyfile command? , Fcopyfile works only in transferring from Handheld using WIFI/LAN with a UNC parameters...

I tried this fcopyfile("\Program Files\Inventory\*.txt", "C:\temp\")

but unfortunately does not work.... :-(

can u share your code pls? :-(

thanks
Merijn van der Wijk
Re: Transferring Files using USB cable to PC in WD Mobile
February 10, 2009 08:50PM
Mitchell,

Just looked into it.
You are right fCopyFile can only access Networkshares e.g.:
fCopyfile("\Program Files\Inventory\*.txt", "\\NetShare\RemoteDir")

And this indeed requires a WiFi / LAN / GPRS connection.

Merijn
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: