Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
What I am trying to do is -- to move a file from Unix to NT. I guess I need to have script which will allow me to do that when ever I execute that program.
I am not a Unix person -- so I really don't know if its doable or not and how to do it!!I know in regular case, I can do FTP but in my case, a user runs a report on the Web (intranet) which writes a file in the back end (Unix). After the user runs it I need to make the file avialbale to the user (NT env). I need to do it by providing a button on the form or it can be automated i.e. it will get transfered when the file is writen in the Unix box.
Will appreciate any help.
Thanks.
Javed

Yes it is do-able.
You said users submit query, then you said the files gets generated in the unix box. Well- what you can do is - once the file gets created in the unix, you need to do a unix2dos conversion (unix2dos converts ISO standard characters to the correspond
ing characters in the DOS extended character set.) Then, you need to have a cron job or some sort of program/script running continuously to check the successful creation of your unix file and do a unix2dos & upon a successful conversion of your file, then you will tell your users that their report is ready by creating a link on their browser, and turn on their link. Once that is done then you can do your ftp process.hope that helps.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |