Displaying 1 result from an estimated 1 matches for "tempphoto".
2006 May 13
0
trouble with Dir.chdir
...When I comment out the line start from "Dir.chdir",
the trouble doesn''t happen.
Is there anything wrong with my usage of "Dir.chdir"?
def ftp_photo
$basedir = "/home/yosuke/public_html/myalbum/albums/"
$tempdir = "/home/yosuke/public_html/testing/tempPhoto/"
targetdir = params[:targetdir]
@targetdir = params[:targetdir]
fhostname = ''hogefpt.co.jp''
fusername = ''hoge''
fuserpass = ''hogehoge''
fbasedir = ''/hogehoge/''
targetdirpath = $tempdir + targetdir...