Re: which text edito should I use for C file



I thought about a possible solution like this,
if you don't mind I'd like to know how you upload back the output and
how I can write a such as script, I'm a freshman in Minix/Linux world
thank you again.

Ps
Which tool do you use to download the file from the FTP server

I created the script below to upload to FTP. "fingolfin" is the name of
the computer I am uploading to. You can put the script in
/usr/local/bin and make it executable using "chmod 755 <filename>". It
will upload all the filenames specified as parameters to the FTP server.


#!/bin/sh

FILENAME=/tmp/fput-`date +%Y%m%d%H%M%S.tmp`

rm -f $FILENAME
echo user anonymous >>$FILENAME
echo pass anonymous@xxxxxxxxxx>>$FILENAME
echo binary >>$FILENAME
while [ $# -gt 0 ]
do
echo put $1 >>$FILENAME
shift
done
echo quit >>$FILENAME

ftp fingolfin < $FILENAME || echo FTP PUT failed!

rm -f $FILENAME


You can call this script from your compilation script to upload
results. For downloading you can either make something similar
(replacing put with get) or use the urlget tool supplied with Minix.

--
With kind regards,
Erik van der Kouwe
.



Relevant Pages

  • Re: IIS & Frontpage permissions?
    ... you could use FTP to upload the image. ... "username" is username used to logon to this FTP ... Most important thing about this script is that it is stored in secured ...
    (microsoft.public.inetserver.iis.security)
  • Re: automated upload with PHP
    ... have your script one once per day and upload any images not already ... providing it can have an ftp serve running on it, ... tiffs and the php script, ...
    (comp.lang.php)
  • Re: automated upload with PHP
    ... have your script one once per day and upload any images not already ... providing it can have an ftp serve running on it, ... tiffs and the php script, ...
    (comp.lang.php)
  • Re: Inet1 connecting but cant upload - any help appreciated
    ... It looks like Send and Put are interchangeable with FTP. ... Have you tried just using the filename for the Destination? ... I can upload and download files using MS FrontPage without any trouble. ...
    (microsoft.public.vb.general.discussion)
  • Re: Automating an upload of data
    ... ftp folder, and upload the file to your local computer, and then run the ... The first script fires an ftp session, the second script does the upload. ...
    (microsoft.public.dotnet.framework.aspnet)

Loading