I have a job that connects to FTP site, rename, get, delete a file and then process it. The renaming is done in consideration of this is one file name into which data is being accumulated many times within 24 hour cycle.
This is what happens now:
We got another accumulator file that needs to be brought over and processed together with the original one. We can bring it in in a similar fashion, then merge locally.
My question is there an alternative, to connect to the site, rename both and somehow merge them there and bring in as one file ready to be processed?
i do have a problem with the transaction of pdf-files from a server to another. there was a guy who told me about this command wich i should build in my ftp.put()-method in java. the command called: about quote site chmod 0 filename..
i think its something about filerights but does someone know... (1 Reply)
Hi everyone,
can someone please tell me what can be wrong here?
Script:
ftp -v -n $FTPSERVER<< EOP >$LOGFILE 2>&1
user $USERID $PASSWD
ascii
site lrecl=500
site cyl
site PRI=600
site SEC=300
lcd $FTPLOCALDIR
cd $FTPTARGETDIR
put $SOURCEFILE $TARGETFILE
quit
EOP
Output:... (11 Replies)
Hi,
I'm after a bit of advice for the best way to collect files from an ftp server via a unix process. The main issue here is the frequency, the job needs to check for files every minute or so between 8am and 8pm and pull them down to the box if there is anything there.
Originally the... (6 Replies)
Using FTP on Solaris 5.8, I am not able to use the SITE command. It says Invalid command. I am trying to change the permission of the transmitted files to -rw-rw-rw on the destination machine. Any help would be greatly appreciated. (2 Replies)
Hi,
I am writting a shell script which will pull a list files (mentioned in one file 1.txt) from external FTP site (for ex: ftp://abcd.efghijk.com/). The 1.txt is in my local unix directory. I have username and password to connect the external FTP site.
Also before I pull the files, I need... (0 Replies)
I'm new to scripting. I'm trying to write a script to download files from ftp site, the following is the script and the message i get after running the script. no files were downloaded :(
Thanks advance!
script:
#!/usr/bin/ksh
DAY=`date --date="-1 days" +%y%m%d`
ftp -v -n "ftp.address" <<... (5 Replies)
Hi all,
My problem is simple. I would like to download the contents of a directory on an ftp site. I can access the site through windows, but there are many files and it would be too tedious to click and download each file. Thus, I am trying to use
scp -r... (5 Replies)
Trying to do the following, and it looks like Expect is probably my best bet. Any help greatly appreciated
1) Log onto ftp site
2) Go to folder
3) GET all files matching basename*.txt
4) MOVE those files to a subfolder on the ftp site. I don't need to move it on MY computer, I want to move... (2 Replies)
Hello dear Users,
I am for the first time in this forum. I come from Germany. Please excuse my bad englisch. My OS is SCO open Server Release 5.
I have a problem whith FTP and the command "site exec"
if I use the command "ftp> site chmod 777 /tmp/startkpf.sc
200 CHMOD command successful. ... (8 Replies)