Menu

#15 Channelsftp ls of a folder with backslash (\) in it

open-postponed
None
9
2009-12-22
2009-07-31
No

I use a channelsftP to' take files from the iPhone.. I have a directory in /private/var/mobile/Library/Mail named \something. I want to' get the list of files and folders in it so i use this command (after Open the session and the channel in vb.net):
dim c as channelsftp
c.get("/private/var/mobile/Library/Mail/\something/")
but it gives to' me an error of no such file..
And it's right.. Because if there's a file like this in the shell i have to' use 2 backslash(\\).
So i try this:
c.get("/private/var/mobile/Library/Mail/\\something/")
but it gives me the same error!
what i can do?
2 suggestions.. Can you add to' the get command a way to' get the entire folder and the same thing to' put?
And can you add to' the mkdir command a way to' create the full path name? For example /private/var it creates the private folder if it doesnt exist and after if doesnt exists it creates thevar folder in private..thanks for help!

Discussion

  • Emanuele Guzzetti

    • labels: 954550 -->
    • priority: 5 --> 9
     
  • Will Fitch

    Will Fitch - 2009-12-22
    • assigned_to: nobody --> fitchwh
    • status: open --> open-postponed
     
  • Will Fitch

    Will Fitch - 2009-12-22

    Hi Emanuele,

    Can you provide the OS/environment that you are accessing? This sounds like an issue with escaping within the library or even server-side.

     
  • Emanuele Guzzetti

    I'M accessing on an iphone 3g with firm 3.1.2 running openssh

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.