Search Results

Search: Posts Made By: Khan28
1,447
Posted By Khan28
Thanks All. It worked. Created a new file in...
Thanks All. It worked. Created a new file in Linux directly and copying directory path in that.

touch pathfile.txt
vim pathfile.txt
/p02/apps/output/UAT/CMXSU/reports/
1,447
Posted By Khan28
Hi R.Singh, Thanks for your reply. I am...
Hi R.Singh,

Thanks for your reply. I am facing some problems:

I have tried to make the shell script as:

Directory path containing file:

vim pathfile.txt...
1,447
Posted By Khan28
Shell script to delete empty files from specific locations
Hi,
I need help in regard to developing a shell script to delete empty files from multiple specific locations. The directory paths will be stored in a text file. So the requirement is to read the...
4,675
Posted By Khan28
Appreciated. So we can handle it once the...
Appreciated.

So we can handle it once the transfer is over and check local location.

Thanks

Regards,
4,675
Posted By Khan28
Thanks JGT !! I can try that way also. Does...
Thanks JGT !! I can try that way also.

Does that mean SFTP doesn't support return codes for the file not found at remote location ?

Regards,
4,675
Posted By Khan28
Pls Help: SFTP Error Handling for transfers
I am working on a shell script where after making sftp connection to a remote server the file are being transferred. The problem is how to capture return code for the file which is missing at the...
4,475
Posted By Khan28
Thanks Don Cragun. Appreciated !! Regards,
Thanks Don Cragun. Appreciated !!

Regards,
4,475
Posted By Khan28
Thanks Rudic.
Thanks Rudic.
4,475
Posted By Khan28
Thanks Rudic for the elaboration. The link...
Thanks Rudic for the elaboration.

The link was not functional. Could you please paste it again?

Regards,
4,475
Posted By Khan28
Thanks Don !! I will check and update. ...
Thanks Don !! I will check and update.

---------- Post updated 04-12-16 at 04:03 AM ---------- Previous update was 04-11-16 at 10:26 PM ----------

Thanks it did worked.

Just out of...
4,475
Posted By Khan28
Pls HELP: Redirecting input to SFTP connection
Hi,

Can somebody please let me know if we can redirect variable value to the sftp connection. I am trying to run the attached snippet but facing an error.


dev@UAT.com> export USER1=ftp...
4,124
Posted By Khan28
Yes that does - but do I keep that as the bench...
Yes that does - but do I keep that as the bench mark to check if the file is corrupted or not ..
4,124
Posted By Khan28
Thanks for the reply. I did tried md5sum on...
Thanks for the reply.

I did tried md5sum on source and destination to check the file but it seems the values didnt match.
4,124
Posted By Khan28
After Ftp'ing file to destination how to check the file if it is in correct ASCII and not corrupted
Hi Folks,

While transferring file from FTP software like Filezilla the files gets corrupted.
Is there any way I can check if the recently transferred file is in ASCII and not corrupted. I have...
2,588
Posted By Khan28
Hi R Singh, Thanks for your prompt reply. The...
Hi R Singh,
Thanks for your prompt reply. The requirement is to read values from txt file and pass those to sqlplus session for each record coming from the txt file. The pseudo code will be like...
2,588
Posted By Khan28
Need Help: Shell script to call sql session with variables stored in .txt file
Hi,
I need help in writing a shell script which can read data from a text file (Cancel_ID.txt) and then calls sqlplus session (Cancel.sql) with the first line parameter of the text file...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 08:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy