Author Topic: Need to know the current path.  (Read 23238 times)

Raj

  • Guest
Need to know the current path.
« on: November 03, 2008, 10:57:51 AM »
Hi Mike,

I have an active connection with wclFTPClient.
I need to get all files in particular folder of the mobile,it include the subfolder into it.

I am facing the problem that I am not getting the current path, like wclFtpClient have setPath method, does wcl library expose some method to get current path.

and

can I set the path like  "//e:/Images/mypictures"

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Need to know the current path.
« Reply #1 on: November 03, 2008, 11:20:08 AM »
Good day!

Unfrtunatelly no, OBEX FTP protocol does not provide such functions (this is no library's limitation). The good idea is t store your path in variable and modify it when you change the path.

Raj

  • Guest
Re: Need to know the current path.
« Reply #2 on: November 03, 2008, 12:13:41 PM »
can I set the path like  "//e:/Images/mypictures"

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Need to know the current path.
« Reply #3 on: November 03, 2008, 12:17:27 PM »
No. Unfortunatelly you can't. Only one folder down or up. Or to the root dir

Raj

  • Guest
Re: Need to know the current path.
« Reply #4 on: November 03, 2008, 01:10:26 PM »
can we pull a folder directly over bluetooth ?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Need to know the current path.
« Reply #5 on: November 03, 2008, 02:38:29 PM »
OBEX FTP protocol allows only operations provided by the library:

1. Get directory listing
2. Put 1 file
3. Create directory
4. Delete directory (if empty)
5. Delete file
6. Move one directory up or down
7. Move to the root directory from any location
8. Get file

All other things should be based on this operations. No other operations are provided/allowed.

 

Sitemap 1 2 3 4 5 6 7