Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: CWD to directory which name contain spaces

by remiah (Hermit)
on Aug 27, 2012 at 12:43 UTC ( #989980=note: print w/ replies, xml ) Need Help??


in reply to CWD to directory which name contain spaces

If it is Microsoft, How about "One TW~1" ?
like "Progra~1" works on windows instead of "Program Files"?


Comment on Re: CWD to directory which name contain spaces
Re^2: CWD to directory which name contain spaces
by ism (Initiate) on Aug 27, 2012 at 13:33 UTC
    Thank you for your answer! Unfortunately it also doesn't work for me. I really don't understand what happening. When i try perform the same commands in cli like:

    ftp> cd "/Folder/Somefolder/ONE TWO Three/_Some_Path/ONE TWO Three Pat +h1"
    everything is ok. directory is changing. But execution the same commands through script doesn't work.

      Do you see something when you set Debug level higher?

      $ftp = Net::FTP->new("some.host.name", Debug => 0) or die "Cannot connect to some.host.name: $@";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989980]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-07-06 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls