Just a follow up I'm using the latest source code 23481. It's really strange because when I look at the text file before trying to copy it, it looks fine. And once it is copied to the server when I do "cat filename" I can see the "" at the beginning of the text. But when I open it in nano or VI the text looks fine.
Here's my sftp command:
sftp.UploadFile(File.OpenRead(My.Computer.FileSystem.SpecialDirectories.Temp & "\blastoff.call"), "/var/spool/asterisk/callfiles/blastoff.call")
scp command:
scp.Upload(New FileInfo(My.Computer.FileSystem.SpecialDirectories.Temp & "\blastoff.call"), "/var/spool/asterisk/callfiles/blastoff.call")
scp command which doesn't copy and has error "No such file or directory."
c.Upload(File.OpenRead(My.Computer.FileSystem.SpecialDirectories.Temp & "\blastoff.call"), "/var/spool/asterisk/callfiles/blastoff.call")
Here's my sftp command:
sftp.UploadFile(File.OpenRead(My.Computer.FileSystem.SpecialDirectories.Temp & "\blastoff.call"), "/var/spool/asterisk/callfiles/blastoff.call")
scp command:
scp.Upload(New FileInfo(My.Computer.FileSystem.SpecialDirectories.Temp & "\blastoff.call"), "/var/spool/asterisk/callfiles/blastoff.call")
scp command which doesn't copy and has error "No such file or directory."
c.Upload(File.OpenRead(My.Computer.FileSystem.SpecialDirectories.Temp & "\blastoff.call"), "/var/spool/asterisk/callfiles/blastoff.call")