Moving file from Unix to NT
|
Original Message
|
Name: Javed
Date: January 10, 2001 at 09:02:58 Pacific
Subject: Moving file from Unix to NT
|
Comment: 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
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Fukare Yimtatu
Date: January 23, 2001 at 06:48:58 Pacific
Subject: Moving file from Unix to NT |
Reply: (edit)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.
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: