| Author |
Create Files/ Upload Files
|
|
|
| Hi
Can anyone explain by example how to create a new file on server and
then upload some files to that newly created folder?
But before we create the file check that an existing file does not
already exist and then upload the files to the newly created
directory.
Thanks
Baka
| |
| billposer@alum.mit.edu 2007-06-27, 4:22 am |
| On Jun 26, 7:49 am, abhm <bak...@gmail.com> wrote:
> Hi
>
> Can anyone explain by example how to create a new file on server and
> then upload some files to that newly created folder?
>
> But before we create the file check that an existing file does not
> already exist and then upload the files to the newly created
> directory.
>
> Thanks
> Baka
To get started, look at the manual page for the file command. file
mkdir,
for example, creates a folder. file exists tests for the existence of
a file.
| |
| Glenn Jackman 2007-06-27, 4:22 am |
| At 2007-06-26 10:49AM, "abhm" wrote:
> Hi
>
> Can anyone explain by example how to create a new file on server and
> then upload some files to that newly created folder?
>
> But before we create the file check that an existing file does not
> already exist and then upload the files to the newly created
> directory.
Here's an example of how to send a file upload *to* a URL:
http://aspn.activestate.com/ASPN/Co...l/Recipe/109363
To write a CGI script that receives an uploaded file, see:
http://tcllib.sourceforge.net/doc/ncgi.html
--
Glenn Jackman
"You can only be young once. But you can always be immature." -- Dave Barry
| |
|
|
|
|
|
|