F3 in iPhone directory -> Search path not found!
Moderators: white, Hacker, petermad, Stefan2
F3 in iPhone directory -> Search path not found!
When trying to view (F3) JPG file on my iPhone I get an error "Search path not found!"
- ghisler(Author)
- Site Admin
- Posts: 48231
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: F3 in iPhone directory -> Search path not found!
Unfortunately you cannot view files in virtual folders, the same doesn't work with Android or MP3 players.
Reason: There is no file to access. On Windows Vista and newer, there is a way to get an IStream interface to read the data. However, this would only work with lister's internal methods. It wouldn't work with any Lister plugins.
Reason: There is no file to access. On Windows Vista and newer, there is a way to get an IStream interface to read the data. However, this would only work with lister's internal methods. It wouldn't work with any Lister plugins.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: F3 in iPhone directory -> Search path not found!
2mbillig02
You can in most cases browse your phone with the "Windows Media Audio 2" plugin: https://plugins.ghisler.com/fsplugins/wpdplug.zip (don't let the name of the plugin think that you can't use it for this). And with this plugin you can view files with F3
You can in most cases browse your phone with the "Windows Media Audio 2" plugin: https://plugins.ghisler.com/fsplugins/wpdplug.zip (don't let the name of the plugin think that you can't use it for this). And with this plugin you can view files with F3
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: F3 in iPhone directory -> Search path not found!
those Device, which have no Drive Letter, can be get as virtual Folder like ZIP Fileghisler(Author) wrote: ↑2020-02-11, 09:28 UTC Unfortunately you cannot view files in virtual folders, the same doesn't work with Android or MP3 players.
Image: https://www.hmgforum.com/download/file.php?id=9617
Code: Select all
FUNCTION GetDeviceList()
LOCAL oShell,oFolder ,oItems, oItem
LOCAL cName
LOCAL i, iMax
Form_1.Tree_COMPUTER.DeleteAllItems
oShell := CreateObject( "shell.application" )
IF NIL <> oShell
oFolder := oShell:NameSpace( CSIDL_DRIVES ) // 0x0011 // My Computer
IF NIL <> oFolder
oItems := oFolder:Items()
iMax := oItems:Count
aDevices := {}
FOR i := 1 TO iMax
oItem := oItems:Item( i - 1 )
IF !EMPTY( oItem )
aAdd(aDevices, oItem)
cName := UPPER( oItem:name )
// add item to tree
Form_1.TREE_COMPUTER.AddItem(cName,0, len(aDevices))
ENDIF
NEXT i
ENDIF
ENDIF
RETURN
Code: Select all
PROCEDURE ScanDevice(oDevice, nParent, cParent)
...
oStorageFolder := oDevice:GetFolder:items
...
iMax := oStorageFolder:Count
// directories first
FOR i = 1 TO iMax
oStorageFile := oStorageFolder:Item( i - 1 )
if !empty(oStorageFile)
if oStorageFile:IsFolder
nItemID++
Form_1.Tree_1.AddItem( oStorageFile:name, nParent, nItemID)
// recursiv
ScanDevice( oStorageFile, nItemID, oStorageFile:name )
endif
endif
next i
// and now, rest of files
FOR i = 1 TO iMax
oStorageFile := oStorageFolder:Item( i - 1 )
if !empty( oStorageFile )
xItem := {oStorageFile:name }
// abandon links
if oStorageFile:IsLink
loop
endif
//abandon directories
if oStorageFile:IsFolder
loop
endif
nItemID++
Form_1.Tree_1.AddItem( oStorageFile:name, nParent, nItemID)
endif
next i
END SEQUENCE
oStorageFile := NIL
oStorageFolder := NIL
RETURN
- ghisler(Author)
- Site Admin
- Posts: 48231
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: F3 in iPhone directory -> Search path not found!
I'm already doing this, but can you somehow get an iStream or so for the actual file data?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: F3 in iPhone directory -> Search path not found!
hi,
that is why i talk about virtual Folder like ZIP while using same Method CopyHere() / MoveHere()
that is why i talk about virtual Folder like ZIP while using same Method CopyHere() / MoveHere()
Code: Select all
IF NIL <> xFolder
xItems := xFolder:GetFolder:Items()
IF lTransfer = .T.
CopyFiles( xItems, cTarget, lMove )
Code: Select all
Function CopyFiles(oDirFolder, cTarget, lMove )
LOCAL oNewSH := CreateObject( "Shell.Application" )
LOCAL oTarget := oNewSH:NameSpace( cTarget )
LOCAL i, iMax := oDirFolder:Count
...
FOR i := 1 TO iMax
// get Item Object
oFile := oDirFolder:Item( i - 1 )
IF lMove = .T.
// move single Object file
oTarget:MoveHere( oFile, xFlag )
ELSE
// copy single Object file
oTarget:CopyHere( oFile, xFlag )
ENDIF
// wait until all files are written
xCount := 0
DO WHILE .T.
// compare if file is written
nCount := oTarget:items() :Count()
IF nCount + nSkip >= i
EXIT
ENDIF
hb_idleSleep( 0.1 )
xCount ++
IF xCount > 50
EXIT
ENDIF
ENDDO
NEXT
- ghisler(Author)
- Site Admin
- Posts: 48231
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: F3 in iPhone directory -> Search path not found!
Yes, TC can already copy and move files from/to virtual folders. But that's not the point here - I need to access the content directly to view them.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: F3 in iPhone directory -> Search path not found!
hi,
you have to (temporary) extract it and than you can view it.
can you view file "in" zip directghisler(Author) wrote: ↑2020-07-13, 13:55 UTC Yes, TC can already copy and move files from/to virtual folders. But that's not the point here - I need to access the content directly to view them.
you have to (temporary) extract it and than you can view it.