I need to auto-create a file folder on a file server (already set up) based on the user's first and last name.
How would I do this?
I have already read through the ftp tutorial and got it working - but I need to create the folder first and then upload files to it.
How would I do this?
Mike
SOLVED - how to create a folder on a server using ftp?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
SOLVED - how to create a folder on a server using ftp?
Last edited by admin12 on Thu Jul 28, 2011 8:33 pm, edited 1 time in total.
-
- Posts: 361
- Joined: Wed Apr 27, 2011 2:12 pm
Re: how to create a folder on a server using ftp?
It's me, but as my original username. Admin12 was assigned to me by runrev for the summer academy.
To add, I have the two fields set up - fldFirstName and fldLastName,
I know that the two together woulkd be:
put the text of field "fldLastName" &space & the text of field "fldFirstName" into FullName
However, how do I now create a FOLDER (the name of which will be FullName) on my file server using ftp?
Mike
To add, I have the two fields set up - fldFirstName and fldLastName,
I know that the two together woulkd be:
put the text of field "fldLastName" &space & the text of field "fldFirstName" into FullName
However, how do I now create a FOLDER (the name of which will be FullName) on my file server using ftp?
Mike
Re: how to create a folder on a server using ftp?
anyone?? I really need help with this to make the database work.
Thanks in advance.
Mike
Thanks in advance.
Mike
Re: how to create a folder on a server using ftp?
Assuming you are using libURL for the ftp commands you should be able toyou can append the port number to the hostname if you aren't using the default port of 21 for ftp. Obviously adjust the path in the tFtpCmd and the hostname and username and password!
Code: Select all
put "MKD /ftproot/folderpath/" & FullName into tFtpCmd
get libURLftpCommand(tFtpCmd,"yourFtpHost","username","password")
Re: how to create a folder on a server using ftp?
Thank you for your help.
This is now solved.
Mike
This is now solved.
Mike