Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 perusing the Monastery: (4)
As of 2014-09-21 05:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (166 votes), past polls