Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Create folders and subfolder in FTP  RSS feed

 
Rodricks george
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir,

I am creating a folder name Temp in that working directory

ftp.changeWorkingDirectory("UPLOAD");
ftp.makeDirectory("Temp");

how can i create a Folder inside a folder....

for eg Temp/test/images/tiff

like 3 subfolder at a time....

-Thanks with regs,

Rodricks
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
FTP can't create several folders at a time. You'll need to create them one by one.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!