Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: File transfer is not as expected through FTP

How did you made the modification?
The binary transfer transfers the file intact. If the script does not work after the binary transfer, the script must had bad format even before the transfer. Your editor likely modified the script format to one that your Unix server does not support. It might have changed line ending format or text encoding.
chimu.shival@gmail.com

File transfer is not as expected through FTP

I am facing a strange issue when transferring file through WinSCP FTP tool. I downloaded a shell script file from server and made some minor modification. Uploaded this file on same UNIX server through WinSCP Tool.

When I select Transfer settings as Binary, Shell script doesn't work properly and failed. Even generated log file didn't open.

When I select Transfer settings as TEXT it worked properly.

Also, when I set Transfer settings as ASCII in File transfer through FTP command in Terminal, even it didn't work.

Please suggest some way through which I can overcome this situation.